/*
 * Color Palette: Graphite & Copper
 * Primary: #E67E22 (Copper Orange)
 * Secondary: #2C3E50 (Dark Graphite)
 * Accent: #BDC3C7 (Light Gray)
 * Text: #34495E (Wet Asphalt)
 * Background: #FFFFFF (White)
*/

:root {
    --primary-color: #E67E22;
    --secondary-color: #2C3E50;
    --accent-color: #ECF0F1;
    --text-color: #34495E;
    --light-text-color: #FFFFFF;
    --bg-color: #FFFFFF;
    --footer-bg-color: #2C3E50;
    --footer-text-color: #BDC3C7;
    --font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* --- Global Styles & Resets --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

h1, h2, h3, h4 {
    color: var(--secondary-color);
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1rem; }
ul { list-style-position: inside; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.page-header-section, .thank-you-section {
    text-align: center;
}

.section-light-bg {
    background-color: var(--accent-color);
}

.section-title-wrapper {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.section-title-wrapper h2 {
    margin-bottom: 10px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #d35400;
    border-color: #d35400;
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--light-text-color);
    transform: translateY(-2px);
    text-decoration: none;
}

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--bg-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.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(--secondary-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(--secondary-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 a {
    color: var(--text-color);
    font-weight: 500;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 65px; /* Adjust based on header height */
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    z-index: 99;
    background-color: var(--bg-color);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.mobile-nav ul { list-style: none; padding: 20px; margin: 0; }
.mobile-nav li { padding: 12px 0; border-bottom: 1px solid var(--accent-color); }
.mobile-nav a { color: var(--secondary-color); display: block; }

@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); }
}

/* --- Page Specific Structures (V2) --- */

/* Index: Hero with Floating Card */
.hero-section-v2 {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
}
.hero-background-image {
    background: linear-gradient(rgba(44, 62, 80, 0.6), rgba(44, 62, 80, 0.6)), url('img/bg.jpg') no-repeat center center/cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.hero-section-v2 .container {
    position: relative;
    z-index: 2;
}
.hero-floating-card {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 8px;
    max-width: 650px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.hero-floating-card h1 { color: var(--primary-color); }

/* Index: Key Nutrients Grid */
.cards-grid {
    display: grid;
    gap: 30px;
}
.cards-grid.four-columns { grid-template-columns: 1fr; }
.info-card {
    background: var(--bg-color);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--accent-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.info-card h3 { color: var(--primary-color); }

/* Index: Split Layout V2 */
.split-layout-v2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.split-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Index: Myths Section */
.myth-item {
    padding: 20px;
    border-left: 4px solid var(--primary-color);
    background-color: var(--accent-color);
    margin-bottom: 20px;
    border-radius: 0 8px 8px 0;
}
.myth-item h4 { margin-bottom: 5px; }

/* Program: Accordion */
.program-accordion { max-width: 900px; margin: 0 auto; }
.accordion-item { border-bottom: 1px solid var(--accent-color); }
.accordion-toggle { display: none; }
.accordion-title {
    display: block;
    padding: 20px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    color: var(--secondary-color);
}
.accordion-title::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    transition: transform 0.3s;
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
    padding: 0 20px;
}
.accordion-toggle:checked ~ .accordion-title::after { transform: rotate(45deg); }
.accordion-toggle:checked ~ .accordion-content {
    max-height: 500px;
    padding: 20px;
}

/* Program: What You Get Section */
.what-you-get-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}
.what-you-get-image img { width: 100%; border-radius: 8px; }
.checklist { list-style: none; padding-left: 0; }
.checklist li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.checklist li::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Mission: Story Section */
.story-container { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; }
.story-image img { width: 100%; border-radius: 8px; }

/* Mission: Value Cards */
.cards-grid.three-columns { grid-template-columns: 1fr; }
.value-card { text-align: center; }
.value-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Mission: Manifesto */
.manifesto-container { text-align: center; max-width: 800px; margin: 0 auto; }
.manifesto-container blockquote {
    font-size: 1.3rem;
    font-style: italic;
    border-left: 5px solid var(--primary-color);
    padding-left: 30px;
    margin: 0;
}

/* Contact: Info Block & Form */
.contact-info-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
    background: var(--accent-color);
    padding: 30px;
    border-radius: 8px;
    justify-items: center;
    text-align: center;
}
.contact-form-wrapper { max-width: 800px; margin: 40px auto 0 auto; }
.contact-form .form-group { margin-bottom: 20px; }
.contact-form label { display: block; margin-bottom: 8px; font-weight: bold; }
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(230, 126, 34, 0.5);
}

/* --- CTA Section --- */
.cta-section {
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: var(--light-text-color);
    text-align: center;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(44, 62, 80, 0.7);
}
.cta-content { position: relative; z-index: 2; }
.cta-content h2 { color: var(--light-text-color); }

/* --- Footer --- */
.site-footer {
    background-color: var(--footer-bg-color) !important;
    color: var(--footer-text-color) !important;
    padding: 50px 0 20px 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
}
.footer-column h4 { color: var(--light-text-color) !important; }
.footer-column p, .footer-column li, .footer-column address { color: var(--footer-text-color) !important; font-style: normal; }
.footer-column ul { list-style: none; padding: 0; }
.footer-column li { margin-bottom: 10px; }
.footer-column a { color: var(--footer-text-color) !important; }
.footer-column a:hover { color: var(--primary-color) !important; text-decoration: underline; }
.footer-bottom {
    text-align: center;
    border-top: 1px solid #4e5d6c;
    padding-top: 20px;
    font-size: 0.9rem;
}

/* --- Cookie Banner --- */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    padding: 18px 24px;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
    transform: translateY(0); transition: transform 0.4s ease;
    background-color: var(--secondary-color);
    color: var(--light-text-color);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}
#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; }
#cookie-banner a { color: var(--primary-color); font-weight: bold; }
.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: 5px;
    cursor: pointer;
    font-weight: bold;
}
.cookie-btn-accept { background-color: var(--primary-color); color: var(--light-text-color); }
.cookie-btn-decline { background-color: #7f8c8d; color: var(--light-text-color); }

/* --- Media Queries for Responsive Layouts --- */
@media (min-width: 600px) {
    .cards-grid.four-columns { grid-template-columns: 1fr 1fr; }
    .cards-grid.three-columns { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-info-block { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
    .split-layout-v2 { grid-template-columns: 1fr 1fr; }
    .what-you-get-container { grid-template-columns: 40% 1fr; }
    .story-container { grid-template-columns: 40% 1fr; }
}

@media (min-width: 992px) {
    .cards-grid.four-columns { grid-template-columns: repeat(4, 1fr); }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
}

@media (max-width: 600px) {
    .section { padding: 40px 0; }
    #cookie-banner { flex-direction: column; align-items: flex-start; }
    .cookie-btns { width: 100%; }
    .cookie-btn-accept, .cookie-btn-decline { flex: 1; text-align: center; }
}