/* ============================================
   Varney Snack Shack — Styles
   Forest Green + Off-White · Minimalist
   ============================================ */

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

:root {
    --green-dark: #1a3a2a;
    --green-mid: #2d5a3f;
    --green-light: #3d7a56;
    --green-pale: #e8f0eb;
    --cream: #f7f5f0;
    --cream-light: #faf9f7;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-mid: #4a4a4a;
    --text-light: #7a7a7a;
    --line: rgba(26, 58, 42, 0.12);
    --line-strong: rgba(26, 58, 42, 0.25);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --radius: 8px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(26, 58, 42, 0.06);
    --shadow-md: 0 4px 20px rgba(26, 58, 42, 0.08);
    --shadow-lg: 0 8px 40px rgba(26, 58, 42, 0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 100px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    transition: all var(--transition);
    cursor: pointer;
    border: 1.5px solid transparent;
    white-space: nowrap;
}

.btn--primary {
    background: var(--green-dark);
    color: var(--white);
    border-color: var(--green-dark);
}

.btn--primary:hover {
    background: var(--green-mid);
    border-color: var(--green-mid);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn--outline {
    background: transparent;
    color: var(--green-dark);
    border-color: var(--green-dark);
}

.btn--outline:hover {
    background: var(--green-dark);
    color: var(--white);
    transform: translateY(-1px);
}

.btn--outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}

.btn--outline-light:hover {
    background: var(--white);
    color: var(--green-dark);
    transform: translateY(-1px);
}

.btn--sm {
    padding: 10px 24px;
    font-size: 0.8125rem;
}

.btn--full {
    width: 100%;
}

/* ============================================
   SECTION LABELS
   ============================================ */
.section-label {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green-light);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--green-dark);
    margin-bottom: 20px;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(247, 245, 240, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    transition: all var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--green-dark);
    letter-spacing: -0.01em;
}

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

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

.nav a {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-mid);
    letter-spacing: 0.01em;
    transition: color var(--transition);
    position: relative;
}

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

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

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--green-dark);
    padding: 4px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: var(--cream-light);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(45, 90, 63, 0.06) 0%, transparent 60%),
                radial-gradient(ellipse at 20% 80%, rgba(61, 122, 86, 0.04) 0%, transparent 50%);
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green-light);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--green-dark);
    margin-bottom: 24px;
}

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

.hero-sub {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text-mid);
    margin-bottom: 40px;
    max-width: 440px;
}

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

.hero-image {
    position: relative;
}

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

.hero-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--green-pale);
    border-radius: var(--radius-lg);
    z-index: -1;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: 120px 0;
    background: var(--white);
}

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

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

.about-text .section-title {
    margin-bottom: 24px;
}

.about-text p {
    color: var(--text-mid);
    margin-bottom: 16px;
    font-size: 1rem;
}

.about-features {
    margin-top: 36px;
    display: grid;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.9375rem;
    color: var(--text-mid);
}

.feature-item svg {
    color: var(--green-light);
    flex-shrink: 0;
}

/* ============================================
   MENU
   ============================================ */
.menu {
    padding: 120px 0;
    background: var(--cream-light);
}

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

.menu-header .section-title {
    margin-bottom: 16px;
}

.menu-intro {
    color: var(--text-mid);
    font-size: 1.0625rem;
}

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

.menu-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    transition: all var(--transition);
}

.menu-card:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

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

.menu-card-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--green-dark);
    margin-bottom: 12px;
}

.menu-card-desc {
    font-size: 0.9375rem;
    color: var(--text-mid);
    line-height: 1.7;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
    padding: 120px 0;
    background: var(--white);
}

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

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

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

.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.03);
}

.gallery-item--tall {
    grid-column: span 5;
    grid-row: span 2;
}

.gallery-item--tall img {
    height: 560px;
}

.gallery-item img:not([height]) {
    height: 270px;
}

/* ============================================
   VISIT
   ============================================ */
.visit {
    padding: 120px 0;
    background: var(--cream-light);
}

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

.visit-info .section-title {
    margin-bottom: 16px;
}

.visit-desc {
    color: var(--text-mid);
    font-size: 1.0625rem;
    margin-bottom: 36px;
}

.visit-details {
    list-style: none;
    display: grid;
    gap: 20px;
}

.visit-details li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    color: var(--text-mid);
    font-size: 0.9375rem;
}

.visit-details svg {
    color: var(--green-light);
    flex-shrink: 0;
    margin-top: 3px;
}

.visit-details a {
    color: var(--text-mid);
    transition: color var(--transition);
}

.visit-details a:hover {
    color: var(--green-dark);
}

.visit-map {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.visit-map img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    bottom: 24px;
    left: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    padding: 12px 20px;
    border-radius: 100px;
    box-shadow: var(--shadow-md);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--green-dark);
}

.map-overlay svg {
    color: var(--green-light);
}

/* ============================================
   CTA
   ============================================ */
.cta {
    padding: 120px 0;
    background: var(--green-dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(61, 122, 86, 0.3) 0%, transparent 70%);
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta .section-label {
    color: rgba(255,255,255,0.6);
}

.cta .section-title {
    color: var(--white);
    margin-bottom: 20px;
}

.cta p {
    color: rgba(255,255,255,0.7);
    font-size: 1.125rem;
    max-width: 480px;
    margin: 0 auto 40px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: 120px 0;
    background: var(--white);
}

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

.contact-text .section-title {
    margin-bottom: 16px;
}

.contact-text p {
    color: var(--text-mid);
    font-size: 1.0625rem;
}

.contact-form {
    display: grid;
    gap: 20px;
}

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

.form-group {
    display: grid;
    gap: 8px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--text-dark);
    background: var(--cream-light);
    transition: all var(--transition);
    outline: none;
}

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

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--green-light);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(61, 122, 86, 0.1);
}

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

.form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--green-pale);
    border-radius: var(--radius);
    color: var(--green-mid);
    font-size: 0.9375rem;
}

.form-success svg {
    flex-shrink: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--green-dark);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 0;
}

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

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand .logo-icon {
    color: rgba(255,255,255,0.6);
}

.footer-tagline {
    font-size: 0.9375rem;
    max-width: 280px;
    line-height: 1.7;
}

.footer h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 20px;
}

.footer ul {
    list-style: none;
    display: grid;
    gap: 12px;
}

.footer a {
    font-size: 0.9375rem;
    transition: color var(--transition);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.35);
}

/* ============================================
   MOBILE NAV
   ============================================ */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26, 58, 42, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity var(--transition);
}

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

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-image {
        max-width: 480px;
        margin-left: auto;
    }

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

    .about-grid {
        gap: 48px;
    }

    .gallery-item--tall {
        grid-column: span 6;
    }
}

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

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--cream-light);
        padding: 100px 32px 40px;
        z-index: 999;
        transform: translateX(100%);
        transition: transform var(--transition);
        border-left: 1px solid var(--line);
        box-shadow: var(--shadow-lg);
    }

    .nav.open {
        transform: translateX(0);
    }

    .nav ul {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }

    .nav a {
        font-size: 1.0625rem;
    }

    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1001;
    }

    .nav-overlay {
        display: block;
        pointer-events: none;
    }

    .nav-overlay.active {
        pointer-events: all;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-image {
        display: none;
    }

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

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

    .about {
        padding: 80px 0;
    }

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

    .about-image img {
        height: 280px;
    }

    .menu {
        padding: 80px 0;
    }

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

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

    .gallery {
        padding: 80px 0;
    }

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

    .gallery-item--tall {
        grid-column: span 2;
        grid-row: span 1;
    }

    .gallery-item--tall img {
        height: 280px;
    }

    .gallery-item img:not([height]) {
        height: 200px;
    }

    .visit {
        padding: 80px 0;
    }

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

    .visit-map img {
        height: 280px;
    }

    .cta {
        padding: 80px 0;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-actions .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .contact {
        padding: 80px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

    .footer {
        padding: 60px 0 0;
    }

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

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

@media (max-width: 480px) {
    .hero-headline {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

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

    .gallery-item--tall {
        grid-column: span 1;
    }
}
