/*
  Theme: Warm Vintage
  Color Palette: Earthy Vintage
  - Dark Coffee: #2E2520
  - Antique White: #F5EFE6
  - Burnt Sienna: #D9794C
  - Muted Terracotta: #A66349
*/

:root {
    --bg-dark: #2E2520;
    --text-light: #F5EFE6;
    --accent-primary: #D9794C;
    --accent-secondary: #A66349;
    --border-color: rgba(245, 239, 230, 0.2);
    --font-heading: 'Lora', serif;
    --font-body: 'Roboto', sans-serif;
}

/* --- Global Styles & Resets --- */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.7;
}

body {
    background-image: repeating-linear-gradient(0deg, transparent, transparent 1px, rgba(0,0,0,0.1) 1px, rgba(0,0,0,0.1) 2px);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-light);
    margin-top: 0;
    line-height: 1.2;
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--text-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* --- Layout & Container --- */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

.section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: clamp(28px, 5vw, 42px);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: clamp(16px, 3vw, 18px);
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.text-center {
    text-align: center;
}

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: rgba(46, 37, 32, 0.8);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    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;
    font-family: var(--font-heading);
    color: var(--text-light);
}

.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;
    margin: 0;
    padding: 0;
}

.desktop-nav a {
    color: var(--text-light);
    font-weight: 500;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.desktop-nav a:hover {
    border-bottom-color: var(--accent-primary);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 66px; /* Header height */
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--bg-dark);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    z-index: 99;
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav a {
    color: var(--text-light);
    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: 14px 32px;
    border-radius: 50px; /* pill style */
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent; /* flat style */
    box-shadow: none; /* flat style */
}

.btn-primary {
    background-color: var(--accent-primary);
    color: var(--bg-dark);
    border-color: var(--accent-primary);
}

.btn-primary:hover {
    background-color: var(--accent-secondary);
    border-color: var(--accent-secondary);
    color: var(--text-light);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 1px solid var(--accent-primary);
}

.btn-secondary:hover {
    background-color: var(--accent-primary);
    color: var(--bg-dark);
}

/* --- Hero Section (Grid Overlap) --- */
.hero-section-overlap {
    padding: 80px 0;
    overflow: hidden;
}

.hero-grid-overlap {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 32px;
}

.hero-image-container-overlap {
    position: relative;
}

.hero-image-overlap {
    border-radius: 28px; /* pill style */
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.hero-content-overlap {
    padding: 24px;
    background-color: rgba(46, 37, 32, 0.7);
    backdrop-filter: blur(8px);
    border-radius: 28px; /* pill style */
    border: 1px solid var(--border-color);
}

.hero-title {
    font-size: clamp(36px, 6vw, 56px);
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: clamp(16px, 3vw, 18px);
    margin-bottom: 32px;
    opacity: 0.9;
}

@media (min-width: 992px) {
    .hero-grid-overlap {
        grid-template-columns: 1.2fr 1fr;
        gap: 0;
    }
    .hero-content-overlap {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        transform: translateX(-80px);
        z-index: 2;
        padding: 48px;
    }
    .hero-image-container-overlap {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }
}

/* --- Benefits Section (2x2 Grid) --- */
.benefits-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.benefit-card-vintage {
    background-color: transparent;
    padding: 24px;
    border-radius: 28px; /* pill style */
    border: 1px solid var(--border-color);
    box-shadow: none; /* flat style */
}

.benefit-card-vintage h3 {
    color: var(--accent-primary);
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .benefits-grid-2x2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Stats Bar Section --- */
.stats-bar-section {
    background-color: var(--accent-secondary);
    padding: 40px 0;
}

.stats-bar-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
}

.stat-number {
    font-size: clamp(40px, 7vw, 60px);
    font-family: var(--font-heading);
    font-weight: 700;
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 16px;
    margin: 0;
}

@media (min-width: 768px) {
    .stats-bar-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Checklist Section --- */
.checklist-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.checklist-item {
    padding-left: 30px;
    position: relative;
    margin-bottom: 16px;
}

.checklist-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-primary);
    font-weight: bold;
    font-size: 20px;
}

@media (min-width: 768px) {
    .checklist-grid {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
}

/* --- Testimonials Section --- */
.testimonials-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 24px;
    border-radius: 28px; /* pill style */
    border: 1px solid var(--border-color);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--accent-secondary);
    flex-shrink: 0;
}

.testimonial-name {
    font-weight: bold;
    margin: 0;
}

.testimonial-rating {
    color: var(--accent-primary);
    font-size: 18px;
}

.testimonial-text {
    font-style: italic;
    opacity: 0.9;
    margin: 0;
}

@media (min-width: 1024px) {
    .testimonials-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- CTA Banner Section --- */
.cta-banner-section {
    background-color: var(--accent-secondary);
    padding: 60px 0;
    text-align: center;
}

.cta-banner-title {
    font-size: clamp(28px, 5vw, 36px);
    margin-bottom: 16px;
}

.cta-banner-text {
    max-width: 600px;
    margin: 0 auto 32px;
}

/* --- Program Page: Timeline --- */
.page-header-section {
    text-align: center;
    padding-bottom: 0;
}
.page-title {
    font-size: clamp(32px, 6vw, 48px);
}
.page-subtitle {
    max-width: 700px;
    margin: 16px auto 0;
    opacity: 0.9;
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline-container::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 15px;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    margin-left: 30px;
}
.timeline-dot {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--accent-primary);
    border: 3px solid var(--bg-dark);
    top: 15px;
    left: -23px;
    z-index: 1;
}
.timeline-title {
    color: var(--accent-primary);
    margin-bottom: 8px;
}

/* --- Program Page: Image Integration --- */
.image-content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}
.integrated-image {
    border-radius: 28px;
}
@media (min-width: 768px) {
    .image-content-wrapper {
        grid-template-columns: 1fr 1.2fr;
    }
}

/* --- Mission Page: Timeline --- */
.mission-timeline-wrapper {
    display: grid;
    gap: 48px;
    grid-template-columns: 1fr;
}
.mission-image {
    border-radius: 28px;
    object-fit: cover;
    height: 100%;
}
.mission-timeline-item {
    position: relative;
    padding-bottom: 32px;
    padding-left: 50px;
    border-left: 2px solid var(--accent-secondary);
}
.mission-timeline-date {
    position: absolute;
    left: -12px;
    top: -5px;
    background: var(--accent-primary);
    color: var(--bg-dark);
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 14px;
}
.mission-timeline-item h4 {
    color: var(--text-light);
}
@media (min-width: 992px) {
    .mission-timeline-wrapper {
        grid-template-columns: 1fr 1.5fr;
    }
}

/* --- Mission Page: Values --- */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.value-card {
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 28px;
}
.value-card h3 {
    color: var(--accent-primary);
}
@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Contact Page --- */
.contact-grid-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}
.contact-info-panel h3, .contact-form-panel h3 {
    margin-bottom: 24px;
    color: var(--accent-primary);
}
.contact-detail-item {
    margin-bottom: 20px;
}
.contact-detail-item h4 {
    margin-bottom: 4px;
    color: var(--text-light);
    font-size: 16px;
}
.contact-detail-item p {
    margin: 0;
    opacity: 0.9;
}
.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: 14px;
    border-radius: 50px; /* pill style */
    border: 1px solid var(--border-color);
    background-color: transparent;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 16px;
}
.form-group textarea {
    border-radius: 28px; /* pill style for card */
    resize: vertical;
}
.form-submit-btn {
    width: 100%;
}
@media (min-width: 992px) {
    .contact-grid-layout {
        grid-template-columns: 1fr 1.5fr;
    }
}

/* --- Legal & Thank You Pages --- */
.legal-page h1, .thank-you-section h1 {
    margin-bottom: 24px;
}
.legal-page h2 {
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--accent-primary);
}
.thank-you-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.next-steps {
    margin-top: 48px;
}
.next-steps-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
}
.back-to-home {
    display: inline-block;
    margin-top: 48px;
    border-bottom: 1px solid var(--accent-primary);
}

/* --- Footer --- */
.site-footer {
    background-color: #1c1613 !important; /* Darker vintage background, !important for translator override */
    color: #c9c3bb !important; /* Muted text color, !important */
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}
.footer-about, .footer-links, .footer-legal, .footer-contact {
    margin-bottom: 20px;
}
.footer-logo {
    font-family: var(--font-heading);
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--text-light) !important;
}
.site-footer h3 {
    color: var(--text-light) !important;
    font-size: 18px;
    margin-bottom: 16px;
}
.footer-links ul li, .footer-legal ul li {
    margin-bottom: 10px;
}
.site-footer a {
    color: #c9c3bb !important;
}
.site-footer a:hover {
    color: var(--accent-primary) !important;
}
.footer-contact p {
    margin: 0 0 8px 0;
}
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
    opacity: 0.7;
}
@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 767px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
    .footer-about {
        grid-column: 1 / -1;
    }
}

/* --- 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);
    border-top: 1px solid var(--border-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 p a { text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn-accept, .cookie-btn-decline {
    padding: 8px 20px;
    border-radius: 50px; /* pill style */
    border: 1px solid;
    cursor: pointer;
    font-size: 14px;
    box-shadow: none; /* flat style */
}
.cookie-btn-accept {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--bg-dark);
}
.cookie-btn-decline {
    background-color: transparent;
    border-color: var(--text-light);
    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; }
}