/* 
   Palette Name: Warm Terracotta & Sand (Version 1)
   NO BLUE, NO GREEN.
*/
:root {
    --primary-color: #C05A3C; /* Terracotta */
    --secondary-color: #E8D8C8; /* Sand */
    --dark-color: #3E2C25; /* Deep Brown */
    --light-color: #FDFBF7; /* Off-white */
    --accent-color: #D98A6C; /* Soft Orange */
    --text-color: #4A3F3A;
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--light-color);
    line-height: 1.6;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    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 {
    padding: 80px 0;
}

.text-center { text-align: center; }
.text-white { color: #ffffff; }
.bg-light { background-color: #F5EFE6; }
.bg-primary { background-color: var(--primary-color); }
.bg-accent { background-color: var(--accent-color); }

.section-title {
    font-size: clamp(28px, 4vw, 36px);
    color: var(--dark-color);
    margin-bottom: 40px;
    position: relative;
}

/* Header Layout (Strict Requirements) */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--dark-color);
    color: #ffffff;
}

.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: #ffffff;
}

.logo:hover { 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: #ffffff;
    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: #ffffff;
    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: #ffffff;
    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-primary {
    display: inline-block;
    padding: 14px 28px;
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: var(--dark-color);
    color: #ffffff;
}

.btn-outline {
    display: inline-block;
    padding: 12px 26px;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    font-weight: bold;
}

.btn-full { width: 100%; }

/* Hero Fullscreen (V1) */
.hero-fullscreen {
    position: relative;
    height: 80vh;
    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-color: rgba(62, 44, 37, 0.7); /* Dark brown overlay */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    color: #ffffff;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--accent-color);
    border-radius: 20px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(36px, 5vw, 54px);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

/* Intro Section */
.text-content-large {
    max-width: 800px;
    margin: 0 auto;
}

.text-content-large p {
    margin-bottom: 20px;
    font-size: 18px;
}

/* Benefits Grid (3 cols) */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .benefits-grid { grid-template-columns: repeat(3, 1fr); }
}

.benefit-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
}

/* Split Section */
.split-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}

@media (min-width: 992px) {
    .split-container { grid-template-columns: 1fr 1fr; }
}

.split-text p { margin-bottom: 15px; }

.custom-list {
    list-style: none;
    margin-top: 20px;
}

.custom-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
}

.custom-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.shadow-img {
    border-radius: 8px;
    box-shadow: 20px 20px 0 var(--secondary-color);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 8px;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.2);
}

.quote {
    font-style: italic;
    margin-bottom: 20px;
}

.author {
    font-weight: bold;
    color: var(--secondary-color);
}

/* Page Header */
.page-header {
    background-color: var(--secondary-color);
    padding: 60px 20px;
    border-bottom: 4px solid var(--primary-color);
}

.page-title {
    font-size: 36px;
    color: var(--dark-color);
    margin-bottom: 10px;
}

/* Timeline (Program V1) */
.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 20px;
    width: 2px;
    background-color: var(--secondary-color);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 40px;
}

.timeline-dot {
    position: absolute;
    left: 0; top: 0;
    width: 42px; height: 42px;
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    border: 4px solid var(--light-color);
}

.timeline-content {
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.timeline-content h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
}

/* Stats Bar */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
}

@media (min-width: 768px) {
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

/* FAQ Accordion (Simple CSS version) */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.faq-question {
    color: var(--dark-color);
    margin-bottom: 10px;
    font-size: 18px;
}

/* Mission Story */
.story-wrapper {
    overflow: hidden;
}

.story-img {
    width: 100%;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .story-img.float-right {
        width: 40%;
        float: right;
        margin: 0 0 20px 30px;
    }
}

.story-wrapper p { margin-bottom: 15px; }

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .values-grid { grid-template-columns: repeat(3, 1fr); }
}

.value-card {
    text-align: center;
    padding: 30px;
}

.value-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

/* Manifesto */
.manifesto-box {
    padding: 60px 40px;
    border-radius: 12px;
}

.manifesto-text {
    font-size: 24px;
    font-style: italic;
    line-height: 1.4;
    margin-top: 20px;
}

/* Contact Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 992px) {
    .contact-layout { grid-template-columns: 3fr 2fr; }
}

.custom-form {
    margin-top: 30px;
}

.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 #ccc;
    border-radius: 4px;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-info-wrapper {
    padding: 40px;
    border-radius: 8px;
}

.info-block {
    margin-top: 25px;
}

.info-block h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

/* Legal Pages */
.legal-container {
    max-width: 800px;
}

.legal-content h3 {
    margin: 30px 0 15px;
    color: var(--dark-color);
}

.legal-content p, .legal-content ul {
    margin-bottom: 15px;
}

.legal-content ul {
    padding-left: 20px;
}

/* Thank You Page */
.thank-box {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
}

.thank-icon {
    width: 80px; height: 80px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 20px;
}

.whats-next {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.thank-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* Footer */
.site-footer {
    padding: 60px 20px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-container { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
    .footer-container { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-col h3, .footer-col h4 {
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-top: 20px;
    font-size: 14px;
}

/* Cookie Banner */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    padding: 18px 24px;
    background-color: var(--dark-color);
    color: #ffffff;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
    transform: translateY(0); transition: transform 0.4s ease;
    border-top: 3px solid var(--primary-color);
}
#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 {
    background-color: var(--primary-color); color: white; border: none; padding: 8px 16px; cursor: pointer; border-radius: 4px; font-weight: bold;
}
.cookie-btn-decline {
    background-color: transparent; color: white; border: 1px solid white; padding: 8px 16px; cursor: pointer; border-radius: 4px;
}
@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; }
}