/* ===================================
   LAKE LIFE NUTRITION — STYLESHEET
   Classic & Elegant Design System
   =================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Palette */
    --forest-950: #0a1f0f;
    --forest-900: #0f2e18;
    --forest-800: #143d21;
    --forest-700: #1a4d2a;
    --forest-600: #226136;
    --forest-500: #2d7a44;
    --forest-400: #3d9958;
    --forest-300: #6bb37e;
    --forest-200: #9ec9a5;
    --forest-100: #d0e5cc;
    --forest-50:  #eaf3e8;

    --cream-950:  #1a1814;
    --cream-900:  #2a2520;
    --cream-800:  #3d3630;
    --cream-700:  #5a514a;
    --cream-600:  #7a7068;
    --cream-500:  #9a9088;
    --cream-400:  #b8afa8;
    --cream-300:  #d4cdc6;
    --cream-200:  #e8e2db;
    --cream-100:  #f2ede7;
    --cream-50:   #faf7f3;
    --cream-25:   #fdfcfa;

    --gold-500:   #b8943e;
    --gold-400:   #d4af5a;
    --gold-300:   #e8cc8a;

    /* Typography */
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans:  'Lato', 'Segoe UI', system-ui, sans-serif;

    /* Spacing */
    --space-xs:  0.25rem;
    --space-sm:  0.5rem;
    --space-md:  1rem;
    --space-lg:  1.5rem;
    --space-xl:  2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Layout */
    --container-max: 1200px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Shadows */
    --shadow-sm:  0 1px 3px rgba(10, 31, 15, 0.08);
    --shadow-md:  0 4px 16px rgba(10, 31, 15, 0.10);
    --shadow-lg:  0 8px 32px rgba(10, 31, 15, 0.12);
    --shadow-xl:  0 16px 48px rgba(10, 31, 15, 0.14);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

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

body {
    font-family: var(--font-sans);
    color: var(--cream-900);
    background-color: var(--cream-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul {
    list-style: none;
}

/* ---------- Utility ---------- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.875rem 1.75rem;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.9375rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--forest-700);
    color: var(--cream-50);
    border: 2px solid var(--forest-700);
}

.btn-primary:hover {
    background-color: var(--forest-800);
    border-color: var(--forest-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--cream-50);
    border: 2px solid var(--cream-200);
}

.btn-secondary:hover {
    background-color: var(--cream-50);
    color: var(--forest-800);
    border-color: var(--cream-50);
}

.btn-light {
    background-color: var(--cream-50);
    color: var(--forest-800);
    border: 2px solid var(--cream-50);
}

.btn-light:hover {
    background-color: transparent;
    color: var(--cream-50);
    border-color: var(--cream-50);
}

.btn-full {
    width: 100%;
}

/* ---------- Navigation ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(250, 247, 243, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--cream-200);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--forest-800);
    letter-spacing: -0.01em;
}

.logo-icon {
    color: var(--forest-600);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--cream-700);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--forest-600);
    transition: width var(--transition-base);
}

.nav-links a:hover {
    color: var(--forest-700);
}

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

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--forest-800);
    border-radius: 2px;
    transition: all var(--transition-base);
}

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

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

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

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background-color: var(--cream-50);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    transform: translateX(100%);
    transition: transform var(--transition-base);
}

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

.mobile-menu-overlay a {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--forest-800);
    transition: color var(--transition-fast);
}

.mobile-menu-overlay a:hover {
    color: var(--forest-500);
}

.close-menu-btn {
    position: absolute;
    top: var(--space-xl);
    right: var(--space-xl);
    font-size: 2rem;
    color: var(--forest-800);
    line-height: 1;
}

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

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(ellipse at 20% 50%, rgba(45, 122, 68, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(184, 148, 62, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(26, 77, 42, 0.4) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
}

/* Main Hero Card */
.hero-main-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    background: rgba(250, 247, 243, 0.06);
    border: 1px solid rgba(250, 247, 243, 0.12);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    backdrop-filter: blur(8px);
}

.hero-content {
    color: var(--cream-50);
}

.hero-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-300);
    background: rgba(184, 148, 62, 0.15);
    border: 1px solid rgba(184, 148, 62, 0.3);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-lg);
}

.hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--cream-50);
    margin-bottom: var(--space-lg);
}

.hero-sub {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--cream-300);
    margin-bottom: var(--space-2xl);
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.hero-image-accent {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--forest-400);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.5;
}

/* Floating Stat Cards */
.floating-cards {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    z-index: 2;
}

.float-card {
    background: rgba(250, 247, 243, 0.95);
    backdrop-filter: blur(8px);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    text-align: center;
    min-width: 140px;
}

.float-card-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--forest-700);
    line-height: 1.2;
}

.float-card-label {
    font-size: 0.8125rem;
    color: var(--cream-600);
    letter-spacing: 0.02em;
}

.card-1 { transform: translateX(40px); }
.card-2 { transform: translateX(0); }
.card-3 { transform: translateX(-40px); }

/* ---------- Section Shared ---------- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--forest-600);
    margin-bottom: var(--space-sm);
}

.section-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--forest-900);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

.section-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--forest-600), var(--gold-400));
    border-radius: 2px;
    margin: 0 auto var(--space-lg);
}

.section-header p {
    font-size: 1.0625rem;
    color: var(--cream-700);
    line-height: 1.7;
}

section {
    padding: var(--space-4xl) 0;
}

/* ---------- About Section ---------- */
.about {
    background-color: var(--cream-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

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

.about-image-wrapper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-image-accent {
    position: absolute;
    bottom: -16px;
    left: -16px;
    width: 60%;
    height: 60%;
    border: 2px solid var(--forest-300);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.6;
}

.about-content .lead {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--forest-700);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.about-content p {
    color: var(--cream-700);
    line-height: 1.75;
    margin-bottom: var(--space-md);
}

.about-values {
    display: flex;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.value-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 600;
    color: var(--forest-800);
    font-size: 0.9375rem;
}

.value-item svg {
    color: var(--forest-600);
    flex-shrink: 0;
}

/* ---------- Specialty Section ---------- */
.specialty {
    background-color: var(--forest-800);
    color: var(--cream-50);
}

.specialty .section-tag {
    color: var(--gold-400);
}

.specialty .section-header h2 {
    color: var(--cream-50);
}

.specialty .section-header p {
    color: var(--cream-300);
}

.specialty-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.showcase-item {
    background: rgba(250, 247, 243, 0.06);
    border: 1px solid rgba(250, 247, 243, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.showcase-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(250, 247, 243, 0.2);
}

.showcase-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.showcase-text {
    padding: var(--space-xl);
}

.showcase-text h3 {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--cream-50);
    margin-bottom: var(--space-sm);
}

.showcase-text p {
    font-size: 0.9375rem;
    color: var(--cream-300);
    line-height: 1.65;
}

/* ---------- Products Section ---------- */
.products {
    background-color: var(--cream-100);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.product-card {
    background: var(--cream-50);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid var(--cream-200);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-card .product-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card .product-info {
    padding: var(--space-lg);
}

.product-card h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--forest-800);
    margin-bottom: var(--space-sm);
}

.product-card p {
    font-size: 0.9375rem;
    color: var(--cream-700);
    line-height: 1.6;
}

/* ---------- CTA Section ---------- */
.cta {
    background: linear-gradient(135deg, var(--forest-900) 0%, var(--forest-700) 100%);
    color: var(--cream-50);
    text-align: center;
    padding: var(--space-4xl) 0;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta .section-tag {
    color: var(--gold-400);
}

.cta h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--cream-50);
    line-height: 1.2;
    margin-bottom: var(--space-lg);
}

.cta-desc {
    font-size: 1.0625rem;
    color: var(--cream-300);
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
}

.cta-info {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    flex-wrap: wrap;
    margin-bottom: var(--space-2xl);
}

.cta-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--cream-200);
    font-size: 0.9375rem;
}

.cta-item svg {
    color: var(--gold-400);
    flex-shrink: 0;
}

.cta-item a {
    color: var(--cream-200);
    transition: color var(--transition-fast);
}

.cta-item a:hover {
    color: var(--gold-400);
}

/* ---------- Contact Section ---------- */
.contact {
    background-color: var(--cream-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.contact-info .contact-desc {
    font-size: 1.0625rem;
    color: var(--cream-700);
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.detail {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.detail-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--forest-600);
}

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

.detail-value a {
    color: var(--forest-700);
    transition: color var(--transition-fast);
}

.detail-value a:hover {
    color: var(--forest-500);
    text-decoration: underline;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--cream-50);
    border: 1px solid var(--cream-200);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--forest-800);
    letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--cream-300);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--cream-900);
    background: var(--cream-25);
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--forest-500);
    box-shadow: 0 0 0 3px rgba(45, 122, 68, 0.15);
    background: var(--cream-50);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--cream-500);
}

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

.form-success {
    display: none;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--forest-50);
    border: 1px solid var(--forest-200);
    border-radius: var(--radius-sm);
    color: var(--forest-700);
    font-size: 0.9375rem;
    margin-top: var(--space-md);
}

.form-success.show {
    display: flex;
}

.form-success svg {
    flex-shrink: 0;
    color: var(--forest-600);
}

/* ---------- Map Section ---------- */
.map-section {
    border-top: 1px solid var(--cream-200);
}

.map-container iframe {
    filter: grayscale(30%) contrast(1.05);
}

/* ---------- Footer ---------- */
.footer {
    background-color: var(--forest-950);
    color: var(--cream-300);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-3xl);
}

.footer-brand .logo {
    color: var(--cream-50);
    margin-bottom: var(--space-md);
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--cream-400);
    max-width: 280px;
}

.footer-links h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--cream-100);
    margin-bottom: var(--space-lg);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    font-size: 0.9375rem;
    color: var(--cream-400);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    border-top: 1px solid rgba(250, 247, 243, 0.1);
    padding-top: var(--space-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--cream-500);
}

/* ---------- Scroll Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-main-card {
        grid-template-columns: 1fr;
        padding: var(--space-2xl);
    }

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

    .floating-cards {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        justify-content: center;
        margin-top: var(--space-xl);
    }

    .float-card { transform: none !important; }

    .specialty-showcase {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

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

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding-top: 72px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero-sub {
        font-size: 1rem;
    }

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

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

    .about-values {
        flex-direction: column;
        gap: var(--space-md);
    }

    .products-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .cta-info {
        flex-direction: column;
        gap: var(--space-md);
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

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

    .hero-main-card {
        padding: var(--space-lg);
    }

    .float-card {
        min-width: 120px;
        padding: var(--space-sm) var(--space-md);
    }

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

    section {
        padding: var(--space-3xl) 0;
    }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
