/* 
   Color Palette: Pastel (Lavender/Rose)
   - Primary: #D8BFD8 (Thistle)
   - Secondary: #E6E6FA (Lavender)
   - Accent: #FFB6C1 (Light Pink)
   - Text Dark: #4B0082 (Indigo)
   - Background: #FAF7F5
*/

:root {
    --primary-color: #eed919;
    --secondary-color: #E6E6FA;
    --accent-color: #4b141c;
    --text-dark: #048200;
    --text-light: #FFFFFF;
    --bg-color: #FAF7F5;
    --footer-bg: #00823b;
    --footer-text: #E6E6FA !important;
}

/* --- Global Styles --- */
* {
    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;
    line-height: 1.7;
    background-color: var(--bg-color);
    color: var(--text-dark);
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
}

.responsive-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

h1, h2, h3, h4 {
    line-height: 1.3;
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 40px;
    color: var(--text-dark);
}

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--secondary-color);
}

.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(--text-dark);
}

.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-dark);
    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: 500;
    color: var(--text-dark);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 65px;
    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(--bg-color);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    text-align: center;
}

.mobile-nav a {
    color: var(--text-dark);
    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);
    }
    .tab-link {
        width: 100%;
    }
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-dark);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--text-dark);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-dark);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-dark);
}

/* --- Hero Section (Vertical) --- */
.hero-vertical {
    display: flex;
    flex-direction: column;
    min-height: 80vh;
}

.hero-image-container {
    height: 40vh;
    width: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content-container {
    padding: 60px 0;
    text-align: center;
}

.hero-title {
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* --- General Sections --- */
.section-intro, .section-scroll, .section-myth-fact, .section-image-text, .section-cta, .section-tabs, .section-stats, .section-storytelling, .section-values, .section-manifesto, .section-contact, .section-legal, .section-thank-you {
    padding: 80px 0;
}

/* --- Horizontal Scroll Gallery --- */
.scroll-gallery-container {
    overflow: hidden;
    padding: 20px 0;
}

.scroll-gallery {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.scroll-card {
    flex: 0 0 300px;
    background-color: var(--text-light);
    border: 1px solid var(--secondary-color);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.card-title {
    font-size: 1.3rem;
    color: var(--text-dark);
}

/* --- Myth vs. Fact Section --- */
.myth-fact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    background-color: var(--secondary-color);
    padding: 40px;
    border-radius: 12px;
}

.column-title {
    font-size: 1.5rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.myth-list {
    list-style: none;
    padding-left: 0;
}

.myth-list li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--primary-color);
}

@media (min-width: 768px) {
    .myth-fact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- Image and Text Section --- */
.image-text-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 992px) {
    .image-text-container {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- CTA Section --- */
.section-cta {
    background-color: var(--secondary-color);
}
.cta-container {
    text-align: center;
}

/* --- Page Header --- */
.page-header {
    padding: 60px 0;
    background-color: var(--secondary-color);
    text-align: center;
}
.page-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
}
.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
}

/* --- Program Page: Tabs --- */
.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    border-bottom: 1px solid var(--primary-color);
    margin-bottom: 30px;
}
.tab-link {
    padding: 10px 20px;
    cursor: pointer;
    border: none;
    background-color: transparent;
    font-size: 1rem;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}
.tab-link.active, .tab-link:hover {
    color: var(--text-dark);
    border-bottom-color: var(--accent-color);
}
.tab-content {
    display: none;
    animation: fadeIn 0.5s;
}
.tab-content.active {
    display: block;
}
.tab-title {
    font-size: 1.8rem;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- Program Page: Stats --- */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
}
.stat-item {
    background-color: var(--text-light);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--secondary-color);
}
.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}
.stat-label {
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}
@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Mission Page: Storytelling --- */
.story-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 80px;
}
.story-title {
    font-size: 2rem;
}
@media (min-width: 992px) {
    .story-block {
        grid-template-columns: 1fr 1fr;
    }
    .story-block-reverse .story-content {
        order: 2;
    }
    .story-block-reverse .story-image {
        order: 1;
    }
}

/* --- Mission Page: Values --- */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.value-card {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}
.value-title {
    font-size: 1.5rem;
}
@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Mission Page: Manifesto --- */
.section-manifesto {
    background-color: var(--secondary-color);
}
.section-manifesto blockquote {
    text-align: center;
    font-size: 1.4rem;
    font-style: italic;
    max-width: 900px;
    margin: 0 auto;
    border-left: 4px solid var(--primary-color);
    padding-left: 30px;
}

/* --- Contact Page --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.contact-sidebar {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 12px;
}
.sidebar-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.contact-info-block {
    margin-bottom: 20px;
}
.contact-info-block h4 {
    margin-bottom: 5px;
}
.form-title {
    font-size: 1.5rem;
}
.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: 1px solid var(--primary-color);
    border-radius: 8px;
    font-size: 1rem;
    background-color: var(--bg-color);
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 182, 193, 0.5);
}
@media (min-width: 992px) {
    .contact-layout {
        grid-template-columns: 350px 1fr;
    }
}

/* --- Legal & Thank You Pages --- */
.section-legal ul {
    list-style-position: inside;
    margin-bottom: 1rem;
}
.section-legal h2 {
    margin-top: 2rem;
}
.text-center {
    text-align: center;
}
.thank-you-title {
    font-size: 3rem;
}
.next-steps {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--secondary-color);
}
.next-steps-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 0 0;
    font-size: 0.95rem;
}

.site-footer a {
    color: var(--footer-text) !important;
}

.site-footer a:hover {
    color: var(--accent-color) !important;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-light) !important;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .footer-container {
        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;
    background-color: var(--text-dark);
    color: var(--text-light);
    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 -2px 10px rgba(0,0,0,0.2);
}
#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: 500;
}
.cookie-btn-accept {
    background-color: var(--primary-color);
    color: var(--text-dark);
}
.cookie-btn-decline {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--text-light);
}
@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; }
}