/* 
   Palette Name: Warm Terracotta
   Colors: 
   Primary: #D35400 (Terracotta)
   Secondary: #E67E22 (Carrot Orange)
   Dark: #2D241E (Dark Brown)
   Light: #FDF3E7 (Warm Beige)
   Accent: #C0392B (Muted Red)
*/

:root {
    --primary-color: #D35400;
    --secondary-color: #E67E22;
    --dark-color: #2D241E;
    --light-color: #FDF3E7;
    --accent-color: #C0392B;
    --text-color: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.section-padding { padding: 80px 0; }
.text-center { text-align: center; }
.text-white { color: var(--white); }
.bg-light { background-color: var(--light-color); }
.bg-dark { background-color: var(--dark-color); }
.mb-20 { margin-bottom: 20px; }
.mt-20 { margin-top: 20px; }
.max-w-800 { max-width: 800px; margin-left: auto; margin-right: auto; }
.rounded-img { border-radius: 12px; }
.shadow-img { box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

/* Typography */
h1, h2, h3, h4 {
    color: var(--dark-color);
    margin-bottom: 15px;
    line-height: 1.2;
}
.text-white h1, .text-white h2, .text-white h3 { color: var(--white); }
.section-title { font-size: clamp(28px, 4vw, 40px); margin-bottom: 20px; }
.section-subtitle { font-size: 18px; color: var(--text-light); margin-bottom: 40px; }
p { margin-bottom: 15px; }

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}
.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}
.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}
.btn-secondary:hover {
    background-color: var(--white);
    color: var(--dark-color);
}
.btn-block { display: block; width: 100%; }

/* Header Layout (Strictly as requested) */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--dark-color);
    color: var(--white);
}
.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(--white);
}
.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(--white);
    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(--white); font-weight: 500; }
.desktop-nav a:hover { color: var(--secondary-color); }

.mobile-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
    background-color: var(--dark-color);
}
.mobile-nav ul { list-style: none; padding: 20px; margin: 0; }
.mobile-nav li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.mobile-nav a { color: var(--white); 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); }
}

/* Hero Fullscreen (Index) */
.hero-fullscreen {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('img/bg.jpg');
    background-size: cover;
    background-position: center;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(45, 36, 30, 0.7);
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
    color: var(--white);
}
.hero-subtitle {
    display: block;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}
.hero-title {
    font-size: clamp(36px, 5vw, 56px);
    color: var(--white);
    margin-bottom: 20px;
}
.hero-text {
    font-size: 18px;
    margin-bottom: 30px;
}
.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Stats Section */
.stats-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 40px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
}
.stat-number {
    display: block;
    font-size: 48px;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 10px;
}
.stat-label { font-size: 16px; text-transform: uppercase; letter-spacing: 1px; }

/* Benefits Grid (3 columns) */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.benefit-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}
.benefit-card:hover { transform: translateY(-10px); }
.card-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

/* Split Section */
.split-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}
.testimonial-card {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
}
.quote { font-style: italic; margin-bottom: 15px; }
.author { font-weight: bold; color: var(--secondary-color); }

/* FAQ */
.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: var(--light-color);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
}
.faq-question { margin-bottom: 10px; color: var(--primary-color); }
.faq-answer { margin: 0; }

/* Page Banner (Inner Pages) */
.page-banner {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 80px 0 60px;
}
.banner-title { color: var(--white); font-size: 40px; }
.banner-subtitle { color: var(--secondary-color); font-size: 20px; }

/* Timeline (Program Page) */
.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}
.timeline-container::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 24px;
    width: 2px;
    background: var(--primary-color);
}
.timeline-item {
    position: relative;
    padding-left: 70px;
    margin-bottom: 40px;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
    position: absolute;
    left: 0; top: 0;
    width: 50px; height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    z-index: 2;
}
.timeline-content {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Story Layout (Mission Page) */
.story-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.value-box {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    border-top: 4px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Manifesto */
.manifesto-quote {
    font-size: 24px;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Contact Layout */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.contact-info-panel {
    background: var(--light-color);
    padding: 40px;
    border-radius: 12px;
}
.info-item { margin-bottom: 15px; }
.contact-form-panel {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--dark-color);
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 16px;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
.site-footer {
    padding: 60px 0 20px;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.footer-links ul, .footer-legal ul {
    list-style: none;
}
.footer-links li, .footer-legal li {
    margin-bottom: 10px;
}

/* Cookie Banner */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    padding: 18px 24px;
    background-color: #1a1a1a;
    color: #fff;
    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; font-size: 14px; }
#cookie-banner a { color: var(--secondary-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: 4px; cursor: pointer; font-weight: bold;
}
.cookie-btn-accept { background-color: var(--primary-color); color: #fff; }
.cookie-btn-decline { background-color: transparent; color: #fff; border: 1px solid #fff; }

/* Media Queries for Grids */
@media (min-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .benefits-grid { grid-template-columns: repeat(3, 1fr); }
    .split-wrapper { grid-template-columns: 1fr 1fr; }
    .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
    .story-layout { grid-template-columns: 1fr 1fr; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-wrapper { grid-template-columns: 40% 60%; }
    .footer-container { grid-template-columns: 2fr 1fr 1fr; }
}

@media (min-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
    .values-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; }
}