/* ============================================
   MARILYN KITCHEN — Custom Stylesheet
   Bold Editorial | Burgundy + Blush
   ============================================ */

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

:root {
    --burgundy: #7B2D3B;
    --burgundy-deep: #5C1F2C;
    --burgundy-light: #9A3D4E;
    --blush: #F5E6D3;
    --blush-light: #FDF6EE;
    --blush-mid: #EDD5C0;
    --cream: #FFFAF5;
    --charcoal: #1A1412;
    --text-dark: #2C1E1A;
    --text-mid: #5C4A44;
    --text-light: #8A7068;
    --white: #FFFFFF;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

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

/* ---------- Typography ---------- */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 20px;
}

.section-eyebrow::before {
    content: '';
    display: block;
    width: 32px;
    height: 1.5px;
    background: var(--burgundy);
}

.section-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.headline-accent {
    color: var(--burgundy);
    font-style: italic;
}

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

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

.btn-primary:hover {
    background: var(--burgundy-deep);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(123, 45, 59, 0.3);
}

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

.btn-outline:hover {
    background: var(--burgundy);
    color: var(--white);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1rem;
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 250, 245, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(123, 45, 59, 0.08);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(123, 45, 59, 0.08);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--burgundy);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--burgundy);
    border-radius: 50%;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-mid);
    transition: var(--transition);
    position: relative;
}

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

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

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

.nav-cta {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    background: var(--burgundy);
    padding: 10px 22px;
    border-radius: 4px;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--burgundy-deep);
    transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-dark);
    position: relative;
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

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

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--cream);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--burgundy);
    cursor: pointer;
    line-height: 1;
    padding: 8px;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mobile-link {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-dark);
    padding: 12px 24px;
    transition: var(--transition);
}

.mobile-link:hover {
    color: var(--burgundy);
}

.mobile-cta {
    margin-top: 24px;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    background: var(--burgundy);
    padding: 16px 36px;
    border-radius: 4px;
}

/* ---------- Hero ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--cream);
    overflow: hidden;
    padding-top: 72px;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(ellipse at 20% 50%, rgba(123, 45, 59, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(245, 230, 211, 0.8) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-left {
    max-width: 560px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 32px;
}

.eyebrow-line {
    display: block;
    width: 48px;
    height: 1.5px;
    background: var(--burgundy);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.05;
    color: var(--text-dark);
    margin-bottom: 28px;
    letter-spacing: -0.03em;
}

.headline-accent {
    color: var(--burgundy);
    font-style: italic;
}

.hero-description {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--text-mid);
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

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

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

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

.stat-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-top: 4px;
}

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

/* Hero Image Stack */
.hero-right {
    position: relative;
}

.hero-image-stack {
    position: relative;
    height: 680px;
}

.hero-img {
    position: absolute;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(123, 45, 59, 0.15);
}

.hero-img-main {
    width: 520px;
    height: 680px;
    top: 0;
    right: 0;
}

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

.hero-img-secondary {
    width: 280px;
    height: 200px;
    bottom: 40px;
    left: -40px;
    border: 4px solid var(--cream);
}

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

.hero-badge {
    position: absolute;
    bottom: 270px;
    left: -20px;
    background: var(--burgundy);
    color: var(--white);
    padding: 16px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    box-shadow: 0 8px 24px rgba(123, 45, 59, 0.3);
    z-index: 2;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-light);
    z-index: 1;
}

.hero-scroll-indicator svg {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

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

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

.about-image-col {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(123, 45, 59, 0.12);
}

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

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--blush);
    border-radius: 8px;
    z-index: -1;
}

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

.about-body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-mid);
    margin-bottom: 20px;
}

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

.value-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.value-icon {
    width: 48px;
    height: 48px;
    background: var(--blush-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burgundy);
    flex-shrink: 0;
}

.value-text {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* ---------- Products ---------- */
.products {
    padding: 120px 0;
    background: var(--cream);
}

.products-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}

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

.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(123, 45, 59, 0.06);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(123, 45, 59, 0.12);
}

.product-image {
    overflow: hidden;
    height: 240px;
}

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

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

.product-content {
    padding: 28px 32px;
}

.product-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.product-desc {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-mid);
}

/* ---------- Gallery ---------- */
.gallery {
    padding: 120px 0;
    background: var(--white);
}

.gallery-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

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

.gallery-item:hover img {
    transform: scale(1.03);
}

.gallery-item--tall {
    grid-column: span 4;
    grid-row: span 2;
    min-height: 500px;
}

.gallery-item:not(.gallery-item--tall) {
    grid-column: span 4;
    min-height: 240px;
}

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

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

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

.visit .section-eyebrow::before {
    background: var(--blush);
}

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

.visit .headline-accent {
    color: var(--blush);
}

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

.detail-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.detail-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blush);
    flex-shrink: 0;
}

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

.detail-value {
    display: block;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--white);
}

.detail-link {
    transition: var(--transition);
}

.detail-link:hover {
    color: var(--blush);
}

.visit-cta {
    margin-top: 8px;
}

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

.visit-cta .btn-primary:hover {
    background: var(--blush);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.visit-map {
    border-radius: 8px;
    overflow: hidden;
    min-height: 440px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* ---------- Footer ---------- */
.footer {
    background: var(--charcoal);
    color: var(--white);
    padding: 64px 0 32px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 32px;
}

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

.footer-brand .logo-mark {
    color: var(--blush);
    border-color: var(--blush);
    width: 48px;
    height: 48px;
    font-size: 1.75rem;
}

.footer-brand .logo-text {
    color: var(--white);
    font-size: 1.25rem;
}

.footer-tagline {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 280px;
    line-height: 1.6;
}

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

.footer-link-item {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-link-item:hover {
    color: var(--blush);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
    }
    
    .hero-img-main {
        width: 420px;
        height: 560px;
    }
    
    .hero-image-stack {
        height: 560px;
    }
    
    .about-grid {
        gap: 48px;
    }
    
    .products-grid {
        gap: 24px;
    }
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 40px;
    }
    
    .hero-left {
        max-width: 100%;
        order: 1;
    }
    
    .hero-right {
        order: 0;
        max-width: 480px;
        margin: 0 auto;
    }
    
    .hero-headline {
        font-size: clamp(2.25rem, 8vw, 3.5rem);
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-img-main {
        width: 100%;
        height: 480px;
    }
    
    .hero-img-secondary {
        width: 200px;
        height: 140px;
        left: 10px;
        bottom: 20px;
    }
    
    .hero-badge {
        left: 10px;
        bottom: 170px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-image-col {
        max-width: 480px;
        margin: 0 auto;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery-item--tall {
        grid-column: span 2;
        grid-row: span 1;
        min-height: 320px;
    }
    
    .gallery-item:not(.gallery-item--tall) {
        grid-column: span 1;
        min-height: 200px;
    }
    
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .visit-map {
        min-height: 320px;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 20px;
    }
    
    .hero {
        padding-top: 64px;
    }
    
    .hero-container {
        padding: 40px 20px;
    }
    
    .hero-img-main {
        height: 380px;
    }
    
    .hero-image-stack {
        height: 380px;
    }
    
    .hero-img-secondary {
        width: 160px;
        height: 110px;
        left: 5px;
        bottom: 10px;
    }
    
    .hero-badge {
        font-size: 0.7rem;
        padding: 12px 14px;
        bottom: 130px;
        left: 5px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
    }
    
    .about, .products, .gallery, .visit {
        padding: 80px 0;
    }
    
    .section-headline {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item--tall {
        grid-column: span 1;
        min-height: 260px;
    }
    
    .gallery-item:not(.gallery-item--tall) {
        min-height: 200px;
    }
    
    .product-content {
        padding: 20px 24px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
}

/* ---------- Scroll Reveal (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        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);
    }
    
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}
