/* ============================================
   LANCE FAMILY FARMERS MARKET
   Classic & Elegant — Charcoal + Coral
   ============================================ */

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

:root {
    --charcoal: #3D405B;
    --charcoal-deep: #2B2D42;
    --charcoal-light: #5C5F7A;
    --coral: #E07A5F;
    --coral-light: #F2CC8F;
    --coral-pale: #FDF6F0;
    --cream: #F4F1EB;
    --cream-light: #FAF8F5;
    --white: #FFFFFF;
    --sand: #E8E4DD;
    --text-dark: #1A1A2E;
    --text-medium: #4A4A5A;
    --text-light: #7A7A8A;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Lato', 'Segoe UI', system-ui, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px rgba(61, 64, 91, 0.08);
    --shadow-md: 0 4px 16px rgba(61, 64, 91, 0.1);
    --shadow-lg: 0 8px 32px rgba(61, 64, 91, 0.12);
}

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    color: var(--charcoal);
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 12px;
}

.section-eyebrow--light {
    color: var(--coral-light);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    color: var(--charcoal);
}

.section-title--light {
    color: var(--white);
}

.section-text {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.8;
    max-width: 600px;
}

.section-text--narrow {
    max-width: 520px;
}

.section-text--light {
    color: rgba(255, 255, 255, 0.8);
    max-width: 560px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding: 14px 32px;
    border-radius: 4px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

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

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

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

.btn--ghost:hover {
    background-color: var(--white);
    color: var(--charcoal);
    border-color: var(--white);
}

.btn--large {
    padding: 16px 36px;
    font-size: 0.95rem;
}

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

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: rgba(43, 45, 66, 0.97);
    padding: 14px 0;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
}

.nav-logo-text {
    letter-spacing: 0.02em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    position: relative;
}

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

.nav-link:hover {
    color: var(--white);
}

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

.nav-link--cta {
    background-color: var(--coral);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 4px;
}

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

.nav-link--cta:hover {
    background-color: var(--coral-light);
    color: var(--charcoal-deep) !important;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(43, 45, 66, 0.88) 0%,
        rgba(61, 64, 91, 0.75) 50%,
        rgba(43, 45, 66, 0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
}

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

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5.5vw, 4.2rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 24px;
}

.hero-accent {
    color: var(--coral);
    font-style: italic;
    font-weight: 400;
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 40px;
}

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

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

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

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

.about-image {
    position: relative;
}

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

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    border: 2px solid var(--coral);
    border-radius: 6px;
    z-index: -1;
}

.about-content {
    padding: 20px 0;
}

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

.about-content .section-text {
    margin-bottom: 16px;
    max-width: 100%;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--sand);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--coral);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background-color: var(--sand);
}

/* ---------- Produce ---------- */
.produce {
    padding: 120px 0;
    background-color: var(--white);
}

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

.section-header .section-text {
    margin: 0 auto;
}

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

.produce-card {
    background-color: var(--cream-light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.produce-card-img {
    overflow: hidden;
    height: 240px;
}

.produce-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.produce-card-body {
    padding: 28px;
}

.produce-card-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 10px;
}

.produce-card-desc {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.7;
}

/* ---------- Experience ---------- */
.experience {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

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

.experience-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.experience-content {
    text-align: center;
    margin-bottom: 64px;
}

.experience-content .section-title {
    margin-bottom: 20px;
}

.experience-content .section-text {
    margin: 0 auto;
}

.experience-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature {
    text-align: center;
    padding: 32px 24px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    transition: var(--transition);
}

.feature:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.feature-icon {
    margin: 0 auto 20px;
    opacity: 0.9;
}

.feature-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

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

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

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

.visit-info .section-text {
    margin-bottom: 32px;
    max-width: 100%;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 36px;
}

.visit-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.visit-detail-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.visit-detail-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 4px;
}

.visit-detail-value {
    font-size: 1rem;
    color: var(--charcoal);
    font-weight: 500;
}

.visit-map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 450px;
}

.visit-map iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
}

/* ---------- Contact ---------- */
.contact {
    padding: 120px 0;
    background-color: var(--charcoal-deep);
}

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

.contact-info .section-title {
    color: var(--white);
    margin-bottom: 16px;
}

.contact-info .section-text {
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 36px;
    max-width: 100%;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 36px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.contact-method:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--coral);
}

.contact-method-icon {
    flex-shrink: 0;
}

.contact-method-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 2px;
}

.contact-method-value {
    font-size: 1rem;
    color: var(--white);
    font-weight: 500;
}

/* Form */
.contact-form-wrapper {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-input:focus {
    border-color: var(--coral);
    background-color: rgba(255, 255, 255, 0.08);
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 16px;
    background-color: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

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

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

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    max-width: 300px;
}

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

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

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    transition: var(--transition);
}

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

.footer-address {
    font-style: normal;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: 12px;
}

.footer-phone,
.footer-email {
    display: block;
    font-size: 0.9rem;
    color: var(--coral);
    transition: var(--transition);
}

.footer-phone:hover,
.footer-email:hover {
    color: var(--coral-light);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ---------- Scroll Reveal (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        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);
    }

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .about-grid,
    .visit-grid,
    .contact-grid {
        gap: 48px;
    }
    
    .experience-features {
        gap: 24px;
    }
}

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

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--charcoal-deep);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-link {
        font-size: 1rem;
    }

    .hero-headline {
        font-size: clamp(1.8rem, 7vw, 2.8rem);
    }

    .hero-sub {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

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

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

    .about-image-accent {
        display: none;
    }

    .about-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .stat-divider {
        display: none;
    }

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

    .experience-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .visit-map {
        min-height: 300px;
    }

    .visit-map iframe {
        min-height: 300px;
    }

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

    .contact-form-wrapper {
        padding: 28px;
    }

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

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

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

    .about,
    .produce,
    .experience,
    .visit,
    .contact {
        padding: 80px 0;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.85rem;
    }

    .btn--large {
        padding: 14px 28px;
    }
}
