/* ============================================
   GLENDA'S PUB — Editorial Style Stylesheet
   Palette: Emerald Green (#064e3b / #065f46) + Cream (#faf6f0)
   Fonts: Playfair Display + Inter
   ============================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --emerald-deep: #064e3b;
    --emerald: #065f46;
    --emerald-light: #059669;
    --emerald-muted: #a7f3d0;
    --cream: #faf6f0;
    --cream-dark: #f0e8d8;
    --cream-light: #fffdf8;
    --text-dark: #1a1a1a;
    --text-mid: #3d3d3d;
    --text-light: #6b6b6b;
    --gold: #d4a853;
    --gold-light: #f5e6c4;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --shadow-sm: 0 2px 8px rgba(6, 78, 59, 0.06);
    --shadow-md: 0 8px 30px rgba(6, 78, 59, 0.10);
    --shadow-lg: 0 20px 60px rgba(6, 78, 59, 0.14);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--cream);
    color: var(--text-dark);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    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;
}

/* SKIP LINK */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--emerald-deep);
    color: var(--cream);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-weight: 500;
}
.skip-link:focus {
    top: 16px;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 246, 240, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(6, 95, 70, 0.08);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(250, 246, 240, 0.95);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--emerald-deep);
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--emerald-deep);
    color: var(--cream);
    border-radius: 10px;
    font-size: 1.3rem;
    font-weight: 900;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav a {
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-mid);
    transition: var(--transition);
}

.nav a:hover {
    color: var(--emerald);
    background: rgba(6, 95, 70, 0.07);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    position: relative;
}

.hamburger {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 22px;
    height: 2px;
    background: var(--emerald-deep);
    border-radius: 2px;
    transition: var(--transition);
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--emerald-deep);
    border-radius: 2px;
    transition: var(--transition);
}
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}
.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--emerald-deep);
}

.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(
        135deg,
        rgba(6, 78, 59, 0.88) 0%,
        rgba(6, 95, 70, 0.75) 50%,
        rgba(5, 150, 105, 0.60) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 24px 80px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-card {
    max-width: 720px;
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-muted);
    margin-bottom: 20px;
}

.hero-headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    color: var(--cream);
    margin-bottom: 24px;
}

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

.hero-subhead {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    line-height: 1.6;
    color: rgba(250, 246, 240, 0.80);
    max-width: 520px;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 32px;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--cream);
    color: var(--emerald-deep);
    border-color: var(--cream);
}
.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-ghost {
    background: transparent;
    color: var(--cream);
    border-color: rgba(250, 246, 240, 0.40);
}
.btn-ghost:hover {
    border-color: var(--cream);
    background: rgba(250, 246, 240, 0.10);
    transform: translateY(-2px);
}

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

/* FLOATING STAT CARDS */
.hero-stats {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    padding: 0 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    position: absolute;
    background: var(--cream);
    padding: 18px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    pointer-events: auto;
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--emerald-deep);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-top: 4px;
}

.stat-card--1 {
    bottom: 12%;
    left: 4%;
}
.stat-card--2 {
    top: 28%;
    right: 6%;
}
.stat-card--3 {
    bottom: 22%;
    right: 14%;
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section-eyebrow {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-light);
    margin-bottom: 14px;
}

.section-headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--emerald-deep);
    margin-bottom: 24px;
}

.section-headline em {
    font-style: italic;
    color: var(--emerald-light);
}

section {
    padding: 110px 0;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    background: var(--cream-light);
}

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

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 160px;
    height: 160px;
    background: var(--emerald-deep);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.15;
}

.about-content p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-mid);
    margin-bottom: 18px;
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.feature-icon {
    width: 22px;
    height: 22px;
    color: var(--emerald-light);
    flex-shrink: 0;
}

.feature-item span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* ============================================
   MENU
   ============================================ */
.menu {
    background: var(--cream);
}

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

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 56px;
}

.menu-card {
    background: var(--cream-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.menu-card-image {
    height: 240px;
    overflow: hidden;
}

.menu-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-card:hover .menu-card-image img {
    transform: scale(1.06);
}

.menu-card-body {
    padding: 28px 30px 32px;
}

.menu-card-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--emerald-deep);
    margin-bottom: 10px;
}

.menu-card-desc {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-light);
}

.menu-cta {
    text-align: center;
}

/* ============================================
   EVENTS
   ============================================ */
.events {
    background: var(--emerald-deep);
    color: var(--cream);
}

.events .section-eyebrow {
    color: var(--emerald-muted);
}

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

.events .section-headline em {
    color: var(--gold);
}

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

.events-image img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.event-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.event-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px 24px;
    background: rgba(250, 246, 240, 0.06);
    border-radius: var(--radius-md);
    border: 1px solid rgba(250, 246, 240, 0.08);
    transition: var(--transition);
}

.event-item:hover {
    background: rgba(250, 246, 240, 0.10);
    transform: translateX(6px);
}

.event-day {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    min-width: 80px;
    padding-top: 2px;
}

.event-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 4px;
}

.event-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(250, 246, 240, 0.65);
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
    background: var(--cream-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 240px);
    gap: 16px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.gallery-item--large {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ============================================
   VISIT
   ============================================ */
.visit {
    background: var(--cream);
}

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

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin: 40px 0 48px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: var(--emerald-light);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item strong {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.65;
}

.contact-item a:hover {
    color: var(--emerald);
    text-decoration: underline;
}

/* CONTACT FORM */
.contact-form-wrapper {
    background: var(--cream-light);
    border: 1px solid rgba(6, 95, 70, 0.10);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.form-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--emerald-deep);
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-light);
}

.form-group input,
.form-group textarea {
    padding: 13px 16px;
    border: 1.5px solid rgba(6, 95, 70, 0.18);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background: var(--cream);
    transition: var(--transition);
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--emerald-light);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12);
}

.form-success {
    display: none;
    margin-top: 16px;
    padding: 14px 18px;
    background: rgba(5, 150, 105, 0.10);
    border: 1px solid rgba(5, 150, 105, 0.25);
    border-radius: var(--radius-sm);
    color: var(--emerald-deep);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-success.visible {
    display: block;
}

.visit-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 520px;
    box-shadow: var(--shadow-md);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--emerald-deep);
    color: var(--cream);
    padding: 64px 0 32px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(250, 246, 240, 0.12);
}

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

.footer-brand .logo-mark {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
}

.footer-brand .logo-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--cream);
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(250, 246, 240, 0.55);
    line-height: 1.65;
    max-width: 280px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(250, 246, 240, 0.70);
    transition: var(--transition);
}

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

.footer-bottom {
    padding-top: 28px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(250, 246, 240, 0.35);
}

/* ============================================
   MOBILE NAV OVERLAY
   ============================================ */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(6, 78, 59, 0.5);
    backdrop-filter: blur(4px);
}

.nav-overlay.active {
    display: block;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-stats {
        display: none;
    }

    .about-grid,
    .events-layout,
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image img,
    .events-image img {
        height: 360px;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--cream);
        padding: 100px 32px 40px;
        box-shadow: var(--shadow-lg);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 95;
    }

    .nav.open {
        right: 0;
    }

    .nav ul {
        flex-direction: column;
        gap: 4px;
    }

    .nav a {
        display: block;
        padding: 14px 18px;
        font-size: 1.05rem;
        border-radius: var(--radius-sm);
    }

    .nav-toggle {
        display: block;
    }

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

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

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 200px);
    }

    .gallery-item--large {
        grid-column: 1 / -1;
        grid-row: 1 / 2;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-top {
        flex-direction: column;
        gap: 32px;
    }

    .visit-map {
        height: 320px;
    }

    section {
        padding: 80px 0;
    }
}

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

    .hero-cta {
        flex-direction: column;
    }

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

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .gallery-item--large {
        grid-column: 1;
    }

    .gallery-item img {
        height: 220px;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .menu-card:hover,
    .event-item:hover,
    .gallery-item:hover {
        /* handled by individual hover states */
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}
