/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ── Navbar ── */
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #F5B041;
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

#navbar.scrolled {
    background: rgba(250, 245, 240, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(91, 44, 111, 0.08);
}

/* ── Mobile Menu ── */
#mobile-menu.open { opacity: 1; pointer-events: all; }
#mobile-menu.closed { opacity: 0; pointer-events: none; }
.mobile-link { transition: color 0.2s; }
.mobile-link:hover { color: #F5B041; }

/* ── Stat Cards ── */
.stat-card {
    animation: float 4s ease-in-out infinite;
}
.stat-card:nth-child(2) { animation-delay: -1.3s; }
.stat-card:nth-child(3) { animation-delay: -2.6s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* ── Scroll Reveal ── */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.reveal:not(.revealed) {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Menu hover ── */
#menu .border-b { transition: border-color 0.3s ease; }
#menu .border-b:hover { border-color: rgba(91, 44, 111, 0.3); }
#menu div:hover .font-serif { color: #5B2C6F; transition: color 0.2s; }

/* ── Custom scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #FAF5F0; }
::-webkit-scrollbar-thumb { background: #d9bfd9; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #be92b8; }
