/* ============================================
   Spirit 76 Tavern — Styles
   Forest green + off-white, clean minimalist
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 300;
    line-height: 1.7;
    color: #1A2E23;
    background-color: #FAF8F4;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg {
    display: block;
    max-width: 100%;
}

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

ul {
    list-style: none;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
}

/* ---------- SKIP LINK ---------- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: #1B4332;
    color: #FAF8F4;
    padding: 0.5rem 1rem;
    border-radius: 0 0 4px 4px;
    z-index: 200;
    font-size: 0.875rem;
}
.skip-link:focus {
    top: 0;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 400;
    line-height: 1.2;
    color: #1A2E23;
}

/* ---------- LAYOUT ---------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 7rem 0;
}

/* ---------- EYEBROW ---------- */
.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #2D6A4F;
    margin-bottom: 1rem;
}

/* ---------- SECTION TITLE ---------- */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    color: #1A2E23;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    border-radius: 2px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn--primary {
    background: #1B4332;
    color: #FAF8F4;
    border: 1px solid #1B4332;
}
.btn--primary:hover {
    background: #2D6A4F;
    border-color: #2D6A4F;
}

.btn--ghost {
    background: transparent;
    color: #1A2E23;
    border: 1px solid #1A2E23;
}
.btn--ghost:hover {
    background: #1A2E23;
    color: #FAF8F4;
}

.btn--nav {
    padding: 0.625rem 1.5rem;
    font-size: 0.8125rem;
    background: #1B4332;
    color: #FAF8F4;
    border: 1px solid #1B4332;
}
.btn--nav:hover {
    background: #2D6A4F;
    border-color: #2D6A4F;
}

/* ---------- HEADER ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 248, 244, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(27, 67, 50, 0.08);
    transition: box-shadow 0.3s ease;
}
.site-header.scrolled {
    box-shadow: 0 1px 20px rgba(27, 67, 50, 0.06);
}

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

/* ---------- LOGO ---------- */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-mark {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.375rem;
    font-weight: 500;
    color: #1B4332;
    letter-spacing: 0.02em;
}

.logo-wordmark {
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    font-weight: 400;
    color: #1A2E23;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ---------- NAV ---------- */
.primary-nav ul {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.primary-nav a {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1A2E23;
    position: relative;
    transition: color 0.2s ease;
}
.primary-nav a:not(.btn):hover {
    color: #2D6A4F;
}
.primary-nav a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #2D6A4F;
    transition: width 0.3s ease;
}
.primary-nav a:not(.btn):hover::after {
    width: 100%;
}

/* ---------- NAV TOGGLE ---------- */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}
.nav-toggle-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background: #1A2E23;
    transition: all 0.3s ease;
    transform-origin: center;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ---------- HERO ---------- */
.hero {
    padding-top: 72px;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    background: #FAF8F4;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-content {
    padding-right: 1rem;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #2D6A4F;
    margin-bottom: 1.25rem;
}

.hero-headline {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 400;
    line-height: 1.1;
    color: #1A2E23;
    margin-bottom: 1.5rem;
}

.hero-body {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #3D5A45;
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}
.hero-image img {
    width: 100%;
    height: 75vh;
    height: 75dvh;
    object-fit: cover;
    border-radius: 2px;
}

/* ---------- DIVIDER ---------- */
.divider {
    padding: 0;
}
.divider-line {
    width: 100%;
    height: 1px;
    background: rgba(27, 67, 50, 0.12);
}

/* ---------- ABOUT ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #3D5A45;
    margin-bottom: 1.25rem;
}

.about-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 2px;
}

/* ---------- MENU ---------- */
.menu {
    background: #F3F0E9;
}

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

.menu-intro {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #3D5A45;
}

.menu-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.menu-category-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 400;
    color: #1A2E23;
    margin-bottom: 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(27, 67, 50, 0.15);
}

.menu-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.menu-item {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.menu-item-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: #1A2E23;
}

.menu-item-desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #5A7A63;
}

.menu-note {
    text-align: center;
    font-size: 0.875rem;
    color: #5A7A63;
    margin-top: 3rem;
    font-style: italic;
}

/* ---------- SPACE ---------- */
.space-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.space-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.space-img-main img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 2px;
}

.space-img-secondary img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 2px;
}

.space-content p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #3D5A45;
    margin-bottom: 1.25rem;
}

.space-features {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 2rem;
}

.space-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(27, 67, 50, 0.2);
    border-radius: 2px;
    color: #2D6A4F;
    flex-shrink: 0;
}

.feature-text {
    font-size: 0.9375rem;
    color: #1A2E23;
    font-weight: 400;
}

/* ---------- VISIT ---------- */
.visit {
    background: #1B4332;
    color: #FAF8F4;
}

.visit .section-eyebrow {
    color: #95D1B2;
}

.visit .section-title {
    color: #FAF8F4;
}

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

.visit-details {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.visit-detail {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.5rem 2rem;
}

.detail-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #95D1B2;
    padding-top: 0.25rem;
}

.detail-value {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #D4C5A9;
}

.detail-value a {
    color: #D4C5A9;
    border-bottom: 1px solid rgba(212, 197, 169, 0.3);
    transition: border-color 0.2s ease;
}
.detail-value a:hover {
    border-color: #D4C5A9;
}

.visit-note {
    margin-top: 2rem;
    font-size: 0.875rem;
    color: #7FB592;
    font-style: italic;
}

.map-wrapper {
    width: 100%;
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid rgba(250, 248, 244, 0.1);
}
.map-wrapper iframe {
    width: 100%;
    height: 450px;
    display: block;
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: #153527;
    padding: 3rem 0;
    border-top: 1px solid rgba(250, 248, 244, 0.06);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-brand .logo-mark {
    color: #D4C5A9;
}

.footer-brand .logo-wordmark {
    color: #D4C5A9;
}

.footer-copy {
    font-size: 0.8125rem;
    color: #7FB592;
}

.footer-address {
    font-size: 0.8125rem;
    color: #5A8A6A;
}

/* ---------- SCROLL REVEAL (progressive enhancement) ---------- */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- MOBILE NAV OVERLAY ---------- */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    top: 72px;
    background: rgba(250, 248, 244, 0.98);
    backdrop-filter: blur(12px);
    z-index: 99;
    padding: 2rem;
}
.nav-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-overlay ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}
.nav-overlay a {
    font-size: 1.125rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1A2E23;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
    .container {
        padding: 0 1.5rem;
    }

    .section {
        padding: 5rem 0;
    }

    /* Mobile nav */
    .nav-toggle {
        display: flex;
    }
    .primary-nav {
        display: none;
    }

    /* Hero */
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .hero-content {
        padding-right: 0;
        order: 1;
    }
    .hero-image {
        order: 2;
    }
    .hero-image img {
        height: 50vh;
        height: 50dvh;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .about-image {
        order: -1;
    }
    .about-image img {
        height: 300px;
    }

    /* Menu */
    .menu-categories {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* Space */
    .space-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .space-img-main img {
        height: 320px;
    }
    .space-img-secondary img {
        height: 240px;
    }
    .space-features {
        grid-template-columns: 1fr 1fr;
    }

    /* Visit */
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .map-wrapper iframe {
        height: 300px;
    }
}

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

    .hero-actions {
        flex-direction: column;
    }
    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .space-features {
        grid-template-columns: 1fr;
    }

    .visit-detail {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }
}
