/* Nutrition Page Specific Styles */
:root {
    --color-sage: #9db299;
    --color-sage-light: #d1dcd0;
    --color-slate: #2f4f4f;
    --color-slate-dark: #1f3535;
    --color-slate-light: #466e6e;
    --color-text-dark: #222;
    --color-text-muted: #555;
}

body.nutrition-page {
    background-color: #fcfcfc;
    color: var(--color-text-dark);
}

/* Update Navbar for Nutrition Page */
.nutrition-navbar {
    background: var(--color-slate-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nutrition-navbar .nav-links a:hover,
.nutrition-navbar .nav-links a.active {
    color: var(--color-sage);
}

/* Hero Section */
.nutrition-hero {
    position: relative;
    padding: 120px 5% 100px;
    color: white;
    text-align: left;
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 1;
}
.hero-video-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(47, 79, 79, 0.95), rgba(47, 79, 79, 0.7));
    z-index: 2;
}
.split-video {
    width: 50%;
    height: 100%;
    object-fit: cover;
}
.nutrition-hero-content {
    max-width: 800px;
    z-index: 3;
    position: relative;
}
.nutrition-hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.nutrition-hero h1 span {
    color: var(--color-sage);
    display: block;
}
.nutrition-hero p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #e0e0e0;
    font-weight: 300;
}

/* Introduction Section */
.nutrition-intro {
    padding: 80px 5% 40px;
    background-color: white;
}
.intro-container {
    max-width: 1200px;
    margin: 0 auto;
}
.intro-lead-title {
    font-size: 2.5rem;
    color: var(--color-slate-dark);
    margin-bottom: 20px;
    text-align: center;
}
.intro-lead-text {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
}
.intro-points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.intro-point {
    background: #fcfcfc;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--color-sage);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.intro-point h4 {
    font-size: 1.2rem;
    color: var(--color-slate-dark);
    margin-bottom: 15px;
    line-height: 1.4;
}
.intro-point p {
    color: var(--color-text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Models Showcase in Intro Grid */
.intro-models-showcase {
    background: #fdfdfd;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--color-slate-light);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.models-showcase-title {
    font-size: 1.2rem;
    color: var(--color-slate-dark);
    margin-bottom: 25px;
    text-align: center;
}
.models-images-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap;
}
.model-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 30%;
    min-width: 120px;
}
.model-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
    filter: grayscale(100%);
    transition: transform 0.3s ease;
}
.model-wrapper:hover img {
    transform: scale(1.05);
}
.model-name {
    font-weight: 700;
    color: var(--color-slate-dark);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

/* Grid Section */
.nutrition-grid-section {
    padding: 100px 5%;
    background-color: #f9fbf9;
}
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}
.reason-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--color-sage);
}
.reason-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(47, 79, 79, 0.1);
}
.reason-img-wrapper {
    height: 220px;
    overflow: hidden;
}
.reason-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: transform 0.6s ease, filter 0.6s ease;
}
.reason-card:hover .reason-img-wrapper img {
    transform: scale(1.05);
    filter: grayscale(0%);
}
.reason-content {
    padding: 30px;
}
.reason-step {
    font-size: 0.9rem;
    color: var(--color-sage);
    font-weight: 700;
    margin-bottom: 15px;
    display: inline-block;
    border-bottom: 2px solid var(--color-sage-light);
}
.reason-content h3 {
    font-size: 1.4rem;
    color: var(--color-slate-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}
.reason-content p {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Data Tables Section */
.nutrition-tables-section {
    padding: 80px 5%;
    background: var(--color-slate);
    color: white;
}
.tables-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}
.data-table-wrapper h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--color-sage);
    text-align: center;
}
table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}
th, td {
    padding: 18px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
th {
    background: rgba(0,0,0,0.2);
    color: var(--color-sage-light);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}
tr:last-child td {
    border-bottom: none;
}
td {
    color: #f0f0f0;
    font-size: 1rem;
}
tr:hover td {
    background: rgba(255, 255, 255, 0.08);
}
.highlight-row td {
    background: rgba(157, 178, 153, 0.15); /* sage tint */
    font-weight: bold;
    color: white;
}
.highlight-row:hover td {
    background: rgba(157, 178, 153, 0.25);
}

/* Conclusion Section */
.nutrition-conclusion {
    padding: 100px 5%;
    text-align: center;
    background-color: white;
}
.nutrition-conclusion-content {
    max-width: 800px;
    margin: 0 auto;
}
.nutrition-conclusion h2 {
    font-size: 2.5rem;
    color: var(--color-slate-dark);
    margin-bottom: 30px;
}
.nutrition-conclusion p {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* Media Showcase Section */
.media-showcase-section {
    padding: 0 2% 100px;
    background-color: white;
}
.media-showcase-container {
    max-width: 2400px; /* 30% larger container space */
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}
.media-image-wrapper {
    flex: 2;
    min-width: 900px; /* 30% larger */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}
.media-video-wrapper {
    flex: 1.2;
    min-width: 550px; /* 30% larger */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}
.media-image-wrapper img, .media-video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

@media (max-width: 768px) {
    .nutrition-hero h1 { font-size: 2.5rem; }
    .intro-models-showcase { grid-column: 1 / -1; }
    .tables-container, .reasons-grid, .media-showcase-container { grid-template-columns: 1fr; }
    .media-showcase-container { flex-direction: column; }
    th, td { padding: 12px 10px; font-size: 0.9rem; }
}

/* Utilities */
.nutrition-logo {
    height: 40px;
}
.reasons-grid-header {
    text-align: center;
    margin-bottom: 60px;
}
.reasons-grid-header h2 {
    font-size: 2.2rem;
    color: var(--color-slate-dark);
}
.reasons-grid-header p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}
.savings-highlight {
    color: #6fe5a5 !important;
}
.nutrition-footer {
    background: #111; /* var(--color-dark) fallback */
    color: white;
    text-align: center;
    padding: 2rem 5%;
}
