/* ===== Custom Styles for Baby Steps Lactation Support ===== */

/* Smooth scroll offset for fixed nav */
html {
    scroll-padding-top: 80px;
}

/* Section labels */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #E87461;
}
.section-label::before {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background: #E87461;
}

/* Section titles */
.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 600;
    line-height: 1.15;
    color: #2C3034;
}

/* Section subtitles */
.section-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #6B7280;
    font-weight: 300;
}

/* ===== Floating animations ===== */
@keyframes float-slow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}
@keyframes float-medium {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}
@keyframes float-fast {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}
.animate-float-slow {
    animation: float-slow 6s ease-in-out infinite;
}
.animate-float-medium {
    animation: float-medium 4.5s ease-in-out infinite;
}
.animate-float-fast {
    animation: float-fast 3.5s ease-in-out infinite;
}

/* ===== Service Cards ===== */
.service-card {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.service-card.revealed {
    opacity: 1;
    transform: translateY(0);
}
.service-card:not(.revealed) {
    opacity: 0;
    transform: translateY(24px);
}

/* ===== Approach Steps ===== */
.approach-step {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.approach-step.revealed {
    opacity: 1;
    transform: translateY(0);
}
.approach-step:not(.revealed) {
    opacity: 0;
    transform: translateY(24px);
}

/* ===== Testimonial Cards ===== */
.testimonial-card {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.testimonial-card.revealed {
    opacity: 1;
    transform: translateY(0);
}
.testimonial-card:not(.revealed) {
    opacity: 0;
    transform: translateY(24px);
}

/* ===== Scroll Reveal (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal-on-scroll {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal-on-scroll.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Mobile Menu ===== */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    background: rgba(249, 246, 243, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.mobile-menu.open {
    display: flex;
}
.mobile-menu .mobile-link {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: #2C3034;
    text-decoration: none;
    transition: color 0.3s ease;
}
.mobile-menu .mobile-link:hover {
    color: #E87461;
}

/* ===== Form focus styles ===== */
input:focus,
select:focus,
textarea:focus {
    border-color: #E87461 !important;
    box-shadow: 0 0 0 3px rgba(232, 116, 97, 0.15);
    outline: none;
}

/* ===== Button hover effects ===== */
a[href="#contact"],
button[type="submit"] {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* ===== Selection color ===== */
::selection {
    background: rgba(232, 116, 97, 0.2);
    color: #2C3034;
}

/* ===== Subtle image hover ===== */
.rounded-2xl.overflow-hidden {
    transition: transform 0.5s ease;
}
.rounded-2xl.overflow-hidden:hover {
    transform: scale(1.01);
}

/* ===== Mobile responsive adjustments ===== */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    .section-subtitle {
        font-size: 1rem;
    }
}
