/* Design System: High-End Editorial Sunflower Oil Experience */

:root {
    /* Colors: Tonal Depth & The Organic Glow */
    --primary: #7d5700; /* Deep Gold */
    --primary-container: #ffb81c; /* Golden Glow */
    --on-primary-container: #1e1b17;
    --secondary: #3f6833; /* Stem Green */
    --surface: #fff8f3; /* Morning Parchment */
    --surface-container-low: #faf2ec; /* Subtle Depth */
    --surface-container-lowest: #ffffff; /* Pure White */
    --on-surface: #1e1b17; /* Ink Black */
    --error: #ba1a1a;
    --error-container: #ffdad6;
    --on-error-container: #410002;
    
    /* Typography */
    --font-serif: 'Noto Serif', serif;
    --font-sans: 'Manrope', sans-serif;
    
    /* Shadows */
    --ambient-shadow: 0 12px 24px rgba(30, 27, 23, 0.04);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: none; /* The No-Line Rule */
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--surface);
    color: var(--on-surface);
    font-family: var(--font-sans);
    line-height: 1.6; /* body-lg */
    overflow-x: hidden;
}

/* Typography Classes */
.display-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* display-lg */
    letter-spacing: -0.02em;
    font-weight: 500;
    line-height: 1.1;
    color: var(--on-surface);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.8rem);
    letter-spacing: -0.02em;
    font-weight: 500;
    color: var(--on-surface);
    margin-bottom: 1rem;
}

.body-text {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
}

.label {
    font-family: var(--font-sans);
    font-size: 0.875rem; /* label-md */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    color: var(--primary);
    display: inline-block;
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-sm {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
}

.btn-primary {
    background: radial-gradient(circle at top left, #ffd770, var(--primary-container));
    color: var(--on-primary-container);
    border-radius: 999px; /* rounded-full */
    box-shadow: 0 4px 12px rgba(255, 184, 28, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 184, 28, 0.3);
}

.btn-tertiary {
    background: transparent;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
}

.btn-tertiary:hover {
    color: var(--on-surface);
}

/* Navigation - The Glass & Gradient Rule */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 248, 243, 0.7); /* surface at 70% opacity */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

.glass-nav.scrolled {
    padding: 1rem 0;
    box-shadow: var(--ambient-shadow);
}

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

.brand-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--on-surface);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    font-family: var(--font-sans);
    color: var(--on-surface);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-item:hover {
    color: var(--primary);
}

.language-selector select {
    background: transparent;
    font-family: var(--font-sans);
    font-weight: 500;
    color: var(--on-surface);
    cursor: pointer;
    font-size: 0.9rem;
    outline: none;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    color: var(--on-surface);
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--surface);
    z-index: 99;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu .nav-item {
    font-size: 1.5rem;
    font-family: var(--font-serif);
}

/* Sections */
section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-alt {
    max-width: 100%;
    background-color: var(--surface-container-low);
    padding: 8rem 2rem;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    padding-top: 8rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 2;
}

.hero-content .display-title {
    margin-bottom: 1.5rem;
}

.hero-content .body-text {
    margin-bottom: 2.5rem;
    max-width: 480px;
    color: #4a453f; /* Slightly lighter for breathability */
}

.hero-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.hero-visual {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-effect {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,184,28,0.15) 0%, rgba(255,184,28,0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-image {
    width: 80%;
    height: 100%;
    object-fit: cover;
    border-radius: 200px 200px 0 0; /* Arch shape for asymmetry */
    box-shadow: var(--ambient-shadow);
    z-index: 1;
    position: relative;
}

/* Product Cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: var(--surface-container-lowest);
    border-radius: 16px;
    padding: 24px; /* xl spacing */
    box-shadow: var(--ambient-shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(30, 27, 23, 0.08);
}

.card-image-wrapper {
    width: calc(100% + 48px); /* Break container */
    margin: -48px -24px 24px -24px; /* Overlap edge */
    height: 300px;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    position: relative;
}

/* Surface tint overlay */
.card-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--surface);
    opacity: 0.05;
    pointer-events: none;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.card-desc {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: #4a453f;
    margin-bottom: 2rem;
    flex-grow: 1;
}

/* Footer */
footer {
    padding: 4rem 2rem;
    text-align: center;
    background-color: var(--surface);
}

.footer-content .brand-logo {
    display: block;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 10rem;
        gap: 2rem;
    }

    .hero-content {
        align-items: center;
    }

    .hero-content .body-text {
        text-align: center;
    }

    .hero-image {
        width: 100%;
        max-width: 500px;
        height: 500px;
    }
}

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

    .language-selector {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 101;
    }

    .mobile-lang {
        display: block;
    }

    .display-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }
    
    .hero {
        min-height: auto;
    }
}
