/* ============================================
   Fourwinds Market — Styles
   Palette: Burgundy (#7B2D3B) + Blush (#F5E6E0)
   Fonts: Cormorant Garamond + Manrope
   ============================================ */

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

:root {
    --burgundy: #7B2D3B;
    --burgundy-deep: #5E1F2B;
    --burgundy-light: #9A3D4D;
    --blush: #F5E6E0;
    --blush-light: #FAF3F0;
    --blush-mid: #EDE0DA;
    --cream: #FDF9F7;
    --white: #FFFFFF;
    --text-dark: #1A1214;
    --text-mid: #4A3538;
    --text-light: #8A6B6F;
    --text-muted: #B09A9C;
    --line: rgba(123, 45, 59, 0.12);
    --line-strong: rgba(123, 45, 59, 0.25);

    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Manrope', -apple-system, sans-serif;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 8rem;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s 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-color: var(--cream);
    line-height: 1.7;
    -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;
}

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

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

.site-header.scrolled {
    box-shadow: 0 1px 20px rgba(123, 45, 59, 0.06);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--burgundy);
    letter-spacing: -0.01em;
}

.logo-mark {
    color: var(--burgundy);
    opacity: 0.8;
}

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

/* Navigation */
.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    list-style: none;
}

.nav-list a {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-mid);
    transition: color var(--transition);
    position: relative;
}

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

.nav-list a:hover {
    color: var(--burgundy);
}

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

.nav-cta {
    border: 1px solid var(--line-strong) !important;
    padding: 8px 20px !important;
    border-radius: 100px;
    transition: all var(--transition) !important;
}

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

.nav-cta:hover {
    background: var(--burgundy);
    color: var(--white) !important;
    border-color: var(--burgundy) !important;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: relative;
    width: 32px;
    height: 32px;
}

.hamburger {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 18px;
    height: 1px;
    background: var(--burgundy);
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 18px;
    height: 1px;
    background: var(--burgundy);
    transition: var(--transition);
}

.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ============================================
   Hero
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: var(--burgundy);
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    filter: saturate(0.6);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(123, 45, 59, 0.7) 0%,
        rgba(94, 31, 43, 0.85) 50%,
        rgba(70, 20, 30, 0.95) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
    max-width: 720px;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--blush);
    opacity: 0.7;
    margin-bottom: var(--space-md);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 300;
    line-height: 1.05;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

.hero-headline em {
    font-style: italic;
    font-weight: 300;
    color: var(--blush);
}

.hero-sub {
    font-size: 1.05rem;
    font-weight: 300;
    color: rgba(245, 230, 224, 0.7);
    line-height: 1.8;
    max-width: 480px;
    margin: 0 auto var(--space-lg);
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 100px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--blush);
    border-color: var(--blush);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--blush);
    border-color: rgba(245, 230, 224, 0.4);
}

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

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

.hero-scroll {
    position: absolute;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 48px;
    background: var(--line-strong);
}

.hero-scroll::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 16px;
    background: var(--blush);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { top: 0; height: 16px; opacity: 1; }
    50% { top: 28px; height: 16px; opacity: 0.5; }
    100% { top: 48px; height: 16px; opacity: 0; }
}

/* ============================================
   Divider
   ============================================ */
.divider {
    padding: 0 var(--space-md);
}

.divider-line {
    max-width: 1200px;
    margin: 0 auto;
    height: 1px;
    background: var(--line);
}

/* ============================================
   Section shared
   ============================================ */
.section-eyebrow {
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--burgundy);
    opacity: 0.7;
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--text-dark);
    letter-spacing: -0.01em;
    margin-bottom: var(--space-lg);
}

/* ============================================
   Products
   ============================================ */
.products {
    padding: var(--space-2xl) 0;
    background: var(--cream);
}

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

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    transition: all var(--transition-slow);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(123, 45, 59, 0.08);
    border-color: transparent;
}

.product-card-img {
    overflow: hidden;
    aspect-ratio: 4/3;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.product-card-body {
    padding: var(--space-md);
}

.product-card-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: var(--space-xs);
}

.product-card-desc {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   About
   ============================================ */
.about {
    padding: var(--space-2xl) 0;
    background: var(--blush-light);
}

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

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 7/8;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content {
    padding: var(--space-md) 0;
}

.about-text {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-mid);
    line-height: 1.85;
    margin-bottom: var(--space-sm);
}

.about-stats {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--line);
}

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

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--burgundy);
    line-height: 1;
}

.stat-label {
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--line-strong);
}

/* ============================================
   Hours
   ============================================ */
.hours {
    padding: var(--space-2xl) 0;
    background: var(--cream);
}

.hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.hours-info,
.location-info {
    padding: var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
}

.hours-label {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--line);
}

.hours-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) 0;
    border-bottom: 1px solid var(--line);
}

.hours-list li:last-child {
    border-bottom: none;
}

.hours-day {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-dark);
}

.hours-time {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-mid);
}

.hours-note {
    margin-top: var(--space-md);
    font-size: 0.82rem;
    font-weight: 300;
    color: var(--text-muted);
    font-style: italic;
}

.location-address {
    font-style: normal;
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: var(--space-sm);
}

.location-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--burgundy);
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    transition: all var(--transition);
}

.location-phone:hover {
    color: var(--burgundy-deep);
    border-color: var(--burgundy);
}

/* ============================================
   Contact
   ============================================ */
.contact {
    padding: var(--space-2xl) 0;
    background: var(--burgundy);
    color: var(--white);
}

.contact .section-eyebrow {
    color: var(--blush);
    opacity: 0.6;
}

.contact .section-title {
    color: var(--white);
    margin-bottom: var(--space-sm);
}

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

.contact-text {
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(245, 230, 224, 0.65);
    line-height: 1.85;
    margin-bottom: var(--space-md);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.contact-detail {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--blush);
    opacity: 0.8;
    transition: opacity var(--transition);
}

.contact-detail:hover {
    opacity: 1;
}

/* Form */
.contact-form-wrap {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(245, 230, 224, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: var(--space-sm);
}

.form-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blush);
    opacity: 0.6;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 0;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--white);
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(245, 230, 224, 0.2);
    outline: none;
    transition: border-color var(--transition);
}

.form-input::placeholder {
    color: rgba(245, 230, 224, 0.3);
}

.form-input:focus {
    border-color: var(--blush);
}

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

.form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: var(--space-sm);
    padding: var(--space-sm);
    background: rgba(245, 230, 224, 0.1);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--blush);
}

.form-success svg {
    flex-shrink: 0;
    color: #7CB342;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: var(--text-dark);
    color: var(--blush);
    padding: var(--space-xl) 0 var(--space-md);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(245, 230, 224, 0.1);
}

.footer-brand {
    max-width: 280px;
}

.logo--footer {
    color: var(--blush);
    margin-bottom: var(--space-sm);
}

.footer-tagline {
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(245, 230, 224, 0.5);
    line-height: 1.7;
}

.footer-links {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(245, 230, 224, 0.5);
    transition: color var(--transition);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
    padding-top: var(--space-md);
    font-size: 0.78rem;
    font-weight: 300;
    color: rgba(245, 230, 224, 0.3);
}

/* ============================================
   Animations
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================
   Mobile
   ============================================ */
@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }

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

    .about-image {
        aspect-ratio: 4/3;
    }

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

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

@media (max-width: 640px) {
    :root {
        --space-lg: 3rem;
        --space-xl: 4rem;
        --space-2xl: 5rem;
    }

    .header-inner {
        height: 64px;
    }

    .nav-toggle {
        display: block;
    }

    .nav-list {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(253, 249, 247, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: var(--space-md);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
    }

    .nav-list.open {
        opacity: 1;
        visibility: visible;
    }

    .nav-list a {
        font-size: 1rem;
        letter-spacing: 0.1em;
    }

    .nav-cta {
        margin-top: var(--space-sm);
    }

    .hero-headline {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        padding: 0 var(--space-md);
    }

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

    .footer-inner {
        flex-direction: column;
        gap: var(--space-md);
    }

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

    .about-stats {
        flex-wrap: wrap;
        gap: var(--space-sm);
    }

    .stat-divider {
        display: none;
    }
}
