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

/* ─── Header ─── */
#site-header { z-index: 100; }
#site-header.scrolled {
    box-shadow: 0 1px 20px rgba(161, 30, 54, 0.08);
}

/* ─── Nav Links ─── */
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #a11e36;
    border-radius: 1px;
    transition: all 0.2s ease;
    transform: translateX(-50%);
}
.nav-link:hover::after { width: 60%; }

/* ─── Mobile Menu ─── */
#mobile-menu {
    animation: slideDown 0.25s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── Scroll Reveals ─── */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.animate-in {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal.animate-in {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── Form Styles ─── */
select option {
    color: #6f1c2f;
    background: #fff8f5;
}
input:focus, select:focus, textarea:focus {
    outline: none;
}

/* ─── Smooth Scroll Offset for Anchors ─── */
section[id] {
    scroll-margin-top: 80px;
}

/* ─── Custom Scrollbar ─── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #fff8f5; }
::-webkit-scrollbar-thumb { background: #fce7eb; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #fad0d9; }

/* ─── Selection ─── */
::selection { background: #fad0d9; color: #6f1c2f; }
