/* ============================================
   Select Wellness — Custom Styles
   ============================================ */

/* Base & Typography */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf5eb;
}
::-webkit-scrollbar-thumb {
    background: #d8b468;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c99a4a;
}

/* ============================================
   Navbar
   ============================================ */
#navbar {
    transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

#navbar.scrolled {
    background-color: rgba(253, 251, 247, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(7, 61, 108, 0.08);
}

.nav-logo-text {
    transition: color 0.3s ease;
}

#navbar:not(.scrolled) .nav-logo-text {
    color: #fdfbf7;
}

#navbar.scrolled .nav-logo-text {
    color: #073d6c;
}

#navbar:not(.scrolled) .nav-link {
    color: rgba(253, 251, 247, 0.85);
}

#navbar:not(.scrolled) .nav-link:hover {
    color: #f8c9ba;
}

/* ============================================
   Service Cards
   ============================================ */
.service-card {
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* ============================================
   FAQ
   ============================================ */
.faq-btn {
    cursor: pointer;
}

.faq-icon {
    flex-shrink: 0;
}

.faq-btn[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

/* ============================================
   Mobile Menu
   ============================================ */
.mobile-nav-link {
    display: block;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* ============================================
   Scroll Reveal Animations (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 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; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

/* When JS is disabled, all content is visible by default */
.no-js .reveal {
    opacity: 1;
    transform: none;
}

/* ============================================
   Mobile Responsive
   ============================================ */
@media (max-width: 767px) {
    #hero h1 {
        font-size: 2.25rem;
    }
    
    #hero h1 span {
        display: block;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    #about .aspect-\[4\/3\] {
        margin-bottom: 2rem;
    }
    
    .floating-card-mobile {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 1rem;
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    #navbar, #contact, .reveal {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
