/* ── Base & Utilities ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

::selection { background: rgba(201, 168, 76, 0.3); color: #faf9f6; }

/* ── Navbar ── */
#navbar {
    background: transparent;
}
#navbar.scrolled {
    background: rgba(13, 31, 21, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ── Mobile Menu ── */
.menu-line { display: block; }
#mobile-menu.active { display: block; animation: slideDown 0.3s ease; }
#mobile-menu.hidden { display: none; }

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Floating Cards ── */
.floating-card {
    animation: float 6s ease-in-out infinite;
}
.card-coffee { animation-delay: 0s; }
.card-drinks { animation-delay: -2s; }
.card-community { animation-delay: -4s; }
.card-location { animation-delay: -1s; }

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

/* ── Menu Cards ── */
.menu-card {
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.5s ease, box-shadow 0.5s ease;
}
.menu-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(201, 168, 76, 0.1);
}

/* ── Scroll Reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── Gold shimmer on hover for links ── */
a { transition: color 0.3s ease; }

/* ── Image hover containers ── */
.rounded-2xl.overflow-hidden {
    will-change: transform;
}

/* ── Smooth transitions for all interactive ── */
button, a, .menu-card {
    -webkit-tap-highlight-color: transparent;
}

/* ── Custom scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0d1f15; }
::-webkit-scrollbar-thumb { background: #2d6148; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #3d7a5a; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .font-serif { line-height: 1.15; }
}
