/* 
   Color Palette: Pastel Lavender & Rose Gold
   --primary-color: #D7BDE2 (Light Lavender)
   --secondary-color: #F5B7B1 (Soft Rose)
   --text-color: #5D6D7E (Cool Grey)
   --bg-color: #FDFEFE (Almost White)
   --dark-accent: #6C3483 (Deep Purple)
*/

:root {
    --primary-color: #D7BDE2;
    --secondary-color: #F5B7B1;
    --text-color: #5D6D7E;
    --bg-color: #FDFEFE;
    --bg-light-color: #F4F6F7;
    --dark-accent: #6C3483;
    --white-color: #ffffff;
    --border-color: #EAECEE;
    --footer-bg: #2C3E50;
    --footer-text: #BDC3C7;
}

/* Global Styles */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--dark-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

h1, h2, h3, h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--dark-accent);
    font-weight: 600;
    line-height: 1.3;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.75rem); }

.section {
    padding: 80px 0;
}

.section-light {
    background-color: var(--bg-light-color);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

/* Header Layout */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--white-color);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.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(--dark-accent);
}

.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(--dark-accent);
    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;
    font-size: 16px;
    padding: 5px 0;
    position: relative;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.desktop-nav a:hover::after {
    width: 100%;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 68px;
    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(--white-color);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}
.mobile-nav li:last-child {
    border-bottom: none;
}
.mobile-nav a {
    font-size: 18px;
    display: block;
    width: 100%;
}

@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 {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--dark-accent);
    color: var(--white-color);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    color: var(--dark-accent);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--dark-accent);
    border-color: var(--dark-accent);
}

.btn-secondary:hover {
    background-color: var(--dark-accent);
    color: var(--white-color);
}

/* Hero Section (Vertical) */
.hero-vertical {
    display: flex;
    flex-direction: column;
}
.hero-image-container {
    width: 100%;
    height: 40vh;
}
.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-content-container {
    padding: 60px 0;
    text-align: center;
}
.hero-title {
    margin-bottom: 20px;
}
.hero-subtitle {
    max-width: 800px;
    margin: 0 auto 30px auto;
    font-size: 1.1rem;
}

/* Horizontal Scrolling Gallery */
.scroll-gallery-container {
    overflow-x: auto;
    padding: 20px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--bg-light-color);
}
.scroll-gallery {
    display: flex;
    gap: 20px;
    padding: 0 20px;
    width: max-content;
}
.gallery-card {
    flex: 0 0 300px;
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.card-title {
    color: var(--dark-accent);
    margin-bottom: 15px;
}

/* Split Layout */
.split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.split-image img {
    border-radius: 8px;
}
@media (min-width: 768px) {
    .split-layout {
        grid-template-columns: 1fr 1fr;
    }
}

/* Accordion */
.accordion-container {
    max-width: 800px;
    margin: 0 auto;
}
.accordion-item {
    border-bottom: 1px solid var(--border-color);
}
.accordion-header {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--dark-accent);
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s;
}
.accordion-header:hover {
    background-color: var(--bg-light-color);
}
.accordion-header::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}
.accordion-header.active::after {
    transform: rotate(45deg);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 20px;
}
.accordion-content p {
    padding-bottom: 20px;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    padding: 60px 0;
    color: var(--dark-accent);
}
.cta-content {
    text-align: center;
}
.cta-content h2 {
    color: var(--dark-accent);
}
.cta-content .btn-primary {
    background-color: var(--white-color);
    color: var(--dark-accent);
}
.cta-content .btn-primary:hover {
    background-color: var(--dark-accent);
    color: var(--white-color);
}

/* Page Header */
.page-header {
    background-color: var(--bg-light-color);
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}
.page-header h1 {
    margin-bottom: 10px;
}
.page-header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Program Page - Numbered Sections */
.numbered-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 80px;
    align-items: center;
}
.number-accent {
    font-size: 5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}
.numbered-image img {
    border-radius: 8px;
}
@media (min-width: 992px) {
    .numbered-section {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
    .numbered-section.reverse .numbered-content {
        order: 2;
    }
    .numbered-section.reverse .numbered-image {
        order: 1;
    }
}

/* Mission Page */
.storytelling-intro img {
    border-radius: 8px;
    margin-bottom: 30px;
}
.storytelling-intro h2 {
    text-align: center;
}
.values-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.values-list {
    list-style: none;
    padding-left: 0;
}
.values-list li {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}
.value-icon {
    color: var(--dark-accent);
    margin-right: 15px;
    font-size: 1.2rem;
}
.values-image img {
    border-radius: 8px;
}
@media (min-width: 768px) {
    .values-section {
        grid-template-columns: 1fr 1fr;
    }
}

/* Contact Page */
.contact-layout-sidebar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}
.contact-sidebar {
    background-color: var(--bg-light-color);
    padding: 30px;
    border-radius: 8px;
}
.contact-details p {
    margin-bottom: 1.5rem;
}
.office-hours {
    list-style: none;
    padding: 0;
}
.office-hours li {
    margin-bottom: 5px;
}
@media (min-width: 992px) {
    .contact-layout-sidebar {
        grid-template-columns: 350px 1fr;
    }
}

/* Form Styles */
.contact-form {
    max-width: 800px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Legal & Thank You Pages */
.legal-page h2, .legal-page h3 {
    margin-top: 2rem;
}
.legal-page ul {
    padding-left: 20px;
}
.thank-you-section {
    text-align: center;
    padding: 100px 0;
}
.thank-you-content {
    max-width: 700px;
    margin: 0 auto;
}
.next-steps {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}
.resource-links {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px 0;
}
.resource-links li {
    margin-bottom: 10px;
}

/* Footer */
.site-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 0 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
}
.site-footer h4 {
    color: var(--white-color);
    margin-bottom: 20px;
}
.site-footer a {
    color: var(--footer-text) !important;
}
.site-footer a:hover {
    color: var(--primary-color) !important;
}
.footer-links ul, .footer-legal ul {
    list-style: none;
    padding: 0;
}
.footer-links li, .footer-legal li {
    margin-bottom: 10px;
}
.footer-copyright {
    border-top: 1px solid #34495E;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}
.footer-copyright p {
    margin: 0;
}
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 992px) {
    .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;
    transform: translateY(0); transition: transform 0.4s ease;
    background-color: var(--footer-bg);
    color: var(--white-color);
    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: 14px; }
#cookie-banner a { color: var(--primary-color) !important; 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(--dark-accent);
}
.cookie-btn-decline {
    background-color: #7F8C8D;
    color: var(--white-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; }
}