/* Custom styles for First Step Nutrition */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

.nav-scrolled .font-serif,
.nav-scrolled .text-plum-900 {
    color: #1c1917 !important;
}

.nav-scrolled .text-plum-700 {
    color: #78716c !important;
}

.nav-scrolled .nav-link {
    color: #1c1917 !important;
}

.nav-scrolled .menu-line {
    background: #1c1917 !important;
}

/* Reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
}

/* Mobile menu */
.mobile-nav-link {
    transition: opacity 0.3s ease;
}

.mobile-nav-link:hover {
    opacity: 0.7;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #fafaf9;
}

::-webkit-scrollbar-thumb {
    background: #d6d3d1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a29e;
}

/* Selection color */
::selection {
    background: #fbbf24;
    color: #1c1917;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Print styles */
@media print {
    header, footer, .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    
    #hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    #hero img {
        display: none;
    }
    
    #hero .absolute {
        display: none;
    }
}
