/* ============================================
   Wall Food Center — Stylesheet
   Palette: Forest Green (#1B4332) + Off-White (#FAFAF5)
   ============================================ */

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

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

body {
    font-family: 'Outfit', system-ui, -apple-system, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #FAFAF5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

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

ul {
    list-style: none;
}

/* --- Focus --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: #1B4332;
    color: #FAFAF5;
    padding: 0.75rem 1.5rem;
    z-index: 10000;
    border-radius: 0 0 8px 8px;
    font-weight: 500;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

:focus-visible {
    outline: 3px solid #2D6A4F;
    outline-offset: 2px;
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: 'Outfit', system-ui, sans-serif;
    font-weight: 600;
    line-height: 1.2;
    color: #1B4332;
}

.text-accent {
    color: #2D6A4F;
}

/* --- Section Label --- */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #2D6A4F;
    background: rgba(45, 106, 79, 0.08);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

/* --- Section Title --- */
.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: #1B4332;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Outfit', system-ui, sans-serif;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

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

.btn-primary:hover,
.btn-primary:focus-visible {
    background: #2D6A4F;
    border-color: #2D6A4F;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(27, 67, 50, 0.25);
}

.btn-secondary {
    background: transparent;
    color: #1B4332;
    border: 2px solid #1B4332;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background: #1B4332;
    color: #FAFAF5;
    transform: translateY(-1px);
}

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

.btn-large {
    padding: 1.125rem 2.25rem;
    font-size: 1.0625rem;
}

.btn-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 245, 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 4px 24px rgba(27, 67, 50, 0.08);
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-weight: 600;
    font-size: 1.125rem;
    color: #1B4332;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: #1B4332;
    color: #FAFAF5;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-style: italic;
}

.logo-text {
    font-family: 'Outfit', system-ui, sans-serif;
    font-weight: 600;
}

/* Nav */
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.main-nav a {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #1B4332;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    background: rgba(27, 67, 50, 0.06);
    color: #2D6A4F;
}

.nav-cta {
    background: #1B4332 !important;
    color: #FAFAF5 !important;
    border-radius: 8px !important;
    margin-left: 0.5rem;
}

.nav-cta:hover {
    background: #2D6A4F !important;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background 0.2s;
}

.mobile-menu-btn:hover {
    background: rgba(27, 67, 50, 0.06);
}

.hamburger {
    position: relative;
    width: 22px;
    height: 14px;
    display: block;
}

.hamburger::before,
.hamburger::after,
.hamburger span {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #1B4332;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger::before { top: 0; }
.hamburger span { top: 6px; }
.hamburger::after { bottom: 0; }

.mobile-menu-btn[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
    top: 6px;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger span {
    opacity: 0;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* --- Hero --- */
.hero {
    padding: 8rem 0 5rem;
    background: #FAFAF5;
    overflow: hidden;
}

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

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #2D6A4F;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #2D6A4F;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

/* Hero Headline */
.hero-headline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 600;
    font-style: italic;
    line-height: 1.15;
    color: #1B4332;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4A4A4A;
    margin-bottom: 2rem;
    max-width: 520px;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1B4332;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.8125rem;
    color: #6B7280;
    font-weight: 400;
}

.stat-divider {
    width: 1px;
    height: 32px;
    background: rgba(27, 67, 50, 0.15);
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
}

.hero-image-wrapper img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 24px 64px rgba(27, 67, 50, 0.12);
}

.hero-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: #2D6A4F;
    border-radius: 20px;
    z-index: -1;
    opacity: 0.15;
}

/* --- About --- */
.about {
    padding: 6rem 0;
    background: #F3F5F0;
}

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

.about-image-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.about-image-grid img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(27, 67, 50, 0.08);
}

.about-image-grid img:first-child {
    height: 500px;
}

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

.about-badge {
    margin-top: 1.5rem;
    background: #1B4332;
    color: #FAFAF5;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.9375rem;
}

.about-body {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #4A4A4A;
    margin-bottom: 1.25rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: #1B4332;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FAFAF5;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
}

.feature-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1B4332;
    margin-bottom: 0.25rem;
}

.feature-desc {
    font-size: 0.9375rem;
    color: #6B7280;
    line-height: 1.5;
}

/* --- Products --- */
.products {
    padding: 6rem 0;
    background: #FAFAF5;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3.5rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.product-card {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(27, 67, 50, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(27, 67, 50, 0.1);
}

.product-image {
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.04);
}

.product-content {
    padding: 1.75rem;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1B4332;
    margin-bottom: 0.625rem;
}

.product-desc {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #6B7280;
}

/* --- Visit / CTA --- */
.visit {
    padding: 6rem 0;
    background: #1B4332;
}

.visit-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.visit-content .section-label {
    background: rgba(250, 250, 245, 0.12);
    color: #95D1B9;
}

.visit-content .section-title {
    color: #FAFAF5;
    margin-bottom: 1rem;
}

.visit-content .text-accent {
    color: #95D1B9;
}

.visit-body {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: rgba(250, 250, 245, 0.7);
    max-width: 480px;
}

.visit-cta .btn-primary {
    background: #FAFAF5;
    border-color: #FAFAF5;
    color: #1B4332;
}

.visit-cta .btn-primary:hover,
.visit-cta .btn-primary:focus-visible {
    background: #F0F0E8;
    border-color: #F0F0E8;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* --- Contact --- */
.contact {
    padding: 6rem 0;
    background: #F3F5F0;
}

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

.contact-body {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #4A4A4A;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    background: #1B4332;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FAFAF5;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #2D6A4F;
    margin-bottom: 0.375rem;
}

.contact-item p {
    font-size: 1rem;
    color: #1B4332;
    line-height: 1.6;
}

.contact-item a {
    color: #1B4332;
    text-decoration: none;
    border-bottom: 1px solid rgba(27, 67, 50, 0.2);
    transition: border-color 0.2s, color 0.2s;
}

.contact-item a:hover {
    color: #2D6A4F;
    border-color: #2D6A4F;
}

/* Contact Form */
.contact-form {
    background: #FFFFFF;
    padding: 2.25rem;
    border-radius: 20px;
    border: 1px solid rgba(27, 67, 50, 0.06);
    box-shadow: 0 8px 32px rgba(27, 67, 50, 0.06);
}

.form-title {
    font-size: 1.375rem;
    font-weight: 600;
    color: #1B4332;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1B4332;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: 0.9375rem;
    color: #1a1a1a;
    background: #FAFAF5;
    border: 1.5px solid rgba(27, 67, 50, 0.12);
    border-radius: 10px;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9CA3AF;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #2D6A4F;
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

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

.form-success {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(45, 106, 79, 0.08);
    border: 1px solid rgba(45, 106, 79, 0.2);
    border-radius: 10px;
    color: #1B4332;
    font-weight: 500;
    font-size: 0.9375rem;
}

.form-success svg {
    width: 20px;
    height: 20px;
    color: #2D6A4F;
    flex-shrink: 0;
}

/* --- Footer --- */
.site-footer {
    background: #11291F;
    color: rgba(250, 250, 245, 0.7);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-brand .logo {
    color: #FAFAF5;
    margin-bottom: 1rem;
}

.footer-brand .logo-icon {
    background: #2D6A4F;
}

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

.footer-heading {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #95D1B9;
    margin-bottom: 1.25rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(250, 250, 245, 0.6);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #FAFAF5;
}

.footer-contact address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact a {
    color: rgba(250, 250, 245, 0.6);
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: #95D1B9;
}

.footer-bottom {
    border-top: 1px solid rgba(250, 250, 245, 0.08);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.8125rem;
    color: rgba(250, 250, 245, 0.4);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 2.5rem;
    }
    
    .hero-image-wrapper img {
        height: 520px;
    }
    
    .about-grid,
    .contact-grid {
        gap: 2.5rem;
    }
}

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

    /* Mobile Nav */
    .mobile-menu-btn {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 250, 245, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: 1rem 1.25rem 1.5rem;
        border-bottom: 1px solid rgba(27, 67, 50, 0.08);
        box-shadow: 0 12px 32px rgba(27, 67, 50, 0.08);
        transform: translateY(-120%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        pointer-events: none;
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0.25rem;
        width: 100%;
    }

    .main-nav a {
        width: 100%;
        padding: 0.875rem 1rem;
    }

    .nav-cta {
        margin-left: 0 !important;
        text-align: center;
        margin-top: 0.5rem;
    }

    /* Hero */
    .hero {
        padding: 6rem 0 3.5rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-image-wrapper img {
        height: 420px;
    }

    .hero-image-accent {
        width: 80px;
        height: 80px;
        bottom: -12px;
        right: -12px;
    }

    .hero-stats {
        gap: 1rem;
    }

    /* About */
    .about {
        padding: 4rem 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-image-grid img:first-child {
        height: 320px;
    }

    .about-image-grid img:last-child {
        height: 200px;
    }

    /* Products */
    .products {
        padding: 4rem 0;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Visit */
    .visit {
        padding: 4rem 0;
    }

    .visit-banner {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .visit-body {
        max-width: 100%;
    }

    /* Contact */
    .contact {
        padding: 4rem 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

@media (max-width: 480px) {
    .hero {
        padding: 5rem 0 3rem;
    }

    .hero-headline {
        font-size: 1.75rem;
    }

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

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

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

    .stat-divider {
        display: none;
    }

    .contact-form {
        padding: 1.5rem;
    }
}
