/*
* Color Palette: Dark Slate & Amber (Contrast Theme)
* --primary-color: #FFC107 (Amber)
* --secondary-color: #D35400 (Burnt Orange)
* --background-color: #2C3E50 (Dark Slate)
* --surface-color: #34495E (Lighter Slate)
* --text-color: #ECF0F1 (Light Gray)
* --dark-text-color: #2C3E50 (Dark Slate for light backgrounds)
*/

:root {
    --primary-color: #FFC107;
    --secondary-color: #D35400;
    --background-color: #2C3E50;
    --surface-color: #34495E;
    --text-color: #ECF0F1;
    --dark-text-color: #2C3E50;
    --font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* --- Global Styles --- */
body {
    margin: 0;
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.7;
    font-size: 16px;
}

h1, h2, h3, h4 {
    line-height: 1.3;
    color: var(--primary-color);
    font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--text-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.section-header {
    margin-bottom: 40px;
}

.section-title {
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.content-block {
    max-width: 800px;
    margin: 0 auto;
}

.content-block p {
    margin-bottom: 1.5em;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-text-color);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--text-color);
}

/* --- Header --- */
.site-header {
    position: relative;
    width: calc(100% - 20px);
    padding: 15px 10px;
    background-color: var(--surface-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.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(--primary-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(--text-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 {
    font-size: 1rem;
    font-weight: 500;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}

.desktop-nav a:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.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(--surface-color);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(236, 240, 241, 0.1);
    text-align: center;
}

.mobile-nav a {
    font-size: 1.2rem;
}

@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); }
}

/* --- Footer --- */
.site-footer {
    background-color: var(--surface-color) !important;
    color: var(--text-color) !important;
    padding: 50px 0 20px;
    border-top: 3px solid var(--primary-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.site-footer h4 {
    color: var(--primary-color) !important;
    margin-bottom: 15px;
}

.site-footer p, .site-footer li {
    font-size: 0.95rem;
    opacity: 0.8;
}

.footer-links ul, .footer-legal ul {
    list-style: none;
    padding: 0;
}

.footer-links li, .footer-legal li {
    margin-bottom: 10px;
}

.site-footer a {
    color: var(--text-color) !important;
}

.site-footer a:hover {
    color: var(--primary-color) !important;
    text-decoration: underline;
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(236, 240, 241, 0.2);
    font-size: 0.9rem;
}

/* --- Page Specific Styles (Version 4) --- */

/* Hero Section (index.html) */
.hero-section-v4 {
    padding: 80px 0;
    overflow: hidden;
}
.hero-grid-v4 {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 40px;
}
.hero-image-container-v4 {
    position: relative;
}
.hero-image-v4 {
    border-radius: 10px;
    box-shadow: 10px 10px 0 var(--primary-color);
}
.hero-content-v4 {
    text-align: center;
}
.hero-title-v4 {
    margin-bottom: 20px;
}
.hero-subtitle-v4 {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

@media (min-width: 992px) {
    .hero-grid-v4 {
        grid-template-columns: 1fr 1.2fr;
        gap: 60px;
    }
    .hero-content-v4 {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        text-align: left;
    }
    .hero-image-container-v4 {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }
}

/* Stats Bar (index.html) */
.stats-section-v4 {
    background-color: var(--surface-color);
}
.stats-grid-v4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}
.stat-number-v4 {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
}
.stat-label-v4 {
    font-size: 1rem;
    margin-top: 5px;
}

/* Timeline (index.html) */
.timeline-v4 {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline-v4::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--surface-color);
    top: 0;
    bottom: 0;
    left: 20px;
}
.timeline-item-v4 {
    padding: 10px 40px 30px 60px;
    position: relative;
}
.timeline-icon-v4 {
    position: absolute;
    left: 0;
    top: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 4px solid var(--background-color);
    z-index: 1;
}
.timeline-content-v4 {
    background-color: var(--surface-color);
    padding: 20px;
    border-radius: 8px;
}
.timeline-content-v4 h3 {
    margin-top: 0;
}

/* Gallery (index.html) */
.gallery-grid-v4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.gallery-item-v4 img {
    border-radius: 8px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (min-width: 768px) {
    .gallery-grid-v4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* CTA Section */
.cta-section {
    background-color: var(--surface-color);
    padding: 60px 20px;
}
.cta-title {
    margin-bottom: 15px;
}
.cta-text {
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Page Header */
.page-header {
    padding: 60px 0;
    background-color: var(--surface-color);
    text-align: center;
}
.page-title {
    margin-bottom: 10px;
}

/* Numbered Sections (program.html) */
.numbered-section-v4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 80px;
}
.numbered-content-v4 {
    position: relative;
}
.section-number-v4 {
    font-size: 6rem;
    font-weight: bold;
    color: var(--surface-color);
    position: absolute;
    top: -40px;
    left: -20px;
    z-index: -1;
    line-height: 1;
}
.numbered-title-v4 {
    margin-bottom: 20px;
}
.numbered-image-v4 img {
    border-radius: 10px;
}
@media (min-width: 992px) {
    .numbered-section-v4 {
        grid-template-columns: 1fr 1fr;
    }
    .numbered-section-v4.reverse-layout .numbered-image-v4 {
        order: -1;
    }
}

/* Mission Page (mission.html) */
.split-layout-v4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.split-image-v4 img {
    border-radius: 10px;
}
@media (min-width: 992px) {
    .split-layout-v4 {
        grid-template-columns: 1fr 1.2fr;
    }
}
.values-section {
    background-color: var(--surface-color);
}
.values-grid-v4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.value-card-v4 {
    background-color: var(--background-color);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border-left: 5px solid var(--primary-color);
}
.manifesto-block {
    max-width: 800px;
}
.manifesto-block blockquote {
    border-left: 5px solid var(--primary-color);
    padding-left: 30px;
    font-size: 1.3rem;
    font-style: italic;
    margin: 0;
}

/* Contact Page (contact.html) */
.contact-form-container-v4 {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--surface-color);
    padding: 40px;
    border-radius: 8px;
}
.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid var(--background-color);
    background-color: var(--background-color);
    color: var(--text-color);
    font-size: 1rem;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}
.form-submit-btn {
    width: 100%;
    font-size: 1.1rem;
}
.contact-info-section-v4 {
    padding-top: 0;
}
.contact-cards-grid-v4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.contact-card-v4 {
    background-color: var(--surface-color);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}
.contact-card-v4 h3 {
    margin-top: 0;
}

/* Thank You Page */
.thank-you-section {
    padding: 80px 0;
}
.thank-you-title {
    margin-bottom: 20px;
}
.thank-you-text {
    font-size: 1.2rem;
    margin-bottom: 40px;
}
.what-next h2 {
    margin-bottom: 20px;
}
.next-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* --- 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(--surface-color);
    color: var(--text-color);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}
#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; font-size: 0.9rem; }
#cookie-banner a { color: var(--primary-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: bold;
}
.cookie-btn-accept {
    background-color: var(--primary-color);
    color: var(--dark-text-color);
}
.cookie-btn-decline {
    background-color: var(--background-color);
    color: var(--text-color);
}
@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; }
}