/* ========================================
   MECCAFOX — Bold Editorial Retail Site
   Palette: Forest Green + Off-White
======================================== */

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

:root {
    --green-deep: #1A3C2A;
    --green-mid: #2D5A3F;
    --green-light: #3D7A54;
    --green-pale: #E8F0EB;
    --cream: #F4F1EA;
    --cream-light: #FAF8F4;
    --cream-dark: #E8E4DB;
    --text-dark: #1A1A18;
    --text-mid: #4A4A44;
    --text-light: #7A7A72;
    --white: #FFFFFF;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, sans-serif;
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--cream-light);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

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

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

/* ========================================
   NAVBAR
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(244, 241, 234, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(26, 60, 42, 0.08);
    transition: background 0.3s var(--ease-smooth);
}

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

.logo {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--green-deep);
    text-transform: uppercase;
}

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

.nav-menu a {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-mid);
    transition: color 0.25s var(--ease-smooth);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--green-deep);
    transition: width 0.3s var(--ease-out);
}

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

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

.nav-cta {
    display: flex;
    align-items: center;
}

/* Mobile toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--green-deep);
    transition: transform 0.3s var(--ease-smooth), opacity 0.3s;
}

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

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

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

/* ========================================
   BUTTONS
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 0;
    transition: all 0.3s var(--ease-smooth);
    cursor: pointer;
}

.btn--primary {
    background: var(--green-deep);
    color: var(--cream);
    border: 1.5px solid var(--green-deep);
}

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

.btn--outline {
    background: transparent;
    color: var(--green-deep);
    border: 1.5px solid var(--green-deep);
}

.btn--outline:hover {
    background: var(--green-deep);
    color: var(--cream);
}

.btn--text {
    background: transparent;
    color: var(--text-mid);
    padding: 14px 8px;
    border: none;
    font-size: 0.875rem;
    text-transform: none;
    letter-spacing: 0;
}

.btn--text:hover {
    color: var(--green-deep);
}

.btn--light {
    background: var(--cream);
    color: var(--green-deep);
    border: 1.5px solid var(--cream);
}

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

.btn--outline-light {
    background: transparent;
    color: var(--cream);
    border: 1.5px solid rgba(244, 241, 234, 0.5);
}

.btn--outline-light:hover {
    background: rgba(244, 241, 234, 0.12);
    border-color: var(--cream);
}

/* ========================================
   HERO
======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--cream);
    padding: 120px 0 0;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-bottom: 80px;
}

.hero-card {
    background: var(--white);
    border: 1px solid rgba(26, 60, 42, 0.08);
    padding: 56px 48px;
    position: relative;
}

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

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--green-deep);
    margin-bottom: 24px;
}

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

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

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

.hero-visual {
    position: relative;
}

.hero-image-wrap {
    position: relative;
    overflow: hidden;
}

.hero-image-wrap img {
    width: 100%;
    height: auto;
    aspect-ratio: 600/750;
    object-fit: cover;
    display: block;
}

/* Floating stat cards */
.float-card {
    position: absolute;
    background: var(--white);
    padding: 20px 24px;
    box-shadow: 0 8px 32px rgba(26, 60, 42, 0.12), 0 2px 8px rgba(26, 60, 42, 0.06);
    z-index: 2;
}

.float-card-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--green-deep);
    line-height: 1;
    margin-bottom: 4px;
}

.float-card-label {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
}

.float-card--1 {
    bottom: 60px;
    left: -32px;
}

.float-card--2 {
    top: 80px;
    right: -24px;
}

.float-card--3 {
    bottom: -16px;
    right: 40px;
}

.hero-accent-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--green-deep), var(--green-light), var(--green-deep));
}

/* ========================================
   MARQUEE
======================================== */
.marquee-strip {
    background: var(--green-deep);
    padding: 18px 0;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 32px;
    align-items: center;
    animation: marquee-scroll 30s linear infinite;
    width: max-content;
}

.marquee-item {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cream);
    white-space: nowrap;
}

.marquee-dot {
    color: var(--green-light);
    font-size: 0.5rem;
    flex-shrink: 0;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========================================
   SECTION COMMON
======================================== */
.section-eyebrow {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--green-light);
    margin-bottom: 20px;
}

.section-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--green-deep);
    margin-bottom: 28px;
}

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

.body-large {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--text-mid);
    margin-bottom: 20px;
}

.body-copy {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-mid);
    margin-bottom: 16px;
}

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

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

.about-image-col img {
    width: 100%;
    height: auto;
    aspect-ratio: 560/700;
    object-fit: cover;
    display: block;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-item svg {
    color: var(--green-deep);
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-item span {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-dark);
    padding-top: 2px;
}

/* ========================================
   COLLECTION
======================================== */
.collection {
    padding: 100px 0 120px;
    background: var(--cream);
}

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

.section-header .section-headline {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.collection-card {
    background: var(--white);
    border: 1px solid rgba(26, 60, 42, 0.06);
    overflow: hidden;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.collection-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(26, 60, 42, 0.1);
}

.collection-card-img {
    overflow: hidden;
}

.collection-card-img img {
    width: 100%;
    height: auto;
    aspect-ratio: 480/600;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease-out);
}

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

.collection-card-info {
    padding: 28px 28px 32px;
}

.collection-card-info h3 {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--green-deep);
    margin-bottom: 8px;
}

.collection-card-info p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-mid);
}

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

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

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

.visit .section-headline {
    color: var(--cream);
}

.visit .section-headline em {
    color: var(--cream-dark);
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin: 40px 0 48px;
}

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

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

.visit-detail strong {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green-light);
    margin-bottom: 6px;
}

.visit-detail p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--cream);
}

.visit-detail a {
    color: var(--cream);
    border-bottom: 1px solid rgba(244, 241, 234, 0.3);
    transition: border-color 0.25s;
}

.visit-detail a:hover {
    border-color: var(--cream);
}

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

.visit-image-col img {
    width: 100%;
    height: auto;
    aspect-ratio: 560/680;
    object-fit: cover;
    display: block;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: var(--green-deep);
    border-top: 1px solid rgba(244, 241, 234, 0.08);
    padding: 56px 0 40px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--cream);
    display: block;
    margin-bottom: 8px;
}

.footer-tagline {
    font-size: 0.875rem;
    color: rgba(244, 241, 234, 0.5);
}

.footer-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(244, 241, 234, 0.6);
    transition: color 0.25s;
}

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

.footer-copy {
    font-size: 0.8125rem;
    color: rgba(244, 241, 234, 0.35);
}

/* ========================================
   SCROLL REVEAL (progressive enhancement)
======================================== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    }

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

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
    }

    .about-grid,
    .visit-container {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav-menu,
    .nav-cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    /* Mobile menu */
    .nav-menu.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(244, 241, 234, 0.98);
        backdrop-filter: blur(16px);
        padding: 32px 24px;
        gap: 24px;
        border-bottom: 1px solid rgba(26, 60, 42, 0.08);
    }

    .nav-menu.mobile-open a {
        font-size: 1rem;
    }

    .nav-cta.mobile-open {
        display: flex;
        position: absolute;
        top: calc(72px + 200px);
        left: 0;
        right: 0;
        justify-content: center;
        padding-bottom: 24px;
        background: rgba(244, 241, 234, 0.98);
    }

    .hero {
        padding: 100px 0 0;
    }

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

    .hero-card {
        padding: 40px 32px;
    }

    .hero-image-wrap {
        max-width: 100%;
    }

    .float-card--1 {
        left: 16px;
        bottom: 40px;
    }

    .float-card--2 {
        right: 16px;
        top: 48px;
    }

    .float-card--3 {
        right: 16px;
        bottom: -8px;
    }

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

    .about-image-col {
        order: -1;
    }

    .about-image-col img {
        aspect-ratio: 4/5;
    }

    .collection-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

    .visit-image-col {
        order: -1;
    }

    .visit-image-col img {
        aspect-ratio: 4/5;
    }

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

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

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

    .hero-card {
        padding: 32px 24px;
    }

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

    .float-card {
        padding: 14px 18px;
    }

    .float-card-number {
        font-size: 1.375rem;
    }

    .about,
    .collection,
    .visit {
        padding: 80px 0;
    }

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