/*
Color Palette: Bordeaux-Peach
- Primary: #B22B5B (Bordeaux)
- Accent: #F79C92 (Soft Peach)
- Neutral: #7F8C8D (Cool Gray)
- Text/Dark: #1D2A3C (Dark Charcoal)
*/

:root {
    --primary-color: #B22B5B;
    --accent-color: #F79C92;
    --neutral-color: #7F8C8D;
    --dark-color: #1D2A3C;
    --light-color: #FFFFFF;
    --background-light: #f9f9f9;
    --text-color: #333;
    --footer-bg: #1D2A3C;
    --footer-text: #EAEAEA;
}

/* --- Global Styles --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: clamp(40px, 8vw, 80px) 0;
}

.section-title {
    font-size: clamp(28px, 5vw, 42px);
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: clamp(16px, 2.5vw, 18px);
    color: var(--neutral-color);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.btn-primary:hover {
    background-color: #8e2248;
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
    text-decoration: none;
    transform: translateY(-2px);
}

/* --- Header --- */
.site-header {
    background-color: var(--light-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 10px;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--dark-color);
    z-index: 100;
}
.logo:hover { text-decoration: none; }

.hamburger {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 100;
    display: none;
}

.hamburger .line {
    width: 100%;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px 0;
    transition: 0.3s;
}

.menu-checkbox {
    display: none;
}

.desktop-nav {
    display: block;
}

.desktop-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.desktop-nav .nav-list a {
    color: var(--dark-color);
    font-weight: 500;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.desktop-nav .nav-list a:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    text-decoration: none;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 72px; /* Header height */
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    background-color: var(--light-color);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 99;
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.mobile-nav a {
    color: var(--dark-color);
    font-size: 18px;
}

@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .hamburger { display: block; }
    .mobile-nav { display: block; }
    #menu-toggle:checked ~ .mobile-nav { max-height: 400px; }
    #menu-toggle:checked ~ .hamburger .line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    #menu-toggle:checked ~ .hamburger .line:nth-child(2) { opacity: 0; }
    #menu-toggle:checked ~ .hamburger .line:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }
}

/* --- Footer --- */
.site-footer {
    background-color: var(--footer-bg) !important;
    color: var(--footer-text) !important;
    padding: 60px 0 20px 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.site-footer h3 {
    color: var(--light-color);
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-logo {
    font-size: 24px;
    font-weight: bold;
}

.site-footer p, .site-footer li {
    margin-bottom: 10px;
    font-size: 15px;
}

.site-footer a {
    color: var(--footer-text) !important;
}

.site-footer a:hover {
    color: var(--accent-color) !important;
    text-decoration: underline;
}

.footer-links ul, .footer-legal ul {
    list-style: none;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 14px;
}

/* --- Hero Section (V3) --- */
.hero-section.hero-v3 {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 60px 0;
    overflow: hidden;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-background-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.hero-content-card {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 8px;
    max-width: 650px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.hero-content-card h1 {
    color: var(--dark-color);
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 20px;
}

.hero-content-card p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* --- Key Nutrients Section --- */
.key-nutrients-section {
    background-color: var(--background-light);
}

.nutrients-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.nutrient-card {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.nutrient-icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.nutrient-icon {
    font-size: 28px;
    font-weight: bold;
}

.nutrient-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* --- Numbered Steps Section --- */
.steps-container {
    max-width: 900px;
    margin: 0 auto;
}
.step-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    align-items: flex-start;
}
.step-number {
    font-size: 60px;
    font-weight: bold;
    color: var(--accent-color);
    line-height: 1;
}
.step-content h3 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

/* --- Split Image Text Section --- */
.split-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.split-image {
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.split-text-content .section-title {
    text-align: left;
}

/* --- Testimonial (V3) --- */
.testimonial-v3-section {
    background-color: var(--background-light);
}
.testimonial-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    padding: 40px;
}
.testimonial-quote-mark {
    font-size: 120px;
    color: var(--accent-color);
    position: absolute;
    top: 0;
    left: 0;
    line-height: 1;
    opacity: 0.5;
    z-index: 1;
}
.testimonial-quote {
    font-size: 22px;
    font-style: italic;
    color: var(--dark-color);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}
.testimonial-author {
    font-weight: bold;
    color: var(--primary-color);
}

/* --- CTA Section --- */
.cta-section {
    background-color: var(--dark-color);
    color: var(--light-color);
}
.cta-container {
    text-align: center;
}
.cta-container h2 {
    color: var(--light-color);
    font-size: 32px;
    margin-bottom: 15px;
}

/* --- Program Page --- */
.page-header-section {
    background-color: var(--background-light);
    text-align: center;
    padding: 60px 0;
}
.page-title { font-size: 48px; color: var(--dark-color); }
.page-subtitle { font-size: 18px; color: var(--neutral-color); max-width: 700px; margin: 10px auto 0; }

.program-intro { max-width: 800px; margin: 0 auto 50px auto; text-align: center; font-size: 18px; }

.program-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.program-timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--accent-color);
    top: 0;
    bottom: 0;
    left: 15px;
}
.timeline-item {
    padding: 10px 40px 30px 60px;
    position: relative;
}
.timeline-icon {
    position: absolute;
    left: 0;
    top: 15px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--light-color);
    border: 3px solid var(--primary-color);
    z-index: 1;
}
.timeline-content h3 { color: var(--primary-color); margin-bottom: 10px; }

.accordion { max-width: 800px; margin: 40px auto 0; }
.accordion-item { border-bottom: 1px solid #ddd; }
.accordion-header {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 20px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    position: relative;
}
.accordion-header::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 24px;
    color: var(--primary-color);
    transition: transform 0.3s;
}
.accordion-header.active::after { transform: rotate(45deg); }
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
}
.accordion-content p { padding-bottom: 20px; }

/* --- Mission Page --- */
.mission-story-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.mission-image-container img { border-radius: 8px; }
.mission-text-container h2 { margin-bottom: 20px; color: var(--dark-color); }

.values-section { background-color: var(--background-light); }
.values-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
.value-card {
    background: var(--light-color);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}
.value-card h3 { color: var(--primary-color); margin-bottom: 15px; }

.commitment-section { text-align: center; }
.commitment-section p { max-width: 800px; margin: 0 auto 30px auto; }

/* --- Contact Page --- */
.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.contact-info-card {
    background-color: var(--background-light);
    padding: 25px;
    border-radius: 8px;
}
.contact-info-card h3 { color: var(--primary-color); margin-bottom: 10px; }

.contact-form { max-width: 800px; margin: 40px auto 0; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: bold; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* --- Legal & Thank You Pages --- */
.legal-page .container { max-width: 800px; padding: 40px 20px; }
.legal-page h1, .legal-page h2 { margin-top: 30px; margin-bottom: 15px; color: var(--dark-color); }
.legal-page p, .legal-page li { margin-bottom: 15px; }
.text-center { text-align: center; }
.thank-you-section p { font-size: 18px; max-width: 600px; margin: 0 auto 40px auto; }
.next-steps { margin-top: 50px; }
.next-steps-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

/* --- Cookie Banner --- */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    padding: 18px 24px;
    background-color: var(--dark-color);
    color: var(--light-color);
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
    transform: translateY(0); transition: transform 0.4s ease;
}
#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; }
#cookie-banner a { color: var(--accent-color); }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn-accept, .cookie-btn-decline {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}
.cookie-btn-accept { background-color: var(--accent-color); color: var(--dark-color); }
.cookie-btn-decline { background-color: var(--neutral-color); color: var(--light-color); }

/* --- Media Queries --- */
@media (min-width: 768px) {
    .nutrients-grid { grid-template-columns: 1fr 1fr; }
    .split-container { grid-template-columns: 1fr 1fr; }
    .values-grid { grid-template-columns: repeat(3, 1fr); }
    .mission-story-container { grid-template-columns: 40% 1fr; }
    .contact-info-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
    .nutrients-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 600px) {
    #cookie-banner { flex-direction: column; align-items: flex-start; }
    .cookie-btns { width: 100%; }
    .cookie-btn-accept, .cookie-btn-decline { flex: 1; text-align: center; }
}