/* ============================================
   EAGLE BAR AND STEAKHOUSE — CUSTOM STYLES
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

::selection {
    background: rgba(200, 150, 12, 0.3);
    color: #f0f4fa;
}

/* --- Gold Button --- */
.btn-gold {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #d4a017 0%, #C8960C 50%, #b8860b 100%);
    color: #0a1628;
    padding: 0.75rem 1.75rem;
    border-radius: 2px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(200, 150, 12, 0.25);
    border: none;
    cursor: pointer;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #e0b020 0%, #d4a017 50%, #C8960C 100%);
    box-shadow: 0 6px 25px rgba(200, 150, 12, 0.4);
    transform: translateY(-2px);
    color: #0a1628;
}

.btn-gold:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(200, 150, 12, 0.3);
}

/* --- Outline Button --- */
.btn-outline {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #f0f4fa;
    padding: 0.75rem 1.75rem;
    border: 1.5px solid rgba(200, 150, 12, 0.5);
    border-radius: 2px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.btn-outline:hover {
    border-color: #C8960C;
    background: rgba(200, 150, 12, 0.08);
    color: #F2C94C;
}

/* --- Navigation --- */
.nav {
    background: rgba(6, 14, 26, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(30, 58, 95, 0.4);
}

.nav.scrolled {
    background: rgba(6, 14, 26, 0.96);
    border-bottom-color: rgba(200, 150, 12, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #C8960C;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* --- Mobile Menu --- */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobileMenu.open {
    max-height: 500px;
}

.mobile-nav-link {
    display: block;
}

/* --- Menu Cards --- */
.menu-card {
    background: rgba(18, 38, 62, 0.5);
    border: 1px solid rgba(30, 58, 95, 0.5);
    border-radius: 2px;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-card:hover {
    border-color: rgba(200, 150, 12, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(200, 150, 12, 0.1);
}

/* --- Reveal Animations (progressive enhancement) --- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hidden by default — JS adds .revealed when in viewport */
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion: never animate */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal.revealed {
        opacity: 1;
        transform: none;
        transition: none;
    }

    html {
        scroll-behavior: auto;
    }

    .menu-card:hover {
        transform: none;
    }

    .btn-gold:hover,
    .btn-outline:hover {
        transform: none;
    }
}

/* --- Focus Styles --- */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #C8960C;
    outline-offset: 3px;
    border-radius: 2px;
}

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

/* --- Mobile adjustments --- */
@media (max-width: 639px) {
    .font-display {
        line-height: 1.15;
    }

    #hero {
        min-height: auto;
        padding-top: 6rem;
        padding-bottom: 4rem;
    }

    #hero .order-1 {
        order: 2 !important;
    }

    #hero .order-2 {
        order: 1 !important;
    }
}

/* --- Tablet and up --- */
@media (min-width: 640px) and (max-width: 1023px) {
    #hero {
        min-height: 100vh;
    }
}

/* --- Large screens --- */
@media (min-width: 1280px) {
    .max-w-7xl {
        max-width: 80rem;
    }
}
