/* ============================================
   Meyer's On Top Tavern — Styles
   Bold Editorial | Forest Green + Off-White
   ============================================ */

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

:root {
    --green-900: #0d1f14;
    --green-800: #1a3c2a;
    --green-700: #244d36;
    --green-600: #2d6a4f;
    --green-500: #40916c;
    --green-400: #52b788;
    --green-100: #d8f3dc;
    --green-50:  #f0faf3;
    
    --cream-900: #1a1714;
    --cream-800: #2d2824;
    --cream-700: #4a423a;
    --cream-600: #6b5f54;
    --cream-500: #8c7d70;
    --cream-400: #b0a090;
    --cream-300: #d4c8bc;
    --cream-200: #e8dfd5;
    --cream-100: #f5f0e8;
    --cream-50:  #faf8f4;
    --cream-25:  #fdfcfa;
    
    --white: #ffffff;
    
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--cream-50);
    color: var(--cream-800);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: 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.15em;
    text-transform: uppercase;
    color: var(--green-600);
    margin-bottom: 16px;
}

.section-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 600;
    line-height: 1.1;
    color: var(--cream-900);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 14px 28px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--green-700);
    color: var(--cream-50);
}

.btn-primary:hover {
    background-color: var(--green-600);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 60, 42, 0.25);
}

.btn-outline {
    background-color: transparent;
    color: var(--cream-50);
    border: 1.5px solid rgba(250, 248, 244, 0.4);
}

.btn-outline:hover {
    background-color: rgba(250, 248, 244, 0.1);
    border-color: rgba(250, 248, 244, 0.7);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: all 0.4s var(--ease-out);
}

.navbar.scrolled {
    background-color: rgba(250, 248, 244, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(26, 60, 42, 0.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--cream-50);
    transition: color 0.3s ease;
}

.navbar.scrolled .nav-logo {
    color: var(--cream-900);
}

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--green-700);
    color: var(--cream-50) !important;
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
}

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

.nav-menu a {
    font-size: 0.875rem;
    font-weight: 400;
    color: rgba(250, 248, 244, 0.8);
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--green-400);
    transition: width 0.3s var(--ease-out);
}

.nav-menu a:hover {
    color: var(--cream-50);
}

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

.navbar.scrolled .nav-menu a {
    color: var(--cream-600);
}

.navbar.scrolled .nav-menu a:hover {
    color: var(--cream-900);
}

.nav-cta {
    font-weight: 500 !important;
    color: var(--cream-50) !important;
    background-color: var(--green-700);
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background-color: var(--green-600) !important;
    transform: translateY(-1px);
}

.navbar.scrolled .nav-cta {
    color: var(--cream-50) !important;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--cream-50);
    transition: color 0.3s ease;
}

.navbar.scrolled .nav-toggle {
    color: var(--cream-900);
}

/* Mobile Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(13, 31, 20, 0.6);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--green-900);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.pexels.com/photos/5553518/pexels-photo-5553518.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080');
    background-size: cover;
    background-position: center;
    filter: brightness(0.5);
}

.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(13, 31, 20, 0.85) 0%,
        rgba(26, 60, 42, 0.7) 50%,
        rgba(13, 31, 20, 0.6) 100%
    );
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px 80px;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-content {
    max-width: 560px;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--green-400);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.05;
    color: var(--cream-50);
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-headline .accent {
    color: var(--green-400);
    font-style: italic;
}

.hero-sub {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(250, 248, 244, 0.7);
    margin-bottom: 40px;
    max-width: 440px;
}

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

/* Floating Stat Cards */
.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat-card {
    background-color: rgba(250, 248, 244, 0.08);
    border: 1px solid rgba(250, 248, 244, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: all 0.4s var(--ease-out);
}

.stat-card:hover {
    background-color: rgba(250, 248, 244, 0.12);
    transform: translateX(-4px);
    border-color: rgba(250, 248, 244, 0.2);
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cream-50);
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(250, 248, 244, 0.5);
    letter-spacing: 0.05em;
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(250, 248, 244, 0.4);
}

.hero-scroll svg {
    animation: scrollBounce 2s ease-in-out infinite;
}

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

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

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

.about-image {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-content {
    max-width: 480px;
}

.about-content .section-headline {
    margin-bottom: 24px;
}

.about-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--cream-600);
    margin-bottom: 16px;
}

.about-features {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.9375rem;
    color: var(--cream-700);
}

.feature-item svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--green-600);
}

/* --- Menu --- */
.menu {
    padding: 120px 0;
    background-color: var(--green-800);
}

.menu .section-eyebrow {
    color: var(--green-400);
}

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

.menu .section-headline {
    color: var(--cream-50);
}

.menu-intro {
    font-size: 1.0625rem;
    color: rgba(250, 248, 244, 0.6);
    line-height: 1.7;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.menu-card {
    background-color: rgba(250, 248, 244, 0.06);
    border: 1px solid rgba(250, 248, 244, 0.1);
    border-radius: 16px;
    padding: 40px 36px;
    transition: all 0.4s var(--ease-out);
}

.menu-card:hover {
    background-color: rgba(250, 248, 244, 0.1);
    transform: translateY(-4px);
    border-color: rgba(250, 248, 244, 0.18);
}

.menu-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--green-700);
    border-radius: 12px;
    margin-bottom: 24px;
    color: var(--green-400);
}

.menu-card-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--cream-50);
    margin-bottom: 12px;
}

.menu-card-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(250, 248, 244, 0.6);
}

/* --- Atmosphere --- */
.atmosphere {
    padding: 120px 0;
    background-color: var(--cream-50);
}

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

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

.atmosphere-photo {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 7/5;
}

.atmosphere-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.atmosphere-photo:hover img {
    transform: scale(1.03);
}

.atmosphere-text {
    max-width: 440px;
}

.atmosphere-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--cream-600);
    margin-bottom: 16px;
}

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

.atm-photo-sm {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.atm-photo-sm img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.atm-photo-sm:hover img {
    transform: scale(1.03);
}

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

.visit-content {
    max-width: 800px;
    margin: 0 auto;
}

.visit-content .section-headline {
    margin-bottom: 48px;
}

.visit-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.visit-detail {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.visit-detail svg {
    color: var(--green-600);
    margin-bottom: 4px;
}

.visit-detail strong {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cream-500);
}

.visit-detail p,
.visit-detail a {
    font-size: 0.9375rem;
    color: var(--cream-700);
    line-height: 1.6;
}

.visit-detail a:hover {
    color: var(--green-700);
    text-decoration: underline;
}

.visit-map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(26, 60, 42, 0.1);
}

/* --- Contact --- */
.contact {
    padding: 120px 0;
    background-color: var(--cream-50);
}

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

.contact-info {
    max-width: 400px;
}

.contact-info .section-headline {
    margin-bottom: 16px;
}

.contact-info > p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--cream-600);
    margin-bottom: 32px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9375rem;
    color: var(--cream-700);
    transition: color 0.3s ease;
}

.contact-method:hover {
    color: var(--green-700);
}

.contact-method svg {
    color: var(--green-600);
}

/* Form */
.contact-form-wrap {
    background-color: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 32px rgba(26, 60, 42, 0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--cream-700);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--cream-200);
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--cream-800);
    background-color: var(--cream-50);
    transition: all 0.3s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--cream-400);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--green-500);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(64, 145, 108, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: none;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 16px;
    background-color: var(--green-50);
    border: 1px solid var(--green-100);
    border-radius: 10px;
    font-size: 0.875rem;
    color: var(--green-700);
    font-weight: 500;
}

.form-success svg {
    color: var(--green-600);
    flex-shrink: 0;
}

.form-success.show {
    display: flex;
}

/* --- Footer --- */
.footer {
    background-color: var(--green-900);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--cream-50);
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(250, 248, 244, 0.5);
    max-width: 280px;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links strong,
.footer-contact strong {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-400);
    margin-bottom: 4px;
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(250, 248, 244, 0.5);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--cream-50);
}

.footer-contact a {
    font-size: 0.9375rem;
    color: rgba(250, 248, 244, 0.5);
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--cream-50);
}

.footer-contact p {
    font-size: 0.9375rem;
    color: rgba(250, 248, 244, 0.5);
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(250, 248, 244, 0.08);
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(250, 248, 244, 0.3);
}

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    }
    
    .reveal.revealed {
        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; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .stat-card {
        flex: 1;
        min-width: 140px;
    }
    
    .about-grid,
    .atmosphere-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-content,
    .atmosphere-text,
    .contact-info {
        max-width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--green-900);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        transition: right 0.4s var(--ease-out);
        z-index: 999;
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-menu a {
        font-size: 1.125rem;
        color: rgba(250, 248, 244, 0.8) !important;
    }
    
    .nav-menu a:hover {
        color: var(--cream-50) !important;
    }
    
    .nav-toggle {
        display: block;
        z-index: 1001;
    }
    
    .mobile-overlay {
        display: block;
    }
    
    .hero-container {
        padding: 100px 24px 100px;
    }
    
    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-stats {
        flex-direction: column;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .visit-details {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .atmosphere-photos {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .contact-form-wrap {
        padding: 28px;
    }
    
    .hero-scroll {
        bottom: 24px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .stat-card {
        min-width: 100%;
    }
}
