/*
* Palette: Terracotta Earth
* Primary: #D9534F (Terracotta Red)
* Secondary: #4A4A4A (Dark Charcoal)
* Accent: #F0AD4E (Warm Amber)
* Background: #FDFBF7 (Light Beige)
* Text: #333333
*/

:root {
    --primary-color: #D9534F;
    --secondary-color: #4A4A4A;
    --accent-color: #F0AD4E;
    --background-color: #FDFBF7;
    --background-light: #FFFFFF;
    --text-color: #333333;
    --text-light: #FFFFFF;
    --border-color: #EAEAEA;
    --font-family-base: 'Helvetica Neue', Arial, sans-serif;
}

/* Global Styles */
body {
    margin: 0;
    font-family: var(--font-family-base);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: 1.5rem; }

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.section-light {
    background-color: var(--background-light);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-intro {
    max-width: 800px;
    margin: 0 auto 40px auto;
    text-align: center;
    font-size: 1.1rem;
}

/* Header Layout */
.site-header {
    position: relative;
    width: calc(100% - 20px);
    padding: 15px 10px;
    background-color: var(--background-light);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    z-index: 1000;
}

.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;
    z-index: 100;
    color: var(--secondary-color);
}

.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(--secondary-color);
    font-weight: 600;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
    background-color: var(--background-light);
    box-shadow: 0 4px 6px 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(--border-color);
    text-align: center;
}

.mobile-nav a {
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 600;
    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); }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: #c9302c;
    color: var(--text-light);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: #333;
    color: var(--text-light);
    transform: translateY(-2px);
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero-section {
    height: 80vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: var(--text-light);
}

.hero-title {
    color: var(--text-light);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px auto;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.benefit-card {
    background-color: var(--background-light);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
}

.card-title {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Split Section */
.split-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.split-image img {
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.split-section.reverse .split-image {
    order: -1;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.testimonial-card {
    background-color: var(--background-light);
    padding: 30px;
    border-left: 5px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
}

.testimonial-card blockquote {
    margin: 0;
    font-style: italic;
}

.testimonial-card footer {
    margin-top: 15px;
    font-weight: 600;
    color: var(--secondary-color);
    font-style: normal;
}

/* CTA Section */
.cta-section {
    background-color: var(--secondary-color);
    color: var(--text-light);
    text-align: center;
}

.cta-content h2 {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Page Header */
.page-header {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 50px 0;
    text-align: center;
}

.page-header h1 {
    color: var(--text-light);
}

/* Timeline (Program Page) */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 15px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    padding-left: 60px;
}

.timeline-dot {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--background-light);
    border: 4px solid var(--primary-color);
    top: 20px;
    left: 6px;
    z-index: 1;
}

.timeline-content {
    padding: 20px;
    background-color: var(--background-light);
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

/* Image Showcase (Program Page) */
.image-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}

.image-showcase img {
    border-radius: 8px;
}

/* Values Grid (Mission Page) */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.value-card {
    background-color: var(--background-color);
    padding: 30px;
    border-radius: 8px;
    border-top: 4px solid var(--accent-color);
}

.manifesto-container {
    max-width: 800px;
    text-align: center;
    font-size: 1.2rem;
    font-style: italic;
}

/* Contact Page */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.contact-form {
    max-width: 800px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: calc(100% - 24px);
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
}

.contact-info-item {
    margin-bottom: 20px;
}

.contact-info-item h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

/* Legal & Thank You Pages */
.legal-content, .thank-you-section {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1, .legal-content h2 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.text-center { text-align: center; }
.thank-you-message { font-size: 1.2rem; margin-bottom: 40px; }
.next-steps h2 { margin-bottom: 20px; }
.next-steps-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }

/* Footer */
.site-footer {
    background-color: var(--secondary-color);
    color: #ccc !important;
    padding: 50px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.site-footer h3 {
    color: var(--text-light) !important;
    margin-bottom: 15px;
}

.site-footer p, .site-footer a {
    color: #ccc !important;
}

.site-footer a:hover {
    color: var(--accent-color) !important;
}

.footer-links ul, .footer-legal ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li, .footer-legal li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid #555;
}

/* Cookie Banner */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    padding: 18px 24px;
    background-color: var(--secondary-color);
    color: var(--text-light);
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
    transform: translateY(0); transition: transform 0.4s ease;
    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(--accent-color); text-decoration: underline; }
.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: 600;
}
.cookie-btn-accept { background-color: var(--primary-color); color: var(--text-light); }
.cookie-btn-decline { background-color: #6c757d; color: var(--text-light); }

/* Media Queries for Responsiveness */
@media (min-width: 768px) {
    .benefits-grid { grid-template-columns: repeat(3, 1fr); }
    .split-section { grid-template-columns: 1fr 1fr; }
    .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
    .image-showcase { grid-template-columns: 1fr 1fr; }
    .values-grid { grid-template-columns: repeat(3, 1fr); }
    .contact-layout { grid-template-columns: 2fr 1fr; }
}

@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; }
}