/* 
  Palette: Terracotta & Warm Sand (NO BLUE, NO GREEN)
  Colors: 
  - Primary: #D35400 (Terracotta)
  - Secondary: #E67E22 (Orange/Ochre)
  - Dark: #3E2723 (Dark Brown)
  - Light: #FAF0E6 (Linen/Soft Beige)
  - Accent: #F5CBA7 (Warm Sand)
*/

:root {
    --primary-color: #D35400;
    --secondary-color: #E67E22;
    --dark-color: #3E2723;
    --light-color: #FAF0E6;
    --accent-color: #F5CBA7;
    --text-color: #4E342E;
    --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);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-color);
}

.text-center-block {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    color: var(--dark-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.subtitle-text {
    font-size: 18px;
    color: var(--text-color);
    opacity: 0.9;
}

.mt-5 { margin-top: 50px; }

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
}

.btn-primary:hover {
    background-color: var(--dark-color);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: bold;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-full {
    width: 100%;
}

/* ================= HEADER (STRICT RULES) ================= */
.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:hover {
    color: var(--accent-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);
}

@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); }
}

/* ================= V3 UNIQUE COMPONENTS ================= */

/* Floating Hero */
.hero-floating {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
}

.hero-img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(62, 39, 35, 0.6); /* Dark brown overlay */
}

.hero-card-container {
    max-width: 800px;
    width: 100%;
}

.hero-card {
    background: var(--white);
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    border-top: 6px solid var(--primary-color);
}

.tag {
    display: inline-block;
    background: var(--accent-color);
    color: var(--dark-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
}

.hero-card h1 {
    font-size: clamp(32px, 5vw, 48px);
    color: var(--dark-color);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-card p {
    margin-bottom: 20px;
    font-size: 18px;
}

@media (max-width: 768px) {
    .hero-card { padding: 30px 20px; }
}

/* Asymmetrical Split */
.asym-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 992px) {
    .asym-grid {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 60px;
    }
}

.asym-content p {
    margin-bottom: 15px;
}

.asym-image-wrapper {
    position: relative;
    padding: 20px 20px 0 0;
}

.decorative-img {
    position: relative;
    z-index: 2;
    border-radius: 4px;
    box-shadow: -15px 15px 0 var(--accent-color);
}

/* 5-Card Asymmetrical Grid */
.grid-5-asym {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .grid-5-asym {
        grid-template-columns: repeat(2, 1fr);
    }
    .card-large {
        grid-column: span 2;
    }
}

@media (min-width: 1024px) {
    .grid-5-asym {
        grid-template-columns: repeat(3, 1fr);
    }
    .card-large {
        grid-column: span 2;
        grid-row: span 2;
    }
}

.card-asym {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-left: 4px solid var(--secondary-color);
    transition: transform 0.3s ease;
}

.card-asym:hover {
    transform: translateY(-5px);
}

.card-asym h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 22px;
}

/* Accordion FAQ */
.accordion-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--light-color);
    margin-bottom: 15px;
    border-radius: 6px;
    overflow: hidden;
}

.accordion-header {
    padding: 20px;
    font-weight: bold;
    color: var(--dark-color);
    cursor: pointer;
    list-style: none;
    position: relative;
    font-size: 18px;
}

.accordion-header::-webkit-details-marker {
    display: none;
}

.accordion-header::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--primary-color);
}

details[open] .accordion-header::after {
    content: '-';
}

.accordion-content {
    padding: 0 20px 20px 20px;
}

/* Page Header */
.page-header {
    background-color: var(--light-color);
    padding: 80px 0 40px 0;
    border-bottom: 1px solid var(--accent-color);
}

/* Numbered Sections (Program) */
.num-block {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

@media (min-width: 768px) {
    .num-block {
        flex-direction: row;
        align-items: flex-start;
    }
    .num-block.reverse {
        flex-direction: row-reverse;
    }
}

.num-indicator {
    font-size: 80px;
    font-weight: bold;
    color: var(--accent-color);
    line-height: 1;
    flex-shrink: 0;
}

.num-content h2 {
    color: var(--dark-color);
    margin-bottom: 20px;
    font-size: 28px;
}

.num-content p {
    margin-bottom: 15px;
}

/* Parallax Banner */
.parallax-banner {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    padding: 200px 0;
}

.parallax-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(62, 39, 35, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-banner .container {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.parallax-banner h2 {
    color: var(--white);
    font-size: 36px;
    margin-bottom: 20px;
}

/* Timeline (Mission) */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 20px;
    width: 4px;
    background: var(--accent-color);
}

@media (min-width: 768px) {
    .timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 60px;
}

@media (min-width: 768px) {
    .timeline-item {
        width: 50%;
        padding-left: 0;
        padding-right: 40px;
    }
    .timeline-item:nth-child(even) {
        margin-left: auto;
        padding-left: 40px;
        padding-right: 0;
    }
}

.timeline-date {
    position: absolute;
    left: 0;
    top: 0;
    width: 44px;
    height: 44px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    z-index: 2;
}

@media (min-width: 768px) {
    .timeline-date {
        left: auto;
        right: -22px;
    }
    .timeline-item:nth-child(even) .timeline-date {
        left: -22px;
        right: auto;
    }
}

.timeline-content {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.timeline-content h3 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 600px) {
    .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
    .values-grid { grid-template-columns: repeat(4, 1fr); }
}

.value-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: 8px;
}

.value-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.full-width-rounded {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

/* Contact Form Centered */
.form-wrapper-centered {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-top: 5px solid var(--primary-color);
}

.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;
    font-size: 16px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Contact Cards Grid */
.contact-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .contact-cards-grid { grid-template-columns: repeat(3, 1fr); }
}

.contact-info-card {
    background: var(--light-color);
    padding: 30px 20px;
    text-align: center;
    border-radius: 8px;
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 15px auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Legal Pages */
.legal-container {
    max-width: 800px;
}

.legal-container h1 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

.legal-container h2 {
    color: var(--primary-color);
    margin: 30px 0 15px 0;
    font-size: 22px;
}

.legal-container p {
    margin-bottom: 15px;
}

/* Thank You Page */
.thank-you-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--light-color);
    padding: 50px 30px;
    border-radius: 8px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 20px auto;
}

.action-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* ================= FOOTER (STRICT RULES) ================= */
.site-footer {
    background-color: var(--dark-color) !important;
    color: var(--white) !important;
    padding: 60px 0 20px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .footer-grid { grid-template-columns: repeat(4, 1fr); }
}

.footer-title {
    color: var(--accent-color) !important;
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-desc {
    color: #cccccc !important;
}

.footer-links, .footer-contact {
    list-style: none;
}

.footer-links li, .footer-contact li {
    margin-bottom: 10px;
    color: #cccccc !important;
}

.footer-links a, .footer-contact a {
    color: #cccccc !important;
    text-decoration: none;
}

.footer-links a:hover, .footer-contact a:hover {
    color: var(--white) !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #999999 !important;
    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: var(--white);
    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 -5px 15px rgba(0,0,0,0.2);
}

#cookie-banner.hidden { 
    transform: translateY(110%); 
}

#cookie-banner p { 
    margin: 0; 
    flex: 1; 
    min-width: 200px; 
    font-size: 14px;
}

#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 {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.cookie-btn-decline {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--white);
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
}

@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; }
}