/* Light Food Way - Modern & Organic Theme */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    /* Light Food Way Brand Palette (Logo Based) */
    --color-brand-light: #91c853;
    /* Logo Light Green */
    --color-brand-dark: #3b5f3b;
    /* Logo Dark Green */

    /* CTA / Action Colors */
    --color-cta: #e05d34;
    /* Warm Orange for Buttons (Preserved) */
    --color-cta-hover: #c44e2b;

    /* Functional Colors */
    --color-primary: #91c853;
    /* Mapping for general primary use, but careful with buttons */
    --color-secondary: #3b5f3b;
    /* Text and Dark backgrounds */

    --color-text: #3b5f3b;
    /* Text is now Dark Brand Green */
    --color-bg-light: #fdfefd;
    /* Very clean off-white/pale green tint */
    --color-bg-alt: #f4f8f0;
    /* Lightest Mint/Green tint for sections */
    --color-surface: #ffffff;

    --color-accent: #e05d34;
    /* Use Orange as accent */
    --color-white: #ffffff;

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

    --border-radius: 20px;
    --shadow-sm: 0 4px 10px rgba(59, 95, 59, 0.08);
    --shadow-md: 0 10px 25px rgba(59, 95, 59, 0.12);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--color-bg-light);
    color: var(--color-text);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

ul {
    list-style: none;
}

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

/* --- Layout Utilities --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: var(--spacing-lg) 0;
}

.grid {
    display: grid;
    gap: var(--spacing-md);
}

.flex {
    display: flex;
    gap: var(--spacing-sm);
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--color-brand-light);
    /* Or Brand Dark depending on BG */
}

.text-accent {
    color: var(--color-cta);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--color-cta-hover);
}

.btn-accent {
    background-color: var(--color-brand-light);
    color: var(--color-text);
    /* Dark text on light green button */
}

.btn-outline {
    border: 2px solid var(--color-primary);
    color: var(--color-brand-dark);
    font-weight: 700;
    background: transparent;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* --- components --- */
.card {
    background: var(--color-white);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-xs);
    color: var(--color-brand-dark);
    /* Dark Green for headings */
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-brand-light);
    /* Light Green for subtitles */
    margin-bottom: var(--spacing-lg);
    display: block;
}

/* --- Header --- */
header {
    background-color: rgba(255, 252, 245, 0.95);
    /* Cream tint */
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.3rem 0;
    /* Reduced padding to keep header slim with large logo */
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--color-brand-light);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* .logo class removed, replaced by image */

.logo-img {
    height: 90px;
    /* Increased to 90px */
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-links {
    display: none;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
        gap: 2rem;
        align-items: center;
        /* Ensures text links align with the button */
    }
}

/* --- Hero --- */
.hero {
    padding-top: calc(80px + var(--spacing-lg));
    /* Header height offset */
    padding-bottom: var(--spacing-lg);
    background: linear-gradient(135deg, var(--color-bg-light) 0%, #e6f7d4 100%);
    /* Fresh Green Gradient */
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    align-items: center;
}

@media (min-width: 900px) {
    .hero .container {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    color: #555;
}

.hero-video-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 9 / 16;
    max-width: 300px;
    margin: 0 auto;
    border: 4px solid var(--color-white);
    background: #000;
}

.hero-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Featured Categories --- */
.categories {
    background-color: var(--color-bg-alt);
    /* Alternating background */
}

.categories .grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.cat-card {
    text-align: center;
    background-color: var(--color-surface);
    cursor: pointer;
    border: 2px solid transparent;
}

.cat-card:hover {
    border-color: var(--color-accent);
}

.cat-card h3 {
    color: var(--color-brand-dark);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* --- Featured Items (Menu) --- */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.menu-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.item-name {
    font-weight: 700;
    font-size: 1.1rem;
}

.item-price {
    color: var(--color-brand-dark);
    /* Dark Green for price */
    font-weight: 700;
    font-size: 1.25rem;
}

.item-desc {
    font-size: 0.9rem;
    color: #666;
    flex-grow: 1;
}

.tag {
    display: inline-block;
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    background: var(--color-bg-alt);
    color: var(--color-secondary);
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

/* --- Detox Section --- */
.detox-section {
    background-color: var(--color-brand-dark);
    /* Deep Brand Green for Detox */
    color: var(--color-white);
}

.detox-section .section-title,
.detox-section .section-subtitle {
    color: var(--color-white);
}

.detox-section .section-subtitle {
    opacity: 0.9;
}

.detox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.detox-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
}

.detox-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-accent);
}

/* --- Steps --- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    counter-reset: step;
}

.step-card {
    position: relative;
    text-align: center;
    padding-top: 3rem;
}

.step-card::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--color-brand-light);
    /* Step circle in Light Green */
    color: var(--color-text);
    /* Darker number for contrast */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* --- Trust Strip --- */
.trust-strip {
    background-color: var(--color-bg-alt);
    padding: var(--spacing-md) 0;
}

.trust-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--color-brand-dark);
    /* Text dark */
}

/* --- CTA Block --- */
.cta-block {
    background: var(--color-accent);
    color: white;
    border-radius: var(--border-radius);
    padding: var(--spacing-lg) var(--spacing-md);
    margin: var(--spacing-lg) auto;
    text-align: center;
}

.cta-block h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* --- Footer --- */
footer {
    background: var(--color-text);
    color: #bbb;
    padding: var(--spacing-lg) 0;
    font-size: 0.9rem;
}

footer h4 {
    color: white;
    margin-bottom: 1rem;
}

footer ul li {
    margin-bottom: 0.5rem;
}

footer a:hover {
    color: var(--color-accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

/* Utilities */
.hidden {
    display: none;
}