/*
  Design System:
  - design-style: warm-vintage
  - border-style: rounded
  - shadow-style: dramatic
  - color-mode: mixed
*/

/* --- VARIABLES & BASE STYLES --- */
:root {
    /* Color Palette: Vintage Sepia */
    --bg-dark: #2a231f;
    --bg-light: #f5f0e8;
    --text-dark: #2a231f;
    --text-light: #f5f0e8;
    --accent-primary: #c88c52;
    --accent-secondary: #8b5e34;
    --shadow-color: rgba(42, 35, 31, 0.22);
    --border-color-light: #e0d9ce;
    --border-color-dark: #4a413b;

    /* Typography */
    --font-heading: 'Georgia', 'Times New Roman', serif;
    --font-body: 'Verdana', 'Geneva', sans-serif;

    /* Sizing & Spacing */
    --border-radius-card: 12px;
    --border-radius-btn: 8px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: inherit;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-secondary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.section, .page-header {
    padding: 48px 0;
}

.page-header {
    text-align: center;
}

.section-image-full {
    display: flex;
    justify-content: center;
}

.section-title {
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px auto;
    opacity: 0.9;
}

.section-dark {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.section-dark a {
    color: var(--text-light);
}
.section-dark a:hover {
    color: var(--text-light);
}

.section-light {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.text-center {
    text-align: center;
}

/* --- HEADER --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--bg-dark);
    color: var(--text-light);
    border-bottom: 2px solid var(--accent-secondary);
}

.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;
    font-family: var(--font-heading);
    color: var(--text-light);
}
.logo:hover {
    color: var(--accent-primary);
}

.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-light);
    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;
}

.desktop-nav a {
    color: var(--text-light);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-primary);
    transition: width 0.3s ease;
}

.desktop-nav a:hover::after {
    width: 100%;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 72px; /* 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(--bg-dark);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color-dark);
}

.mobile-nav a {
    color: var(--text-light);
    display: block;
    width: 100%;
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius-btn);
    font-weight: bold;
    text-align: center;
    min-height: 44px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: var(--bg-dark);
    border: 2px solid var(--accent-primary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-primary);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-secondary);
    border: 2px solid var(--accent-secondary);
}

.btn-secondary:hover {
    background-color: var(--accent-secondary);
    color: var(--bg-light);
}

/* --- HERO (CIRCLE IMAGE) --- */
.hero-section {
    padding: 60px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}
.hero-container-circle {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.hero-content {
    text-align: center;
}
.hero-subtitle {
    max-width: 650px;
    margin: 24px auto 32px auto;
    opacity: 0.9;
}
.hero-image-wrapper {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}
.hero-circle-image {
    width: 100%;
    border-radius: 50%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border: 8px solid var(--accent-secondary);
    box-shadow: 0 24px 64px var(--shadow-color);
    position: relative;
    z-index: 2;
}
.hero-image-backdrop {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background-color: var(--accent-primary);
    border-radius: 50%;
    z-index: 1;
}

/* --- BENEFITS HSCROLL --- */
.hscroll-container {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-secondary) var(--border-color-light);
}
.hscroll-container::-webkit-scrollbar {
    height: 8px;
}
.hscroll-container::-webkit-scrollbar-track {
    background: var(--border-color-light);
}
.hscroll-container::-webkit-scrollbar-thumb {
    background-color: var(--accent-secondary);
    border-radius: 10px;
}
.hscroll-card {
    flex: 0 0 280px;
    background-color: #fff;
    padding: 24px;
    border-radius: var(--border-radius-card);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color-light);
}
.hscroll-card .card-title {
    margin-bottom: 12px;
    color: var(--accent-secondary);
}

/* --- ACCORDION FAQ --- */
.faq-container {
    max-width: 800px;
}
.accordion details {
    margin-bottom: 12px;
    background: var(--accent-secondary);
    border-radius: var(--border-radius-btn);
    border: 1px solid var(--border-color-dark);
}
.accordion summary {
    padding: 16px;
    font-weight: bold;
    cursor: pointer;
    list-style: none; /* Hide default marker */
    position: relative;
}
.accordion summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.5em;
    transition: transform 0.3s ease;
}
.accordion details[open] summary::after {
    transform: rotate(45deg);
}
.accordion .accordion-content {
    padding: 0 16px 16px;
    border-top: 1px solid var(--border-color-dark);
}

/* --- ICON FEATURES --- */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.feature-item {
    text-align: center;
    background-color: #fff;
    padding: 24px;
    border-radius: var(--border-radius-card);
    box-shadow: 0 18px 48px rgba(0,0,0,0.15);
    border: 1px solid var(--border-color-light);
}
.feature-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}
.feature-title {
    margin-bottom: 8px;
}

/* --- STATS BAR --- */
.stats-bar {
    background-color: var(--accent-primary);
    color: var(--bg-dark);
    padding: 40px 0;
}
.stats-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}
.stat-item {
    text-align: center;
}
.stat-number {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: bold;
    font-family: var(--font-heading);
    display: block;
}
.stat-label {
    font-size: 1rem;
    font-weight: 500;
}

/* --- TWO COLUMN IMAGE --- */
.two-col-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.two-col-image img {
    border-radius: var(--border-radius-card);
    box-shadow: 0 24px 64px var(--shadow-color);
}
.two-col-content .section-title {
    text-align: left;
}
.styled-list {
    list-style: none;
    margin-top: 20px;
}
.styled-list li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}
.styled-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-secondary);
    font-weight: bold;
}

/* --- PROGRAM PAGE: TIMELINE --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--accent-secondary);
    top: 0;
    bottom: 0;
    left: 15px;
}
.timeline-item {
    padding: 10px 40px 30px 60px;
    position: relative;
}
.timeline-dot {
    position: absolute;
    left: 0;
    top: 15px;
    width: 32px;
    height: 32px;
    background-color: var(--bg-light);
    border: 4px solid var(--accent-secondary);
    border-radius: 50%;
    z-index: 1;
}
.timeline-content {
    background-color: #fff;
    padding: 24px;
    border-radius: var(--border-radius-card);
    box-shadow: 0 18px 48px rgba(0,0,0,0.15);
}

/* --- MISSION PAGE: TIMELINE DATES --- */
.timeline-dates {
    display: grid;
    gap: 40px;
}
.timeline-date-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.timeline-date-year {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    color: var(--accent-secondary);
    flex-shrink: 0;
    border-bottom: 2px solid var(--border-color-light);
    padding-bottom: 8px;
}
.manifesto-image {
    max-width: 200px;
    margin: 0 auto 30px;
    border-radius: 50%;
    border: 6px solid var(--accent-primary);
}
.manifesto-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    line-height: 1.8;
    max-width: 750px;
    margin: 0 auto;
    font-style: italic;
}

/* --- CONTACT PAGE --- */
.contact-layout-sidebar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.contact-sidebar {
    background: #fff;
    padding: 24px;
    border-radius: var(--border-radius-card);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.contact-info-block {
    margin-bottom: 24px;
}
.contact-info-block:last-child {
    margin-bottom: 0;
}
.contact-info-block h3 {
    margin-bottom: 12px;
    color: var(--accent-secondary);
}
.contact-form {
    display: grid;
    gap: 20px;
    max-width: 800px;
}
.form-group {
    display: flex;
    flex-direction: column;
}
.form-group label {
    margin-bottom: 8px;
    font-weight: bold;
}
.form-group input, .form-group textarea {
    padding: 12px;
    border: 1px solid var(--border-color-light);
    border-radius: var(--border-radius-btn);
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: #fff;
}
.form-group input:focus, .form-group textarea:focus {
    outline: 2px solid var(--accent-primary);
    border-color: var(--accent-primary);
}
.contact-faq {
    margin-top: 40px;
}
.contact-faq details {
    background-color: #fff;
    border: 1px solid var(--border-color-light);
}
.contact-faq summary {
    color: var(--text-dark);
    padding: 10px;
    cursor: pointer;
}
.contact-faq .accordion-content {
    border-top: 1px solid var(--border-color-light);
    padding: 20px;
}

/* --- POLICY & THANK YOU PAGES --- */
.policy-container {
    max-width: 800px;
}
.policy-container h1, .policy-container h2 {
    margin-top: 24px;
    margin-bottom: 12px;
}
.thank-you-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.thank-you-icon {
    font-size: 4rem;
    width: 100px;
    height: 100px;
    line-height: 100px;
    border-radius: 50%;
    background-color: var(--accent-secondary);
    color: var(--bg-light);
    margin: 0 auto 24px auto;
}
.next-steps {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color-light);
}
.next-steps-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

/* --- FOOTER --- */
.site-footer {
    background-color: var(--bg-dark) !important;
    color: var(--text-light) !important;
    padding: 48px 0 0;
    border-top: 4px solid var(--accent-primary);
}
.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
.footer-title {
    font-family: var(--font-heading);
    margin-bottom: 16px;
    color: var(--accent-primary) !important;
}
.footer-links ul li {
    margin-bottom: 8px;
}
.footer-links a, .footer-contact a {
    color: var(--text-light) !important;
}
.footer-links a:hover, .footer-contact a:hover {
    color: var(--accent-primary) !important;
    text-decoration: underline;
}
.footer-bottom {
    text-align: center;
    padding: 24px 0;
    margin-top: 32px;
    border-top: 1px solid var(--border-color-dark);
}

/* --- 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(--bg-dark);
    color: var(--text-light);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
    border-top: 2px solid var(--accent-primary);
}
#cookie-banner.hidden { transform: translateY(120%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; font-size: 14px; }
#cookie-banner a { color: var(--accent-primary); 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: var(--border-radius-btn);
    cursor: pointer;
    font-weight: bold;
}
.cookie-btn-accept {
    background-color: var(--accent-primary);
    color: var(--bg-dark);
}
.cookie-btn-decline {
    background-color: var(--accent-secondary);
    color: var(--text-light);
}

/* --- MEDIA QUERIES (MOBILE-FIRST) --- */
@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); }
}

@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; }
}

@media (min-width: 768px) {
    .section { padding: 60px 0; }
    .footer-container { grid-template-columns: repeat(3, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-container { flex-direction: row; justify-content: space-around; }
    .two-col-container { grid-template-columns: 1fr 1.2fr; }
    .contact-layout-sidebar { grid-template-columns: 300px 1fr; }
    .timeline-date-item { flex-direction: row; align-items: flex-start; }
    .timeline-date-year { padding-bottom: 0; border-bottom: none; border-right: 2px solid var(--border-color-light); padding-right: 16px; margin-right: 16px; }
}

@media (min-width: 1024px) {
    .section { padding: 80px 0; }
    .hero-container-circle { grid-template-columns: 1.2fr 1fr; gap: 60px; }
    .hero-content { text-align: left; }
    .hero-subtitle { margin: 24px 0 32px 0; }
    .hero-image-wrapper { max-width: 450px; }
    .features-grid { grid-template-columns: repeat(3, 1fr); }
}