/* 
   Color Palette: Bordeaux & Cream
   - Primary: #6D214F (Bordeaux)
   - Background: #F8F5F1 (Cream)
   - Accent: #B48A9D (Muted Pink)
   - Text: #3C3C3C (Dark Gray)
*/

:root {
    --primary-color: #6D214F;
    --background-color: #F8F5F1;
    --accent-color: #B48A9D;
    --text-color: #3C3C3C;
    --light-text-color: #F8F5F1;
    --footer-bg-color: #2E0D20;
}

/* --- Global Styles & Reset --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.7;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

h1, h2, h3, h4 {
    line-height: 1.3;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

h3 {
    font-size: clamp(1.3rem, 3vw, 1.6rem);
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.section-paragraph {
    max-width: 800px;
    margin: 0 auto 20px auto;
    text-align: center;
}

/* --- Header & Navigation --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--background-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.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;
    color: var(--primary-color);
    z-index: 100;
}

.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(--primary-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-weight: 600;
    font-size: 1rem;
    color: var(--text-color);
    padding-bottom: 5px;
    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: 68px; /* Adjust based on header height */
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
    background-color: var(--background-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

.mobile-nav a {
    font-size: 1.2rem;
    color: var(--text-color);
}

/* --- Buttons --- */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-text-color);
}

/* --- Hero Section (Diagonal Split) --- */
.hero-diagonal-section {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 80vh;
    position: relative;
}

.hero-diagonal-content {
    background: var(--background-color);
    display: flex;
    align-items: center;
    padding: 40px;
}

.hero-text-block {
    max-width: 600px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin: 20px 0 30px;
}

.hero-diagonal-bg {
    background-image: url('img/bg.jpg');
    background-size: cover;
    background-position: center;
    min-height: 300px;
}

@media (min-width: 992px) {
    .hero-diagonal-section {
        grid-template-columns: 45% 55%;
        min-height: 90vh;
    }
    .hero-diagonal-bg {
        clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
    }
}

/* --- Benefits Section (2x2 Grid) --- */
.benefits-section-grid {
    background-color: #fff;
}
.benefits-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.benefit-card {
    background-color: var(--background-color);
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.card-icon-placeholder {
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    border-radius: 50%;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .benefits-grid-2x2 {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- Split Section --- */
.split-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.split-image img {
    border-radius: 8px;
}

@media (min-width: 768px) {
    .split-container {
        grid-template-columns: 1fr 1fr;
    }
    .split-container-reverse {
        grid-template-columns: 1fr 1fr;
    }
    .split-container-reverse .split-image {
        order: -1;
    }
}

/* --- Stats Bar Section --- */
.stats-bar-section {
    background-color: var(--primary-color);
    color: var(--light-text-color);
}
.stats-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
}
.stat-item .stat-number {
    font-size: 3rem;
    font-weight: bold;
    display: block;
}
.stat-item .stat-label {
    font-size: 1rem;
}
@media (min-width: 768px) {
    .stats-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Accordion FAQ Section --- */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}
.accordion-item {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    margin-bottom: 10px;
    overflow: hidden;
}
.accordion-header {
    padding: 20px;
    cursor: pointer;
    background-color: var(--background-color);
}
.accordion-header h4 {
    margin: 0;
}
.accordion-content {
    padding: 0 20px 20px 20px;
}

/* --- Program Page --- */
.page-header-section {
    background-color: var(--accent-color);
    color: var(--light-text-color);
    text-align: center;
    padding: 60px 0;
}
.page-header-section h1, .page-header-section p {
    color: var(--light-text-color);
}
.program-accordion .accordion-header {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
}
.image-callout-section {
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: white;
    text-align: center;
}
.image-callout-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0,0,0,0.6);
}
.callout-content {
    position: relative;
    z-index: 2;
}
.callout-content .btn-primary {
    background-color: var(--light-text-color);
    color: var(--primary-color);
    border-color: var(--light-text-color);
}
.callout-content .btn-primary:hover {
    background-color: transparent;
    color: var(--light-text-color);
}

/* --- Mission Page --- */
.values-section {
    background-color: #fff;
}
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.value-card {
    text-align: center;
    padding: 20px;
}
.value-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.manifesto-section {
    background-color: var(--primary-color);
    color: var(--light-text-color);
}
.manifesto-container {
    max-width: 800px;
}
.manifesto-section .section-title {
    color: var(--light-text-color);
}
.manifesto-section blockquote {
    border-left: 5px solid var(--accent-color);
    padding-left: 30px;
    font-size: 1.3rem;
    font-style: italic;
    margin: 0;
}
@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 992px) {
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --- Contact Page --- */
.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
    margin-bottom: 60px;
}
.contact-form-section {
    background-color: #fff;
}
.contact-form {
    max-width: 800px;
    margin: 0 auto;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}
.contact-form button {
    width: 100%;
}
@media (min-width: 768px) {
    .contact-info-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .contact-form button {
        width: auto;
    }
}

/* --- Legal & Thank You Pages --- */
.legal-page, .thank-you-section {
    padding: 80px 0;
}
.legal-page .container {
    max-width: 800px;
}
.legal-page h1, .legal-page h2 {
    margin-top: 30px;
}
.thank-you-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    background: #fff;
    border-radius: 8px;
}
.next-steps {
    margin-top: 40px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}
.next-steps-links {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--footer-bg-color) !important;
    color: #a9a9a9 !important;
    padding: 60px 0 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-column h4 {
    color: var(--light-text-color) !important;
    margin-bottom: 20px;
}
.footer-column ul {
    list-style: none;
}
.footer-column li {
    margin-bottom: 10px;
}
.footer-column a, .footer-column p, .footer-column .logo {
    color: #a9a9a9 !important;
}
.footer-column a:hover {
    color: var(--light-text-color) !important;
}
.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #444;
}
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

/* --- 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;
    background-color: var(--footer-bg-color);
    color: var(--light-text-color);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    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: 0.9rem; }
#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: bold;
}
.cookie-btn-accept {
    background-color: var(--primary-color);
    color: var(--light-text-color);
}
.cookie-btn-decline {
    background-color: #666;
    color: #fff;
}
@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; }
}

/* --- Mobile Responsiveness --- */
@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);
    }
}