/* ===================================
   Everyday Nutrition — Styles
   Teal + Slate Grey | Warm & Friendly
   =================================== */

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

:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-300: #5eead4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;

    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;

    --warm-50: #fefdf8;
    --warm-100: #fefce8;
    --warm-200: #fef9c3;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.1), 0 4px 12px rgba(15, 23, 42, 0.05);
    --shadow-xl: 0 20px 48px rgba(15, 23, 42, 0.12), 0 8px 16px rgba(15, 23, 42, 0.06);

    --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
    --font-serif: 'Playfair Display', Georgia, 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(--slate-800);
    background-color: var(--warm-50);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

/* --- Typography --- */
.text-teal { color: var(--teal-600); }
.text-gradient {
    background: linear-gradient(135deg, var(--teal-600) 0%, var(--teal-500) 50%, var(--teal-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal-600);
    background: var(--teal-50);
    border: 1px solid var(--teal-200);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--slate-900);
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--slate-500);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    padding: 12px 28px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-teal {
    background: var(--teal-600);
    color: #fff;
    border-color: var(--teal-600);
}
.btn-teal:hover {
    background: var(--teal-700);
    border-color: var(--teal-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-dark {
    background: transparent;
    color: var(--slate-700);
    border-color: var(--slate-300);
}
.btn-outline-dark:hover {
    border-color: var(--teal-600);
    color: var(--teal-600);
    transform: translateY(-2px);
}

.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; padding: 14px 28px; }

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 253, 248, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
    transition: var(--transition);
}
.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--slate-800);
}
.nav-logo-icon { flex-shrink: 0; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-links a {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--slate-600);
    border-radius: var(--radius-full);
    transition: var(--transition);
}
.nav-links a:hover {
    color: var(--teal-600);
    background: var(--teal-50);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--slate-700);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.nav-toggle:hover { background: var(--slate-100); }

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(160deg, var(--warm-50) 0%, var(--teal-50) 50%, var(--warm-100) 100%);
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(13, 148, 136, 0.06) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(13, 148, 136, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--teal-700);
    background: rgba(13, 148, 136, 0.1);
    border: 1px solid rgba(13, 148, 136, 0.2);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}
.hero-badge svg { opacity: 0.8; }

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--slate-900);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--slate-500);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 480px;
}

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

/* Hero Visual — Card Stack */
.hero-visual {
    position: relative;
    height: 520px;
}

.hero-card-main {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.hero-card-main img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}
.hero-card-main-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.7), transparent);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
}

.stat-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--slate-100);
}
.stat-card-1 {
    top: 20px;
    right: -20px;
}
.stat-card-2 {
    bottom: 140px;
    left: -30px;
}
.stat-card-3 {
    bottom: 20px;
    right: 10px;
}

.stat-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}
.stat-info {
    display: flex;
    flex-direction: column;
}
.stat-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--slate-800);
    line-height: 1.2;
}
.stat-label {
    font-size: 0.78rem;
    color: var(--slate-500);
    font-weight: 500;
}

/* --- Sections --- */
.section {
    padding: 100px 0;
}

/* --- About --- */
.about {
    background: #fff;
}

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

.about-images {
    position: relative;
}
.about-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-img-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}
.about-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -20px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid #fff;
}
.about-img-secondary img {
    width: 280px;
    height: 200px;
    object-fit: cover;
}
.about-floating-badge {
    position: absolute;
    top: -16px;
    left: -16px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--teal-600);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
}

.about-content .section-title { margin-top: 4px; }
.about-text {
    color: var(--slate-600);
    font-size: 1.02rem;
    line-height: 1.8;
    margin-bottom: 16px;
}
.about-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 28px;
}
.about-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 500;
    color: var(--slate-700);
}
.about-feature-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

/* --- Products --- */
.products {
    background: var(--warm-50);
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 56px;
}

.product-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--slate-100);
    transition: var(--transition);
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.product-card-img {
    overflow: hidden;
    height: 200px;
}
.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-card-img img {
    transform: scale(1.05);
}
.product-card-body {
    padding: 24px;
}
.product-card-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal-600);
    background: var(--teal-50);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}
.product-card-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 10px;
}
.product-card-desc {
    font-size: 0.92rem;
    color: var(--slate-500);
    line-height: 1.7;
}

/* --- Why Us --- */
.why-us {
    background: #fff;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.feature-card {
    background: var(--warm-50);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--slate-100);
    transition: var(--transition);
}
.feature-card:hover {
    border-color: var(--teal-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.feature-card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border-radius: var(--radius-md);
    margin: 0 auto 20px;
}
.feature-card-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 10px;
}
.feature-card-desc {
    font-size: 0.9rem;
    color: var(--slate-500);
    line-height: 1.7;
}

/* --- Visit --- */
.visit {
    background: var(--slate-800);
    padding: 100px 0;
}

.visit-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--slate-700);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.visit-card-content {
    padding: 60px 56px;
    display: flex;
    flex-direction: column;
}

.visit-card-content .section-label {
    background: rgba(13, 148, 136, 0.2);
    border-color: rgba(13, 148, 136, 0.3);
    color: var(--teal-300);
}

.visit-card-content .section-title {
    color: #fff;
}

.visit-text {
    color: var(--slate-300);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 36px;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: auto;
}

.visit-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.visit-detail-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 148, 136, 0.15);
    border-radius: var(--radius-sm);
    color: var(--teal-400);
    flex-shrink: 0;
}
.visit-detail-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--slate-400);
    margin-bottom: 2px;
}
.visit-detail-value {
    font-size: 0.95rem;
    color: var(--slate-100);
    font-weight: 500;
}
.visit-detail-value a {
    color: var(--teal-400);
    transition: var(--transition);
}
.visit-detail-value a:hover { color: var(--teal-300); }

.visit-card-image {
    position: relative;
    min-height: 500px;
}
.visit-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
}

/* --- Contact --- */
.contact {
    background: var(--warm-50);
}

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

.contact-text {
    color: var(--slate-500);
    font-size: 1.02rem;
    line-height: 1.75;
    margin-bottom: 32px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--slate-100);
    transition: var(--transition);
    font-weight: 500;
    color: var(--slate-700);
}
.contact-method:hover {
    border-color: var(--teal-200);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}
.contact-method-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

/* Contact Form */
.contact-form-wrapper {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--slate-100);
}

.contact-form-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 28px;
}

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

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--slate-700);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--slate-800);
    background: var(--slate-50);
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-md);
    transition: var(--transition);
    outline: none;
}
.form-input::placeholder { color: var(--slate-400); }
.form-input:focus {
    border-color: var(--teal-500);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 20px;
    background: var(--teal-50);
    border: 1px solid var(--teal-200);
    border-radius: var(--radius-md);
    color: var(--teal-700);
    font-weight: 500;
    font-size: 0.92rem;
}
.form-success.show {
    display: flex;
}

/* --- Footer --- */
.footer {
    background: var(--slate-900);
    color: var(--slate-400);
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid var(--slate-800);
}

.footer-desc {
    font-size: 0.92rem;
    line-height: 1.75;
    margin-top: 16px;
    max-width: 280px;
}

.footer-logo { margin-bottom: 0; }
.footer-logo span { color: var(--slate-200); font-size: 1.1rem; font-weight: 700; }

.footer-heading {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--slate-300);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links a {
    font-size: 0.9rem;
    color: var(--slate-400);
    transition: var(--transition);
}
.footer-links a:hover { color: var(--teal-400); }

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 10px;
}
.footer-contact svg { flex-shrink: 0; margin-top: 2px; }
.footer-contact a { color: var(--slate-400); transition: var(--transition); }
.footer-contact a:hover { color: var(--teal-400); }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 0.82rem;
    color: var(--slate-500);
}

/* --- Scroll Reveal --- */
.reveal-item {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-item.revealed {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: no-preference) {
    .reveal-item {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal-item.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .hero-visual {
        height: 420px;
        max-width: 500px;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .visit-card {
        grid-template-columns: 1fr;
    }
    .visit-card-image {
        min-height: 300px;
        order: -1;
    }
    .visit-card-image img {
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    }
    .visit-card-content {
        padding: 48px 36px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(254, 253, 248, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 16px 24px 24px;
        border-bottom: 1px solid var(--slate-200);
        box-shadow: var(--shadow-md);
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 12px 16px; width: 100%; }
    .nav-toggle { display: flex; align-items: center; justify-content: center; }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    .hero-visual {
        height: 360px;
        margin: 0 auto;
    }
    .stat-card-1 { right: 0; }
    .stat-card-2 { left: 0; }
    .stat-card-3 { right: 0; }

    .section { padding: 72px 0; }
    .products-grid { grid-template-columns: 1fr; gap: 20px; }
    .features-grid { grid-template-columns: 1fr; gap: 16px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .contact-form-wrapper { padding: 28px 20px; }
    .visit-card-content { padding: 36px 24px; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-visual { height: 300px; }
    .hero-card-main img { height: 260px; }
    .stat-card { padding: 12px 14px; }
    .stat-icon { width: 36px; height: 36px; }
}
