/* ============================================
   Godwin Fresh Market — Styles
   Burgundy + Blush | Clean Minimalist
   ============================================ */

:root {
    --burgundy: #7B2D3B;
    --burgundy-deep: #5C1F2B;
    --burgundy-light: #9A3D4E;
    --blush: #F2D4D0;
    --blush-light: #FAECE9;
    --blush-lighter: #FDF6F4;
    --cream: #FDF9F8;
    --white: #FFFFFF;
    --text-dark: #1A1214;
    --text-mid: #4A3538;
    --text-light: #7A6064;
    --text-muted: #A89094;
    --line: rgba(123, 45, 59, 0.10);
    --line-strong: rgba(123, 45, 59, 0.20);
    --shadow-sm: 0 1px 3px rgba(123, 45, 59, 0.06);
    --shadow-md: 0 4px 20px rgba(123, 45, 59, 0.08);
    --shadow-lg: 0 8px 40px rgba(123, 45, 59, 0.10);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--cream);
    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;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 249, 248, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
    background: rgba(253, 249, 248, 0.95);
    box-shadow: var(--shadow-sm);
}

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

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

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

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

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

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

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

.nav__cta {
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: var(--burgundy) !important;
    border: 1px solid var(--line-strong);
    padding: 8px 18px;
    border-radius: 100px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
}

.nav__cta::after {
    display: none !important;
}

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

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav__toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--text-dark);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__toggle.active span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

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

.nav__toggle.active span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--cream) 0%, var(--blush-lighter) 50%, var(--blush-light) 100%);
}

.hero__bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(123, 45, 59, 0.04) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(123, 45, 59, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

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

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

.hero__card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 56px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
    max-width: 560px;
}

.hero__eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 20px;
}

.hero__headline {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 400;
    line-height: 1.25;
    color: var(--text-dark);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero__headline em {
    color: var(--burgundy);
    font-style: italic;
}

.hero__sub {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-light);
    margin-bottom: 36px;
}

.hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 14px 28px;
    border-radius: 100px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.01em;
}

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

.btn--primary:hover {
    background: var(--burgundy-deep);
    border-color: var(--burgundy-deep);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(123, 45, 59, 0.25);
}

.btn--ghost {
    background: transparent;
    color: var(--text-mid);
    border-color: var(--line-strong);
}

.btn--ghost:hover {
    color: var(--burgundy);
    border-color: var(--burgundy);
    transform: translateY(-1px);
}

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

.btn--outline:hover {
    background: var(--burgundy);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(123, 45, 59, 0.25);
}

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

/* ============================================
   Stat Cards
   ============================================ */
.hero__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding-top: 20px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-card__number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--burgundy);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.stat-card__label {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.hero__image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 3/4;
}

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

/* ============================================
   Section Header
   ============================================ */
.section-header {
    max-width: 640px;
    margin-bottom: 56px;
}

.section-header--center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-header__eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 16px;
}

.section-header__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 400;
    line-height: 1.25;
    color: var(--text-dark);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-header__desc {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-light);
}

/* ============================================
   Products Section
   ============================================ */
.products {
    padding: 100px 0;
    background: var(--white);
}

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

.product-card {
    background: var(--cream);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--line);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.product-card__img-wrap {
    overflow: hidden;
    aspect-ratio: 4/3;
}

.product-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card__img-wrap img {
    transform: scale(1.05);
}

.product-card__body {
    padding: 24px;
}

.product-card__title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.product-card__desc {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* ============================================
   About Section
   ============================================ */
.about {
    padding: 100px 0;
    background: var(--cream);
}

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

.about__images {
    position: relative;
}

.about__img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 5/6;
}

.about__img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--cream);
    aspect-ratio: 4/3.5;
    max-width: 260px;
}

.about__img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__content {
    max-width: 480px;
}

.about__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 400;
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.about__body {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 16px;
}

.about__features {
    margin-top: 32px;
    display: grid;
    gap: 16px;
}

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

.about__feature svg {
    color: var(--burgundy);
    flex-shrink: 0;
}

/* ============================================
   Visit Section
   ============================================ */
.visit {
    padding: 100px 0;
    background: var(--white);
}

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

.visit__info {
    max-width: 440px;
}

.visit__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 400;
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: 40px;
    letter-spacing: -0.02em;
}

.visit__details {
    display: grid;
    gap: 24px;
    margin-bottom: 36px;
}

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

.visit__detail-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding-top: 4px;
}

.visit__detail-value {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-mid);
}

.visit__link {
    color: var(--burgundy);
    border-bottom: 1px solid var(--line);
    transition: border-color 0.2s ease;
}

.visit__link:hover {
    border-color: var(--burgundy);
}

/* ============================================
   Contact Form
   ============================================ */
.visit__form-wrap {
    max-width: 480px;
}

.visit__form-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--line);
}

.visit__form-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.visit__form-desc {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 28px;
    line-height: 1.65;
}

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

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--text-mid);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-dark);
    background: var(--white);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:focus {
    border-color: var(--burgundy);
    box-shadow: 0 0 0 3px rgba(123, 45, 59, 0.08);
}

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

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px 20px;
    text-align: center;
    color: var(--burgundy);
}

.form-success svg {
    color: var(--burgundy);
}

.form-success span {
    font-size: 0.95rem;
    color: var(--text-mid);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 60px 0 32px;
    background: var(--text-dark);
    color: var(--blush);
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 40px;
    margin-bottom: 40px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--blush-light);
    margin-bottom: 12px;
}

.footer__tagline {
    font-size: 0.875rem;
    color: var(--text-muted);
    max-width: 280px;
    line-height: 1.65;
}

.footer__links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.footer__links a {
    font-size: 0.875rem;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.footer__links a:hover {
    color: var(--blush-light);
}

.footer__bottom {
    border-top: 1px solid rgba(242, 212, 208, 0.10);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer__bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============================================
   Animations
   ============================================ */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .hero__content {
        grid-template-columns: 1fr 300px;
        gap: 40px;
    }

    .hero__card {
        padding: 40px;
    }

    .products__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about__inner {
        gap: 48px;
    }

    .visit__inner {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav__links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(253, 249, 248, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        border-bottom: 1px solid var(--line);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    }

    .nav__links.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav__toggle {
        display: flex;
    }

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

    .hero__content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero__card {
        padding: 32px;
    }

    .hero__image {
        display: none;
    }

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

    .products {
        padding: 60px 0;
    }

    .products__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .about {
        padding: 60px 0;
    }

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

    .about__img-secondary {
        right: -16px;
        bottom: -24px;
    }

    .visit {
        padding: 60px 0;
    }

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

    .visit__form-wrap {
        max-width: 100%;
    }

    .footer__inner {
        flex-direction: column;
    }

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

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

    .hero__card {
        padding: 24px;
    }

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

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .visit__form-card {
        padding: 24px;
    }

    .visit__detail {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}
