/* ========== BASE ========== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; -webkit-font-smoothing: antialiased; }

/* ========== NAV ========== */
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #7B2D3B;
    border-radius: 1px;
    transition: width 0.3s;
}
.nav-link:hover::after { width: 100%; }

#nav.scrolled {
    background: rgba(254, 252, 246, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(123, 45, 59, 0.08);
}

/* ========== SCROLL ANIMATIONS ========== */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}
@media (prefers-reduced-motion: no-preference) {
    .reveal-up { transform: translateY(30px); opacity: 0; }
    .reveal-left { transform: translateX(-30px); opacity: 0; }
    .reveal-right { transform: translateX(30px); opacity: 0; }
    .reveal-up.visible, .reveal-left.visible, .reveal-right.visible {
        transform: none;
        opacity: 1;
    }
}

/* ========== SCROLL INDICATOR ========== */
@keyframes scrollDot {
    0% { top: -100%; }
    100% { top: 100%; }
}
.animate-scroll-dot {
    animation: scrollDot 1.5s infinite;
}

/* ========== MOBILE MENU ========== */
.mobile-link { border-radius: 8px; }
.mobile-link:hover { background: rgba(123, 45, 59, 0.05); }

/* ========== FORM ========== */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237B2D3B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* ========== HOVER LIFTS ========== */
@media (hover: hover) {
    .hover-lift:hover { transform: translateY(-4px); }
}

/* ========== CUSTOM SCROLLBAR ========== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #fefcf6; }
::-webkit-scrollbar-thumb { background: #f9c5cc; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #ec6b82; }

/* ========== SELECTION ========== */
::selection { background: #f9c5cc; color: #7B2D3B; }
