/* ============================================
   Grand Central Salon — Custom Styles
   Classic & Elegant | Terracotta + Sand
   ============================================ */

/* --- Base & Typography --- */
html {
    scroll-behavior: smooth;
}

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

::selection {
    background-color: #B85C38;
    color: #fdfcfa;
}

/* --- Hero Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-anim {
    opacity: 1;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-anim:nth-child(1) { animation-delay: 0.1s; }
.hero-anim:nth-child(2) { animation-delay: 0.3s; }
.hero-anim:nth-child(3) { animation-delay: 0.5s; }
.hero-anim:nth-child(4) { animation-delay: 0.7s; }
.hero-anim:nth-child(5) { animation-delay: 0.9s; }

/* --- Section Animations (Below Fold Only) --- */
@media (prefers-reduced-motion: no-preference) {
    .section-anim {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
}

/* --- Navbar Scroll State --- */
.nav-scrolled #navbar {
    background-color: rgba(253, 252, 250, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.nav-scrolled .nav-text-color {
    color: #5a2d20;
}

.nav-scrolled .nav-subtext {
    color: #B85C38;
}

.nav-scrolled .nav-link-color {
    color: #57534e;
}

.nav-scrolled #mobile-menu-btn .menu-line {
    background-color: #57534e;
}

/* --- Service Cards --- */
.service-card {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .service-card {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Mobile Menu --- */
#mobile-menu {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-link {
    opacity: 1;
}

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

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

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

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

/* --- Focus Styles --- */
input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

/* --- Smooth Image Loading --- */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* --- Print Styles --- */
@media print {
    #navbar,
    #mobile-menu-btn {
        display: none;
    }
    
    body {
        color: #1c1917;
        background: white;
    }
    
    .section-anim {
        opacity: 1 !important;
        transform: none !important;
    }
}
