/* ============================================
   THE STATION SPORTS BAR & EATERY
   Custom Styles — Deep Navy + Warm Gold
   ============================================ */

/* --- Base --- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #050E1A;
}
::-webkit-scrollbar-thumb {
    background: #1B3A6D;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #C9A84C;
}

/* --- Selection --- */
::selection {
    background: rgba(201, 168, 76, 0.3);
    color: #fff;
}

/* --- Navbar transitions --- */
#navbar.scrolled {
    background: rgba(5, 14, 26, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(201, 168, 76, 0.1);
}

/* --- Mobile menu --- */
#mobile-menu.open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* --- Reveal animations (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal-item {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
}

.reveal-item {
    will-change: opacity, transform;
}

/* --- Hero floating cards animation --- */
@media (prefers-reduced-motion: no-preference) {
    .absolute.top-0.right-0 {
        animation: float-slow 6s ease-in-out infinite;
    }
    .absolute.top-32.left-0 {
        animation: float-slow 6s ease-in-out infinite 1s;
    }
    .absolute.bottom-0.right-8 {
        animation: float-slow 6s ease-in-out infinite 2s;
    }
}

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

/* --- Gold accent line on hover --- */
a:hover .gold-underline {
    width: 100%;
}

/* --- Button focus states --- */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #C9A84C;
    outline-offset: 2px;
}

/* --- Image aspect ratios --- */
img {
    max-width: 100%;
    height: auto;
}
