/*
Color Palette: Terracotta & Earth Tones
--primary-color: #B85C38 (Terracotta)
--secondary-color: #5C3D2E (Deep Brown)
--accent-color: #E0C097 (Beige/Sand)
--text-color: #333333 (Dark Gray)
--bg-color: #FDF6F0 (Warm Off-White)
*/

:root {
    --primary-color: #B85C38;
    --secondary-color: #5C3D2E;
    --accent-color: #E0C097;
    --text-color: #333333;
    --bg-color: #FDF6F0;
    --white-color: #FFFFFF;
    --light-bg-color: #FFFFFF;
    --footer-bg-color: #2E2520;
    --footer-text-color: #E0C097;
}

/* Global Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    font-size: 16px;
}

h1, h2, h3 {
    font-weight: 700;
    color: var(--secondary-color);
    margin-top: 0;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

p {
    margin-bottom: 1rem;
}

ul {
    list-style-position: inside;
    padding-left: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.section-light {
    background-color: var(--light-bg-color);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 1.1rem;
}

.text-center {
    text-align: center;
}

/* Header */
.site-header {
    position: relative;
    width: calc(100% - 20px);
    padding: 15px 10px;
    background-color: var(--bg-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.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);
}
.logo:hover {
    text-decoration: none;
}

.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(--secondary-color);
    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: 600;
    font-size: 1rem;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
    background-color: var(--bg-color);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    border-bottom: 1px solid var(--accent-color);
    text-align: center;
}
.mobile-nav li:last-child {
    border-bottom: none;
}

@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 24px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

/* Hero Section */
.hero-section {
    height: 80vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(46, 37, 32, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: var(--white-color);
    max-width: 800px;
}

.hero-title {
    color: var(--white-color);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Cards */
.card {
    background-color: var(--light-bg-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-left: 5px solid var(--primary-color);
}

.card-title {
    margin-bottom: 15px;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
@media (min-width: 768px) {
    .benefits-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Split Layout */
.split-layout, .split-layout-reverse {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
@media (min-width: 992px) {
    .split-layout { grid-template-columns: 1fr 1fr; }
    .split-layout-reverse { grid-template-columns: 1fr 1fr; }
    .split-layout-reverse .split-image { grid-column: 1; grid-row: 1; }
}
.split-image img {
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
@media (min-width: 768px) {
    .testimonials-grid { grid-template-columns: 1fr 1fr; }
}
.testimonial-card {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: 8px;
    border-top: 4px solid var(--accent-color);
}
.testimonial-card blockquote {
    margin: 0;
    font-style: italic;
}
.testimonial-card cite {
    display: block;
    margin-top: 15px;
    font-weight: 600;
    color: var(--primary-color);
    font-style: normal;
}

/* CTA Section */
.cta-section {
    background-color: var(--secondary-color);
    color: var(--white-color);
    text-align: center;
}
.cta-content h2 {
    color: var(--white-color);
}

/* Page Header */
.page-header {
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 50px 0;
    text-align: center;
}
.page-header h1 {
    color: var(--white-color);
}
.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* Timeline (Program Page) */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--accent-color);
    top: 0;
    bottom: 0;
    left: 20px;
}
.timeline-item {
    padding: 10px 40px 30px 60px;
    position: relative;
}
.timeline-dot {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--white-color);
    border: 4px solid var(--primary-color);
    top: 15px;
    left: 12px;
    z-index: 1;
}
.timeline-content {
    background-color: var(--white-color);
    padding: 20px;
    border-radius: 8px;
}

/* Content with Image (Program Page) */
.content-with-image {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}
@media (min-width: 768px) {
    .content-with-image { grid-template-columns: 1fr 1.5fr; }
}
.content-image {
    border-radius: 8px;
}

/* Values Grid (Mission Page) */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
@media (min-width: 768px) {
    .values-grid { grid-template-columns: repeat(3, 1fr); }
}
.values-grid .card {
    border-left: none;
    border-top: 5px solid var(--primary-color);
    text-align: center;
}

/* Manifesto (Mission Page) */
.manifesto-container {
    max-width: 800px;
    text-align: center;
    font-size: 1.15rem;
    font-style: italic;
    border-left: 5px solid var(--accent-color);
    padding-left: 30px;
}

/* Contact Page */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}
@media (min-width: 992px) {
    .contact-layout { grid-template-columns: 1.5fr 1fr; }
}
.contact-form-container, .contact-info-container {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}
.contact-info-container {
    background-color: var(--light-bg-color);
    padding: 30px;
    border-radius: 8px;
    width: calc(100% - 60px);
}
.contact-info-item {
    margin-bottom: 20px;
}
.contact-info-item h3 {
    margin-bottom: 5px;
}
.contact-info-item p {
    margin: 0;
}

/* Form Styles */
.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(184, 92, 56, 0.2);
}

/* Legal & Thank You Pages */
.legal-content h1, .legal-content h2 {
    margin-bottom: 20px;
}
.legal-content ul {
    list-style-type: disc;
    padding-left: 20px;
}
.thank-you-section {
    padding: 80px 0;
}
.next-steps {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--accent-color);
}
.quick-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* Footer */
.site-footer {
    background-color: var(--footer-bg-color) !important;
    color: var(--footer-text-color) !important;
    padding: 50px 0 0;
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    padding-bottom: 40px;
}
.footer-title {
    color: var(--white-color) !important;
    margin-bottom: 15px;
    font-size: 1.2rem;
}
.site-footer p, .site-footer a {
    color: var(--footer-text-color) !important;
}
.site-footer a:hover {
    text-decoration: underline;
}
.footer-links ul, .footer-legal ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li, .footer-legal li {
    margin-bottom: 10px;
}
.footer-bottom {
    border-top: 1px solid rgba(224, 192, 151, 0.2);
    text-align: center;
    padding: 20px;
}
.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

/* 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(--secondary-color);
    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; }
#cookie-banner a { color: var(--accent-color); font-weight: bold; }
.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: bold;
}
.cookie-btn-accept {
    background-color: var(--primary-color);
    color: var(--white-color);
}
.cookie-btn-decline {
    background-color: transparent;
    color: var(--white-color);
    border: 1px solid 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; }
}