/* ============================================
   BRUMLEY TAVERN — CSS
   Palette: Deep Navy (#0F1C3F) + Warm Gold (#C9A84C)
   Fonts: Playfair Display (serif headlines) + Inter (sans body)
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #0F1C3F;
    --navy-light: #1A2D5A;
    --navy-deep: #080F21;
    --gold: #C9A84C;
    --gold-light: #D4B96A;
    --gold-dark: #A8893A;
    --cream: #F5F0E8;
    --cream-dark: #E8E0D0;
    --white: #FFFFFF;
    --text-light: #F5F0E8;
    --text-dark: #1A1A1A;
    --text-muted: #8A8A8A;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.section-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--navy);
    margin-bottom: 24px;
}

.section-headline em {
    font-style: italic;
}

.gold {
    color: var(--gold);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1rem;
}

/* --- NAV --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 28, 63, 0.0);
    transition: background var(--transition), box-shadow var(--transition);
    padding: 0;
}

.nav.scrolled {
    background: rgba(15, 28, 63, 0.97);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo-mark {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--gold);
    border: 2px solid var(--gold);
    border-radius: 6px;
    padding: 4px 8px;
    letter-spacing: 0.05em;
}

.nav-logo-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition);
    letter-spacing: 0.02em;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-cta {
    background: var(--gold) !important;
    color: var(--navy) !important;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600 !important;
    transition: var(--transition) !important;
}

.nav-cta:hover {
    background: var(--gold-light) !important;
    color: var(--navy) !important;
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle-bar {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Nav overlay (mobile) */
.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--navy-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

.nav-overlay-inner {
    text-align: center;
}

.nav-overlay-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--white);
    padding: 8px;
}

.nav-overlay-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.nav-overlay-link {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    transition: color var(--transition);
}

.nav-overlay-link:hover {
    color: var(--gold);
}

.nav-overlay-cta {
    color: var(--gold) !important;
    font-family: var(--font-sans) !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    margin-top: 16px;
    display: inline-block;
}

/* --- HERO --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(8, 15, 33, 0.75) 0%,
        rgba(15, 28, 63, 0.85) 50%,
        rgba(8, 15, 33, 0.92) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 24px;
    text-align: center;
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 900;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 24px;
}

.hero-headline em {
    font-style: italic;
    color: var(--gold);
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(255, 255, 255, 0.5);
    animation: scrollBounce 2s ease-in-out infinite;
}

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

/* --- ABOUT --- */
.about {
    padding: 120px 0;
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(15, 28, 63, 0.15);
}

.about-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #3A3A3A;
    margin-bottom: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--cream-dark);
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* --- DIVIDER --- */
.divider {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0 24px;
    max-width: 400px;
    margin: 0 auto;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: var(--gold);
    opacity: 0.4;
}

.divider-icon {
    color: var(--gold);
    flex-shrink: 0;
}

/* --- DRINKS --- */
.drinks {
    padding: 120px 0;
    background: var(--white);
}

.drinks-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.drinks-intro {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.drinks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.drink-card {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 40px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.drink-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(15, 28, 63, 0.1);
}

.drink-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--navy);
    color: var(--gold);
    margin-bottom: 24px;
}

.drink-card-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.drink-card-desc {
    font-size: 0.95rem;
    color: #5A5A5A;
    line-height: 1.7;
}

/* --- ATMOSPHERE --- */
.atmosphere {
    position: relative;
    padding: 140px 0;
    overflow: hidden;
}

.atmosphere-bg {
    position: absolute;
    inset: 0;
}

.atmosphere-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.atmosphere-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(8, 15, 33, 0.9) 0%, rgba(15, 28, 63, 0.8) 100%);
}

.atmosphere .container {
    position: relative;
    z-index: 1;
}

.atmosphere-content {
    max-width: 680px;
}

.atmosphere-content .section-headline {
    color: var(--white);
}

.atmosphere-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 48px;
}

.atmosphere-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.atm-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
}

.atm-feature svg {
    color: var(--gold);
    flex-shrink: 0;
}

/* --- VISIT --- */
.visit {
    padding: 120px 0;
    background: var(--cream);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.visit-info .section-headline {
    margin-bottom: 32px;
}

.visit-address {
    font-style: normal;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--navy);
    margin-bottom: 24px;
}

.visit-phone {
    margin-bottom: 32px;
}

.visit-phone a {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-dark);
    transition: color var(--transition);
}

.visit-phone a:hover {
    color: var(--gold);
}

.visit-hours {
    margin-bottom: 40px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--gold);
}

.visit-hours h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.visit-hours p {
    font-size: 0.95rem;
    color: #5A5A5A;
    line-height: 1.6;
}

.visit-map {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(15, 28, 63, 0.12);
    min-height: 400px;
}

/* --- FOOTER --- */
.footer {
    background: var(--navy-deep);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 64px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo-mark {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 900;
    color: var(--gold);
    border: 2px solid var(--gold);
    border-radius: 6px;
    padding: 4px 8px;
    display: inline-block;
    margin-bottom: 12px;
}

.footer-logo-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    display: block;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.footer-nav h4,
.footer-contact h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

.footer-nav a:hover {
    color: var(--gold);
}

.footer-contact p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 8px;
}

.footer-contact a {
    color: var(--gold);
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

/* --- SCROLL REVEAL (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .about-grid {
        gap: 48px;
    }

    .visit-grid {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-headline {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-wrap {
        max-height: 400px;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .drinks-grid {
        grid-template-columns: 1fr;
    }

    .atmosphere-features {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .visit-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .visit-map {
        min-height: 300px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-brand {
        max-width: 100%;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .about, .drinks, .visit {
        padding: 80px 0;
    }

    .atmosphere {
        padding: 100px 0;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .drink-card {
        padding: 28px;
    }

    .hero-scroll {
        bottom: 24px;
    }
}
