/* Palette: Warm Terracotta & Deep Brown */
:root {
    --primary-color: #C0392B; /* Terracotta Red */
    --secondary-color: #D35400; /* Burnt Orange */
    --dark-color: #271C19; /* Deep Brown */
    --light-color: #FDFEFE; /* Off-white */
    --accent-color: #F39C12; /* Warm Gold */
    --text-color: #4A3B32; /* Soft Brown Text */
    --bg-gray: #F5EBE6; /* Warm Gray/Beige */
    
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--light-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--dark-color);
    line-height: 1.2;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

.text-white { color: #ffffff !important; }
.text-center { text-align: center; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.p-30 { padding: 30px; }
.mr-10 { margin-right: 10px; }

/* Layout Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 20px;
}

.bg-light { background-color: var(--bg-gray); }
.bg-dark { background-color: var(--dark-color); }
.bg-accent { background-color: var(--accent-color); }

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--dark-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

.btn-full {
    width: 100%;
}

/* Header Layout (Strictly from prompt) */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--dark-color);
    color: #ffffff;
}

.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: #ffffff;
}

.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: #ffffff;
    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:hover {
    color: var(--accent-color);
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
    background-color: var(--dark-color);
}

.mobile-nav ul {
    list-style: none;
    padding: 0 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 15px 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;
        padding-bottom: 20px;
    }
    
    #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 Section (Fullscreen) */
.hero-fullscreen {
    position: relative;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(39, 28, 25, 0.7);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #ffffff;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Section Headers */
.section-header {
    margin-bottom: 40px;
}

.section-title {
    font-size: 2.2rem;
}

.title-divider {
    height: 4px;
    width: 60px;
    background-color: var(--primary-color);
    margin-top: 10px;
}

.divider-center {
    margin: 10px auto 0;
}

/* Text Content */
.text-content-large p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* Benefits Grid (3 Columns) */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .benefits-grid { grid-template-columns: repeat(3, 1fr); }
}

.benefit-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
    border-bottom: 4px solid var(--primary-color);
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Split Section */
.split-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}

@media (min-width: 992px) {
    .split-wrapper { grid-template-columns: 1fr 1fr; }
}

.shadow-img {
    border-radius: 8px;
    box-shadow: 15px 15px 0 var(--secondary-color);
}

/* 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: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    color: #ffffff;
}

.quote-text {
    font-style: italic;
    margin-bottom: 15px;
}

.quote-author {
    font-weight: bold;
    color: var(--accent-color);
}

/* Page Headers */
.page-header {
    padding: 60px 0;
}

/* Timeline Section */
.timeline-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 20px;
    height: 100%; width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 50px;
}

.timeline-marker {
    position: absolute;
    left: 0; top: 0;
    width: 42px; height: 42px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 2;
}

.timeline-content {
    background: var(--bg-gray);
    padding: 30px;
    border-radius: 8px;
}

.timeline-img {
    margin-top: 20px;
    border-radius: 4px;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
}

@media (min-width: 768px) {
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--dark-color);
}

.stat-label {
    font-size: 1.1rem;
    color: var(--dark-color);
    font-weight: bold;
}

/* FAQ Section */
.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-gray);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 4px;
    border-left: 4px solid var(--primary-color);
}

.faq-question {
    margin-bottom: 10px;
    color: var(--dark-color);
}

/* Story Section */
.story-hero-img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .values-grid { grid-template-columns: repeat(3, 1fr); }
}

.value-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.value-title {
    color: var(--secondary-color);
}

/* Manifesto */
.manifesto-container {
    max-width: 800px;
}

.manifesto-text {
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.8;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .contact-wrapper { grid-template-columns: 3fr 2fr; }
}

.custom-form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.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;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}

.contact-info-area {
    padding: 30px;
    border-radius: 8px;
}

.info-block {
    margin-bottom: 25px;
}

.text-link {
    color: var(--primary-color);
    font-weight: bold;
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    margin-top: 30px;
}

.legal-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

/* Footer (Hardcoded colors for protection) */
.site-footer {
    background-color: #271C19 !important;
    color: #FDFEFE !important;
    padding: 60px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.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: repeat(4, 1fr); }
}

.footer-heading {
    color: #F39C12 !important;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-desc, .footer-contact {
    color: #FDFEFE !important;
    margin-bottom: 10px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #FDFEFE !important;
    text-decoration: none;
}

.footer-links a:hover {
    color: #F39C12 !important;
}

.footer-contact a {
    color: #F39C12 !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(253, 254, 254, 0.1);
    color: #FDFEFE !important;
    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;
    background-color: var(--dark-color);
    color: #fff;
    transform: translateY(0); 
    transition: transform 0.4s ease;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.2);
}

#cookie-banner.hidden { 
    transform: translateY(110%); 
}

#cookie-banner p { 
    margin: 0; 
    flex: 1; 
    min-width: 200px; 
    font-size: 0.9rem;
}

#cookie-banner a {
    color: var(--accent-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;
}

.cookie-btn-accept {
    background-color: var(--primary-color);
    color: #fff;
}

.cookie-btn-decline {
    background-color: transparent;
    color: #fff;
    border: 1px solid #fff;
}

@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; }
}