/* 
   Color Palette: mocha-copper
   Primary: #4A2E1A
   Secondary: #6B4530
   Accent: #A06830
   Bg Tint: #F8F2EC
*/

:root {
    --color-primary: #4A2E1A;
    --color-secondary: #6B4530;
    --color-accent: #A06830;
    --bg-tint: #F8F2EC;
    --color-text: #2C1A10;
    --color-white: #FFFFFF;
    --color-border: #DCD0C4;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Base Reset - Sharp Style (no border-radius) */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-radius: 0 !important; /* Sharp requirement */
}

body {
    font-family: var(--font-family);
    background-color: var(--color-white);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography with clamp */
h1 {
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.15;
    color: var(--color-primary);
    margin-bottom: 20px;
    font-weight: 700;
}

h2 {
    font-size: clamp(24px, 4vw, 38px);
    line-height: 1.2;
    color: var(--color-primary);
    margin-bottom: 16px;
    font-weight: 600;
}

h3 {
    font-size: clamp(18px, 3vw, 24px);
    color: var(--color-secondary);
    margin-bottom: 12px;
}

p {
    font-size: clamp(15px, 2.5vw, 17px);
    margin-bottom: 20px;
    color: var(--color-text);
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Header Layout & Burger Menu */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    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;
    color: var(--color-primary);
    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(--color-primary);
    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 .nav-list a {
    color: var(--color-secondary);
    font-weight: 500;
    font-size: 16px;
    padding: 5px 0;
}

.desktop-nav .nav-list a:hover {
    color: var(--color-accent);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
    background-color: var(--color-white);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
}

.mobile-nav a {
    color: var(--color-secondary);
    font-size: 18px;
    display: block;
}

/* Buttons - Minimalist & Sharp */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    min-height: 44px;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--color-secondary);
    color: var(--color-secondary);
}

.btn-secondary:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Hero Section: split-color */
.hero-split {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: auto;
}

.hero-content {
    background-color: var(--bg-tint);
    padding: 48px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-badge {
    display: inline-block;
    color: var(--color-accent);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 10px;
}

.hero-image-wrapper {
    width: 100%;
    height: 350px;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sections Base Container */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 16px;
}

.section-header {
    max-width: 800px;
    margin-bottom: 40px;
}

.section-title-center {
    text-align: center;
    margin-bottom: 40px;
}

/* Benefits Section: benefits-2x2 */
.benefits-section {
    background-color: var(--color-white);
    border-top: 1px solid var(--color-border);
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.benefit-card {
    padding: 32px;
    background-color: var(--bg-tint);
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.07); /* subtle shadow */
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
}

.benefit-num {
    font-size: 32px;
    font-weight: bold;
    color: var(--color-accent);
    margin-bottom: 16px;
    display: block;
}

/* Quote Highlight Section */
.quote-section {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 64px 16px;
    text-align: center;
}

.quote-container {
    max-width: 900px;
    margin: 0 auto;
}

.quote-icon {
    font-size: 72px;
    line-height: 1;
    color: var(--color-accent);
    display: block;
    margin-bottom: -10px;
}

.quote-section blockquote {
    font-size: clamp(20px, 3.5vw, 28px);
    font-style: italic;
    margin-bottom: 24px;
    font-weight: 300;
}

.quote-section cite {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--bg-tint);
}

/* Comparison Table */
.comparison-section {
    background-color: var(--bg-tint);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.table-wrapper {
    overflow-x: auto;
    width: 100%;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--color-white);
    text-align: left;
    min-width: 600px;
}

.comparison-table th, .comparison-table td {
    padding: 18px;
    border: 1px solid var(--color-border);
}

.comparison-table th {
    background-color: var(--color-secondary);
    color: var(--color-white);
    font-weight: 600;
}

.comparison-table tr:nth-child(even) {
    background-color: var(--bg-tint);
}

/* Two Column Section */
.two-col-section {
    background-color: var(--color-white);
}

.two-col-container {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 16px;
    gap: 40px;
}

.two-col-image, .two-col-content {
    flex: 1;
}

.side-img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
}

.styled-list {
    list-style: none;
    margin: 24px 0;
}

.styled-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 16px;
    font-size: 16px;
}

.styled-list li::before {
    content: "•";
    color: var(--color-accent);
    font-size: 24px;
    position: absolute;
    left: 0;
    top: -4px;
}

/* Gallery Grid */
.gallery-section {
    background-color: var(--bg-tint);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.gallery-item {
    position: relative;
    height: 300px;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.03);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(74, 46, 26, 0.95);
    color: var(--color-white);
    padding: 16px;
    font-size: 15px;
    font-weight: 500;
}

.placeholder-item {
    background-color: var(--color-secondary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    text-align: center;
}

.placeholder-content h3 {
    color: var(--color-white);
    margin-bottom: 12px;
}

.placeholder-content p {
    color: var(--bg-tint);
    font-size: 14px;
    margin-bottom: 0;
}

/* Program Page Layout: timeline-4modules */
.page-hero {
    background-color: var(--bg-tint);
    border-bottom: 1px solid var(--color-border);
    text-align: center;
    padding: 64px 16px;
}

.page-hero .subtitle {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    color: var(--color-secondary);
}

.timeline-section {
    background-color: var(--color-white);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    background-color: var(--color-border);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 50px;
}

.timeline-badge {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background-color: var(--color-primary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    z-index: 2;
}

.timeline-content {
    padding: 24px;
    background-color: var(--bg-tint);
    border: 1px solid var(--color-border);
}

.timeline-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: bold;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-top: 12px;
}

/* Stats Section */
.stats-section {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 16px;
    text-align: center;
}

.stat-card .stat-number {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: bold;
    color: var(--color-accent);
    display: block;
    margin-bottom: 12px;
}

.stat-card p {
    color: var(--bg-tint);
    margin-bottom: 0;
}

/* FAQ Section Accordion */
.faq-section {
    background-color: var(--bg-tint);
    border-top: 1px solid var(--color-border);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    margin-bottom: 16px;
}

.faq-item summary {
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    color: var(--color-primary);
    outline: none;
}

.faq-item p {
    padding: 0 20px 20px 20px;
    margin-bottom: 0;
    color: var(--color-text);
}

/* CTA Banner */
.cta-banner {
    background-color: var(--color-primary);
    color: var(--color-white);
    text-align: center;
    padding: 64px 16px;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-banner h2 {
    color: var(--color-white);
    margin-bottom: 16px;
}

.cta-banner p {
    color: var(--bg-tint);
    margin-bottom: 24px;
}

/* Mission Page Layout: vertical-storytelling */
.story-section {
    background-color: var(--color-white);
}

.story-block {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 64px;
    align-items: center;
}

.story-block:last-child {
    margin-bottom: 0;
}

.story-text {
    flex: 1;
}

.story-image {
    flex: 1;
    width: 100%;
}

.story-img-el {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border: 1px solid var(--color-border);
}

/* Values Grid */
.values-section {
    background-color: var(--bg-tint);
    border-top: 1px solid var(--color-border);
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.value-card {
    background-color: var(--color-white);
    padding: 32px;
    border: 1px solid var(--color-border);
    text-align: center;
}

.value-card h3 {
    margin-bottom: 16px;
}

/* Manifesto */
.manifesto-section {
    background-color: var(--color-primary);
    color: var(--color-white);
    text-align: center;
    padding: 80px 16px;
}

.manifesto-container {
    max-width: 800px;
    margin: 0 auto;
}

.manifesto-section h2,
.manifesto-section p {
    color: var(--color-white);
    margin-bottom: 24px;
}

.manifesto-section p.manifesto-lead {
    font-size: clamp(20px, 3vw, 24px);
    font-style: italic;
    color: var(--color-accent);
    margin-bottom: 24px;
    line-height: 1.4;
}

/* Contact Page Layout: Form Left 60%, Contacts Right 40% */
.contact-split-section {
    background-color: var(--color-white);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 16px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.contact-form-wrapper {
    flex: 1.5;
}

.contact-info-wrapper {
    flex: 1;
    background-color: var(--bg-tint);
    padding: 32px;
    border: 1px solid var(--color-border);
}

.styled-form {
    max-width: 800px;
    margin-top: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-primary);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-border);
    background-color: var(--bg-tint);
    color: var(--color-text);
    font-family: var(--font-family);
    font-size: 16px;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background-color: var(--color-white);
}

.info-card {
    margin-bottom: 24px;
}

.info-card h3 {
    font-size: 18px;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.info-link {
    color: var(--color-accent);
    font-weight: 600;
}

.schedule-card {
    border-top: 1px solid var(--color-border);
    padding-top: 24px;
    margin-bottom: 0;
}

/* Legal Pages Styling */
.legal-section {
    background-color: var(--color-white);
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 64px 16px;
}

.last-updated {
    font-size: 14px;
    color: var(--color-accent);
    font-style: italic;
    margin-bottom: 40px;
}

.legal-block {
    margin-bottom: 32px;
}

.legal-block h2 {
    font-size: 20px;
    margin-bottom: 16px;
}

.legal-block ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.legal-block li {
    margin-bottom: 10px;
}

.disclaimer-block {
    background-color: var(--bg-tint);
    border-left: 4px solid var(--color-accent);
    padding: 24px;
}

/* Thank You Page Styling */
.thank-section {
    background-color: var(--bg-tint);
    text-align: center;
    padding: 80px 16px;
}

.thank-container {
    max-width: 650px;
    margin: 0 auto;
    background-color: var(--color-white);
    padding: 48px 32px;
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.thank-icon {
    font-size: 64px;
    color: var(--color-accent);
    display: block;
    margin-bottom: 20px;
}

.next-steps-card {
    text-align: left;
    background-color: var(--bg-tint);
    padding: 24px;
    border: 1px solid var(--color-border);
    margin: 32px 0;
}

.next-steps-card h2 {
    font-size: 18px;
    margin-bottom: 16px;
}

.next-steps-card ul {
    list-style: none;
}

.next-steps-card li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.next-steps-card li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

.thank-actions p {
    font-weight: 600;
}

.actions-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 16px;
}

/* Footer with Hardcoded Colors to Prevent Translation Overwrite Issues */
.site-footer {
    background-color: #4A2E1A !important;
    color: #F8F2EC !important;
    border-top: 1px solid #6B4530 !important;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 16px 32px 16px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand .footer-logo {
    font-size: 28px;
    font-weight: bold;
    color: #FFFFFF !important;
    display: block;
    margin-bottom: 16px;
}

.footer-brand p {
    color: #DCD0C4 !important;
    font-size: 14px;
}

.footer-links h3, .footer-legal h3, .footer-contact h3 {
    color: #FFFFFF !important;
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-links ul, .footer-legal ul {
    list-style: none;
}

.footer-links li, .footer-legal li {
    margin-bottom: 12px;
}

.footer-links a, .footer-legal a {
    color: #DCD0C4 !important;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-links a:hover, .footer-legal a:hover {
    color: #A06830 !important;
}

.footer-contact p {
    color: #DCD0C4 !important;
    font-size: 15px;
    margin-bottom: 12px;
}

.footer-email-link {
    color: #A06830 !important;
    font-weight: bold;
}

.footer-bottom {
    border-top: 1px solid #6B4530 !important;
    padding-top: 32px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: #DCD0C4 !important;
    margin-bottom: 0;
}

/* 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(--color-primary);
    color: var(--color-white);
    border-top: 2px solid var(--color-accent);
}

#cookie-banner.hidden {
    transform: translateY(110%);
}

#cookie-banner p {
    margin: 0;
    flex: 1;
    min-width: 200px;
    font-size: 14px;
    color: var(--bg-tint);
}

#cookie-banner a {
    color: var(--color-accent);
    text-decoration: underline;
}

.cookie-btns {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-btn-accept, .cookie-btn-decline {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: none;
}

.cookie-btn-accept {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.cookie-btn-accept:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

.cookie-btn-decline {
    background-color: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-white);
}

.cookie-btn-decline:hover {
    background-color: rgba(255,255,255,0.1);
}

/* Mobile-First Media Queries */

@media (min-width: 768px) {
    /* Header layout */
    .hamburger {
        display: none;
    }

    /* Hero split */
    .hero-split {
        flex-direction: row;
        min-height: 500px;
    }

    .hero-content {
        flex: 1;
        padding: 64px;
    }

    .hero-image-wrapper {
        flex: 1;
        height: auto;
    }

    /* Benefits grid */
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Two column */
    .two-col-container {
        flex-direction: row;
        align-items: center;
    }

    /* Gallery grid */
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Timeline */
    .timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .timeline-item {
        padding-left: 0;
        width: 50%;
        margin-bottom: 60px;
    }

    .timeline-item:nth-child(even) {
        align-self: flex-end;
        margin-left: 50%;
        padding-left: 40px;
    }

    .timeline-item:nth-child(odd) {
        align-self: flex-start;
        text-align: right;
        padding-right: 40px;
    }

    .timeline-badge {
        left: 50%;
        transform: translateX(-50%);
        top: 20px;
    }

    .timeline-item:nth-child(even) .timeline-badge {
        left: -20px;
        transform: none;
    }

    .timeline-item:nth-child(odd) .timeline-badge {
        right: -20px;
        left: auto;
        transform: none;
    }

    /* Stats grid */
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Story blocks */
    .story-block {
        flex-direction: row;
        gap: 64px;
    }

    .story-block.reverse {
        flex-direction: row-reverse;
    }

    /* Values grid */
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Contact split */
    .contact-container {
        flex-direction: row;
    }

    /* Footer grid */
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 2fr;
    }
}

@media (max-width: 767px) {
    .hamburger {
        display: block; /* Show hamburger on mobile */
    }

    .desktop-nav {
        display: none;
    }

    .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);
    }

    #cookie-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-btns {
        width: 100%;
    }

    .cookie-btn-accept, .cookie-btn-decline {
        flex: 1;
        text-align: center;
    }
}