/* 
Palette Name: Warm Terracotta & Sand
Colors: Terracotta (#D95D39), Sand (#F0E2D0), Dark Brown (#3A2618), Soft Orange (#F2A65A)
*/

:root {
    --primary-color: #D95D39;
    --secondary-color: #F2A65A;
    --bg-color: #FDFBF7;
    --bg-light: #F0E2D0;
    --text-dark: #3A2618;
    --text-light: #FDFBF7;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-color);
    line-height: 1.6;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--text-dark); }
.text-light { color: var(--text-light); }
.text-center { text-align: center; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }

/* Typography */
h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: 15px;
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    color: var(--primary-color);
}

.title-divider {
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 15px auto 30px;
}

.text-content-large {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
}

.text-content-large p {
    margin-bottom: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: #c04e2c;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-full {
    width: 100%;
}

/* Header Layout */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--text-dark);
    color: var(--text-light);
}

.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(--secondary-color);
}

.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:hover {
    color: var(--secondary-color);
}

.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(--text-dark);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

@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); }
}

/* Hero Sections */
.hero-fullscreen {
    height: 90vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
}

.hero-content-center {
    max-width: 800px;
}

.hero-title {
    font-size: clamp(36px, 5vw, 56px);
    margin-bottom: 20px;
    color: var(--bg-light);
}

.hero-subtitle {
    font-size: clamp(18px, 2vw, 22px);
    margin-bottom: 30px;
}

.page-header {
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    color: var(--text-light);
}

.page-title {
    font-size: clamp(32px, 4vw, 48px);
    color: var(--secondary-color);
}

/* Grids */
.grid-3-cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.grid-4-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .grid-3-cols { grid-template-columns: repeat(3, 1fr); }
    .grid-4-cols { grid-template-columns: repeat(4, 1fr); }
}

/* Cards */
.card-benefit {
    background: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(58, 38, 24, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.card-benefit:hover {
    transform: translateY(-10px);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.card-title {
    color: var(--primary-color);
}

/* Split Section */
.split-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}

@media (min-width: 992px) {
    .split-grid { grid-template-columns: 1fr 1fr; }
}

.rounded-image {
    border-radius: 12px;
}

.shadow-large {
    box-shadow: 0 20px 40px rgba(58, 38, 24, 0.15);
}

/* Stats */
.stat-item {
    padding: 20px;
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Testimonials */
.testimonial-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.quote {
    font-style: italic;
    margin-bottom: 20px;
}

.author {
    font-weight: bold;
    color: var(--primary-color);
}

/* Timeline (Program) */
.timeline-vertical {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline-vertical::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 24px;
    width: 2px;
    background-color: var(--secondary-color);
}

.timeline-item {
    position: relative;
    padding-left: 70px;
    margin-bottom: 50px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    z-index: 2;
}

.timeline-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.timeline-content h3 {
    color: var(--primary-color);
}

/* FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    margin-bottom: 15px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 20px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-dark);
    list-style: none;
    position: relative;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--primary-color);
}

details[open] .faq-question::after {
    content: '-';
}

.faq-answer {
    padding: 0 20px 20px;
    border-top: 1px solid var(--bg-light);
    margin-top: 10px;
    padding-top: 20px;
}

/* Story Layout (Mission) */
.story-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 992px) {
    .story-layout {
        grid-template-columns: 1.2fr 0.8fr;
        align-items: center;
    }
}

.value-card {
    padding: 30px;
    background: #fff;
    border-radius: 8px;
}

.value-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.manifesto-container {
    max-width: 800px;
}

.manifesto-text {
    font-size: 24px;
    font-style: italic;
    color: var(--secondary-color);
    line-height: 1.8;
}

/* Contact Layout */
.contact-grid-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 992px) {
    .contact-grid-layout {
        grid-template-columns: 60% 40%;
    }
}

.contact-form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-info-wrapper {
    padding: 40px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.info-item {
    margin-bottom: 20px;
}

.info-item h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

/* Legal Pages */
.legal-container {
    max-width: 800px;
    background: #fff;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.legal-content h3 {
    margin-top: 30px;
    color: var(--primary-color);
}

.legal-content p, .legal-content ul {
    margin-bottom: 15px;
}

.legal-content ul {
    padding-left: 20px;
}

/* Thank You Page */
.thank-you-box {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.site-footer {
    background-color: var(--text-dark) !important;
    color: var(--bg-light) !important;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@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; }
}

.footer-logo {
    font-size: 28px;
    color: var(--secondary-color) !important;
    margin-bottom: 15px;
}

.footer-desc {
    color: var(--bg-light) !important;
    opacity: 0.8;
}

.footer-heading {
    color: var(--secondary-color) !important;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--bg-light) !important;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary-color) !important;
}

.footer-contact {
    color: var(--bg-light) !important;
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-contact a {
    color: var(--secondary-color) !important;
}

.footer-bottom {
    background-color: #2a1b11 !important;
    padding: 20px 0;
    text-align: center;
    color: var(--bg-light) !important;
    opacity: 0.7;
    font-size: 14px;
}

/* 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;
    background-color: var(--text-dark);
    color: var(--text-light);
    transform: translateY(0);
    transition: transform 0.4s ease;
    box-shadow: 0 -5px 20px 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(--secondary-color);
    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: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.cookie-btn-accept {
    background-color: var(--primary-color);
    color: #fff;
}

.cookie-btn-decline {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid 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;
    }
}