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

:root {
    --emerald: #064e3b;
    --emerald-deep: #032f23;
    --emerald-light: #065f46;
    --cream: #faf6f0;
    --cream-dark: #f0e8d8;
    --gold: #c8956c;
    --gold-light: #d4a574;
    --text-dark: #1a1a1a;
    --text-mid: #4a4a4a;
    --text-light: #7a7a7a;
    --white: #ffffff;
    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'Inter', -apple-system, sans-serif;
    --radius: 8px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--sans);
    background-color: var(--cream);
    color: var(--text-dark);
    line-height: 1.7;
    -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;
}

/* ── Typography ── */
.serif { font-family: var(--serif); }

.text-cream { color: var(--cream); }
.text-accent-italic {
    font-family: var(--serif);
    font-style: italic;
    color: var(--gold);
}

.section-label {
    display: inline-block;
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

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

.section-intro {
    font-size: 1.1rem;
    color: var(--text-mid);
    max-width: 560px;
    line-height: 1.8;
    margin-bottom: 48px;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 14px 32px;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--emerald);
    color: var(--cream);
}

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

.btn-ghost {
    background: transparent;
    color: var(--cream);
    border: 1.5px solid rgba(250,246,240,0.4);
}

.btn-ghost:hover {
    border-color: var(--cream);
    background: rgba(250,246,240,0.1);
}

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

/* ── Header ── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(6, 78, 59, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-mark {
    font-family: var(--serif);
    font-weight: 900;
    font-size: 1.25rem;
    color: var(--cream);
    letter-spacing: 0.05em;
}

.logo-wordmark {
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(250,246,240,0.7);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.main-nav a {
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(250,246,240,0.8);
    letter-spacing: 0.04em;
    transition: var(--transition);
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold);
    transition: var(--transition);
}

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

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

.btn-nav {
    border: 1.5px solid rgba(250,246,240,0.3) !important;
    padding: 8px 20px !important;
    border-radius: var(--radius);
    transition: var(--transition);
}

.btn-nav::after { display: none; }

.btn-nav:hover {
    background: rgba(250,246,240,0.1) !important;
    border-color: rgba(250,246,240,0.6) !important;
}

/* ── Nav Toggle ── */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--cream);
    position: relative;
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--cream);
    transition: var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(3, 47, 35, 0.97);
    backdrop-filter: blur(16px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.nav-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.nav-overlay.active ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-overlay.active a {
    font-family: var(--serif);
    font-size: 2rem;
    color: var(--cream);
    font-weight: 400;
}

/* ── Hero ── */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--emerald);
    overflow: hidden;
    position: relative;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse at 20% 80%, rgba(200,149,108,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(200,149,108,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 24px 80px;
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

.hero-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 40px;
}

.label-line {
    width: 40px;
    height: 1.5px;
    background: var(--gold);
    flex-shrink: 0;
}

.hero-headline {
    font-family: var(--serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.08;
    color: var(--cream);
    margin-bottom: 32px;
}

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

.hero-sub {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(250,246,240,0.7);
    max-width: 480px;
    margin-bottom: 48px;
}

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

.hero-image {
    position: relative;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--emerald) 0%, transparent 30%);
    pointer-events: none;
}

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

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

.about-image-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

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

.about-content .section-heading {
    margin-bottom: 32px;
}

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

/* ── Beers ── */
.beers {
    padding: 120px 0;
    background: var(--cream-dark);
}

.beers .container:first-child {
    text-align: center;
}

.beers .section-heading {
    margin-bottom: 16px;
}

.beer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

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

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

.beer-card-image {
    overflow: hidden;
    aspect-ratio: 1;
}

.beer-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

.beer-card-body {
    padding: 28px 24px;
}

.beer-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.beer-style {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(200,149,108,0.12);
    padding: 4px 10px;
    border-radius: 20px;
}

.beer-abv {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
}

.beer-name {
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--emerald);
    margin-bottom: 10px;
}

.beer-desc {
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.7;
}

.taplist-note {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-light);
    font-style: italic;
    font-family: var(--serif);
}

/* ── Bakery ── */
.bakery {
    padding: 120px 0;
    background: var(--cream);
}

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

.bakery-text .section-heading {
    margin-bottom: 24px;
}

.bakery-text p {
    font-size: 1.05rem;
    color: var(--text-mid);
    line-height: 1.85;
    margin-bottom: 20px;
}

.bakery-list {
    list-style: none;
    margin: 32px 0 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bakery-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 1rem;
    color: var(--text-mid);
    line-height: 1.6;
}

.bakery-list-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    color: var(--gold);
    margin-top: 3px;
}

.bakery-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    position: sticky;
    top: 100px;
}

.bakery-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.bakery-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bakery-img-secondary {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-top: -40px;
    margin-left: 40px;
}

.bakery-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

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

.visit .section-label {
    color: var(--gold);
}

.visit .section-heading {
    color: var(--cream);
    text-align: center;
    margin-bottom: 64px;
}

.visit-header {
    text-align: center;
    margin-bottom: 64px;
}

.visit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.visit-card {
    background: rgba(250,246,240,0.07);
    border: 1px solid rgba(250,246,240,0.12);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    text-align: center;
    transition: var(--transition);
}

.visit-card:hover {
    background: rgba(250,246,240,0.12);
    transform: translateY(-4px);
}

.visit-card-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    color: var(--gold);
}

.visit-card-icon svg {
    width: 100%;
    height: 100%;
}

.visit-card h3 {
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--cream);
}

.visit-card p {
    font-size: 0.9rem;
    color: rgba(250,246,240,0.7);
    line-height: 1.7;
}

.visit-card a {
    color: var(--gold-light);
    transition: var(--transition);
}

.visit-card a:hover {
    color: var(--cream);
}

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

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

.contact-text .section-heading {
    margin-bottom: 24px;
}

.contact-text p {
    font-size: 1.05rem;
    color: var(--text-mid);
    line-height: 1.85;
}

.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--sans);
    font-size: 0.95rem;
    padding: 12px 16px;
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius);
    background: var(--cream);
    color: var(--text-dark);
    transition: var(--transition);
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--emerald);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(6,78,59,0.1);
}

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

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a7a7a' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(6,78,59,0.08);
    border-radius: var(--radius);
    color: var(--emerald);
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 8px;
}

.form-success svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--emerald);
}

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

/* ── Footer ── */
.site-footer {
    background: var(--emerald-deep);
    color: var(--cream);
    padding: 80px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(250,246,240,0.1);
}

.footer-brand .logo-mark {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 8px;
}

.footer-brand .logo-wordmark {
    display: block;
    margin-bottom: 20px;
}

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

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

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.footer-links a:hover {
    color: var(--cream);
    padding-left: 4px;
}

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

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

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    font-size: 0.8rem;
    color: rgba(250,246,240,0.4);
}

/* ── Scroll Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-image {
        display: none;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        align-items: center;
    }

    .hero-label { justify-content: center; }
    .hero-actions { justify-content: center; }

    .about-grid,
    .bakery-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .bakery-images {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin-top: 20px;
    }

    .bakery-img-secondary {
        margin-top: 0;
        margin-left: 0;
    }

    .beer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .visit-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

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

    .hero {
        min-height: 100svh;
    }

    .hero-content {
        padding: 100px 24px 60px;
    }

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

    .about, .beers, .bakery, .visit, .contact {
        padding: 80px 0;
    }

    .beer-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .visit-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

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

    .contact-form-wrap {
        padding: 32px 24px;
    }

    .bakery-images {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

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