/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; overflow-x: hidden; }

/* ── Navbar ── */
#navbar.scrolled {
    background: rgba(168, 93, 68, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: rgba(255,255,255,0.7);
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* ── Mobile Menu ── */
#mobile-menu.open { opacity: 1 !important; pointer-events: auto !important; }
.mobile-link { transition: transform 0.3s ease, opacity 0.3s ease; }
.mobile-link:hover { transform: scale(1.05); }

/* ── Hero Orbs ── */
.hero-gradient-orb {
    animation: float 8s ease-in-out infinite;
}
.orb-2 { animation-delay: -3s; animation-duration: 10s; }
.orb-3 { animation-delay: -5s; animation-duration: 12s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

/* ── Visit Section Orbs ── */
.visit-orb {
    animation: pulse-orb 6s ease-in-out infinite;
}
.orb-2 { animation-delay: -3s; }

@keyframes pulse-orb {
    0%, 100% { opacity: 0.1; transform: scale(1); }
    50% { opacity: 0.18; transform: scale(1.1); }
}

/* ── Scroll Reveal ── */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 1;
    transform: none;
}

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

/* ── Button Focus ── */
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid #c4785a;
    outline-offset: 2px;
}

/* ── Selection ── */
::selection { background: rgba(196, 120, 90, 0.2); }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #fef8ef; }
::-webkit-scrollbar-thumb { background: #e47350; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #c4785a; }
