/* ============================================
   Harvest Coffee Bar — Styles
   Clean minimalist · Forest green + off-white
   ============================================ */

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

:root {
    --green-900: #1A2E25;
    --green-800: #2C4A3E;
    --green-700: #3D6B58;
    --green-600: #4A7F66;
    --green-500: #5C9A78;
    --cream-50: #FAF8F4;
    --cream-100: #F5F0E8;
    --cream-200: #EDE6D8;
    --cream-300: #E2D9C8;
    --warm-800: #3D3529;
    --warm-700: #5C4F3E;
    --warm-600: #7A6B58;
    --warm-500: #9B8A76;
    --warm-400: #B8A892;
    --white: #FFFFFF;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: 1.7;
    color: var(--warm-800);
    background-color: var(--cream-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-md);
    background: var(--green-800);
    color: var(--cream-50);
    padding: var(--space-sm) var(--space-md);
    z-index: 1000;
    font-size: 0.875rem;
    border-radius: 0 0 4px 4px;
}

.skip-link:focus {
    top: var(--space-md);
}

/* ============================================
   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 var(--cream-200);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 1px 0 var(--cream-200);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--green-800);
    letter-spacing: -0.01em;
}

.logo-icon {
    color: var(--green-700);
}

.logo--footer {
    color: var(--cream-100);
}

.logo--footer .logo-icon {
    color: var(--cream-200);
}

.primary-nav ul {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
}

.primary-nav a {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--warm-700);
    transition: color 0.2s ease;
    position: relative;
}

.primary-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--green-600);
    transition: width 0.3s ease;
}

.primary-nav a:hover {
    color: var(--green-700);
}

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

.nav-cta {
    color: var(--green-700) !important;
    border: 1px solid var(--green-600);
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    transition: background 0.2s ease, color 0.2s ease !important;
}

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

.nav-cta:hover {
    background: var(--green-700);
    color: var(--cream-50) !important;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    color: var(--green-800);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    padding-top: 72px;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    background: var(--cream-50);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
}

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

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-600);
    margin-bottom: var(--space-lg);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--green-900);
    margin-bottom: var(--space-xl);
    letter-spacing: -0.02em;
}

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

.hero-sub {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--warm-700);
    margin-bottom: var(--space-2xl);
    max-width: 440px;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.hero-note {
    font-size: 0.8125rem;
    color: var(--warm-500);
    letter-spacing: 0.02em;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 100px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
}

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

.btn-primary:hover {
    background: var(--green-700);
    border-color: var(--green-700);
}

.btn-ghost {
    background: transparent;
    color: var(--green-800);
    border-color: var(--green-300, var(--cream-300));
}

.btn-ghost:hover {
    border-color: var(--green-600);
    color: var(--green-700);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 780px;
    object-fit: cover;
    border-radius: 4px;
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-600);
    margin-bottom: var(--space-md);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--green-900);
    letter-spacing: -0.01em;
    margin-bottom: var(--space-xl);
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: var(--space-5xl) 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.about-image-wrap img {
    width: 100%;
    height: 640px;
    object-fit: cover;
    border-radius: 4px;
}

.about-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--warm-700);
    margin-bottom: var(--space-lg);
}

.about-features {
    margin-top: var(--space-2xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.about-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    font-size: 0.9375rem;
    color: var(--warm-800);
    line-height: 1.6;
}

.feature-icon {
    flex-shrink: 0;
    margin-top: 0.25rem;
    color: var(--green-600);
}

/* ============================================
   MENU
   ============================================ */
.menu {
    padding: var(--space-5xl) 0;
    background: var(--cream-50);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.section-header .section-title {
    margin-bottom: var(--space-md);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
}

.menu-category {
    padding: var(--space-2xl);
    background: var(--white);
    border-radius: 4px;
    border: 1px solid var(--cream-200);
}

.category-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--green-800);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--cream-200);
}

.menu-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

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

.menu-item-name {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--warm-800);
}

.menu-item-desc {
    font-size: 0.8125rem;
    color: var(--warm-500);
    line-height: 1.5;
}

.menu-note {
    text-align: center;
    margin-top: var(--space-3xl);
    font-size: 0.875rem;
    color: var(--warm-500);
}

.menu-note a {
    color: var(--green-600);
    text-decoration: underline;
    text-decoration-color: var(--cream-300);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s ease;
}

.menu-note a:hover {
    text-decoration-color: var(--green-600);
}

/* ============================================
   VISIT
   ============================================ */
.visit {
    padding: var(--space-5xl) 0;
    background: var(--green-900);
    color: var(--cream-100);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: start;
}

.visit .section-eyebrow {
    color: var(--green-500);
}

.visit .section-title {
    color: var(--cream-50);
}

.visit-details {
    font-style: normal;
    margin-top: var(--space-2xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.visit-details p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--cream-200);
}

.visit-details strong {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green-500);
    margin-bottom: 0.375rem;
}

.visit-details a {
    color: var(--cream-200);
    text-decoration: underline;
    text-decoration-color: rgba(226, 217, 200, 0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s ease, color 0.2s ease;
}

.visit-details a:hover {
    color: var(--cream-50);
    text-decoration-color: var(--green-500);
}

.visit-map {
    margin-top: var(--space-2xl);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.visit-map iframe {
    width: 100%;
    height: 340px;
    display: block;
    filter: saturate(0.6) brightness(0.85);
    transition: filter 0.3s ease;
}

.visit-map iframe:hover {
    filter: saturate(0.8) brightness(0.9);
}

.visit-image img {
    width: 100%;
    height: 720px;
    object-fit: cover;
    border-radius: 4px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--green-900);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: var(--space-3xl) 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-xl);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.footer-brand p {
    font-size: 0.8125rem;
    color: var(--warm-500);
    line-height: 1.6;
}

.footer-brand a {
    color: var(--cream-200);
    text-decoration: underline;
    text-decoration-color: rgba(226, 217, 200, 0.2);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s ease;
}

.footer-brand a:hover {
    text-decoration-color: var(--green-500);
}

.footer-links {
    display: flex;
    gap: var(--space-2xl);
}

.footer-links a {
    font-size: 0.8125rem;
    color: var(--warm-500);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

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

.footer-copy {
    font-size: 0.75rem;
    color: var(--warm-600);
}

/* ============================================
   MOBILE NAV
   ============================================ */
.primary-nav.is-open {
    display: flex;
}

.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1023px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        order: 1;
    }

    .hero-image {
        order: 0;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-image img {
        height: 480px;
    }

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-note {
        justify-content: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }

    .about-image-wrap img {
        height: 480px;
    }

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

    .visit-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }

    .visit-image {
        order: -1;
    }

    .visit-image img {
        height: 400px;
    }
}

@media (max-width: 767px) {
    :root {
        --space-5xl: 5rem;
        --space-4xl: 3.5rem;
    }

    .header-inner {
        height: 64px;
    }

    .menu-toggle {
        display: flex;
    }

    .primary-nav {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--cream-50);
        padding: var(--space-2xl);
        display: none;
        flex-direction: column;
        gap: var(--space-lg);
        overflow-y: auto;
    }

    .primary-nav.is-open {
        display: flex;
    }

    .primary-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-lg);
        width: 100%;
    }

    .primary-nav a {
        font-size: 1rem;
        letter-spacing: 0.06em;
    }

    .nav-cta {
        margin-top: var(--space-md);
        text-align: center;
        width: 100%;
    }

    .hero {
        padding-top: 64px;
    }

    .hero-grid {
        padding-top: var(--space-2xl);
        padding-bottom: var(--space-2xl);
    }

    .hero-image img {
        height: 360px;
    }

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

    .menu-category {
        padding: var(--space-xl);
    }

    .footer-inner {
        gap: var(--space-lg);
    }
}

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

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-image img {
        height: 300px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
