/*
  Style: bold-editorial
  Palette: Bold Coral & Charcoal
*/

:root {
    --primary-color: #D9534F; /* Bold Red/Coral */
    --secondary-color: #f0ad4e; /* Warm Yellow */
    --dark-color: #222831; /* Charcoal */
    --light-color: #FFFFFF;
    --bg-light: #F9F9F9;
    --text-color: #333333;
    --text-light: #f1f1f1;
    --subtle-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    --border-radius-card: 16px;
    --border-radius-btn: 8px;
    --font-family-headings: 'Anton', sans-serif;
    --font-family-body: 'Inter', sans-serif;
}

/* --- Global Styles & Reset --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--dark-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-headings);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 1px;
    color: var(--dark-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.section-light-bg {
    background-color: var(--bg-light);
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: clamp(16px, 2.5vw, 18px);
    max-width: 700px;
    margin: 0 auto 40px auto;
    line-height: 1.7;
}

.text-center {
    text-align: center;
}

.cta-title {
    margin-bottom: 15px;
}

.section.thank-you-section {
    padding: 120px 0;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius-btn);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.btn-primary:hover {
    background-color: #c9302c;
    color: var(--light-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--dark-color);
    border-color: var(--dark-color);
}

.btn-secondary:hover {
    background-color: var(--dark-color);
    color: var(--light-color);
}

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--light-color);
    box-shadow: 0 2px 10px 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: 28px;
    font-weight: 700;
    color: var(--dark-color);
    font-family: var(--font-family-headings);
    letter-spacing: 1px;
    z-index: 100;
}

.logo:hover {
    color: var(--primary-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(--dark-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 {
    color: var(--text-color);
    font-weight: 700;
    padding: 5px 0;
    position: relative;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.desktop-nav a:hover::after {
    width: 100%;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 72px; /* Header height */
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    z-index: 99;
    background-color: var(--dark-color);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 15px 0;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav li:last-child {
    border-bottom: none;
}

.mobile-nav a {
    color: var(--light-color);
    font-size: 18px;
    font-weight: 700;
}

/* --- Hero Section (Bold Text) --- */
.hero-bold-text {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--light-color);
}

.hero-title {
    font-size: clamp(56px, 9vw, 110px);
    color: var(--light-color);
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: clamp(18px, 3vw, 22px);
    max-width: 700px;
    margin: 0 auto 40px auto;
    font-family: var(--font-family-body);
    font-weight: 400;
}

.hero-bold-text .btn-primary {
    background-color: var(--light-color);
    color: var(--dark-color);
    padding: 15px 35px;
    font-size: 16px;
}
.hero-bold-text .btn-primary:hover {
    background-color: var(--dark-color);
    color: var(--light-color);
}

/* --- Horizontal Scroll Section --- */
.hscroll-container {
    overflow-x: auto;
    padding: 20px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--bg-light);
}

.hscroll-container::-webkit-scrollbar {
    height: 8px;
}

.hscroll-container::-webkit-scrollbar-track {
    background: var(--bg-light);
}

.hscroll-container::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
}

.hscroll-track {
    display: flex;
    gap: 20px;
    padding: 0 20px; /* Padding for start and end */
    width: max-content;
}

.hscroll-card {
    width: 300px;
    flex-shrink: 0;
    padding: 25px;
    background-color: var(--light-color);
    border-radius: var(--border-radius-card);
    box-shadow: var(--subtle-shadow);
    border: 1px solid #eee;
}

.hscroll-card .card-title {
    font-size: 22px;
    margin-bottom: 10px;
}

/* --- Two Column Section --- */
.two-col-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.two-col-image-wrapper {
    border-radius: var(--border-radius-card);
    overflow: hidden;
    box-shadow: var(--subtle-shadow);
}

.two-col-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.styled-list {
    margin-top: 20px;
    padding-left: 20px;
}

.styled-list li {
    padding-left: 15px;
    position: relative;
    margin-bottom: 10px;
}

.styled-list li::before {
    content: '✔';
    position: absolute;
    left: -10px;
    top: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* --- Numbered Steps Section --- */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 50px;
}

.step-card {
    text-align: center;
    padding: 20px;
}

.step-number {
    font-family: var(--font-family-headings);
    font-size: 64px;
    color: var(--primary-color);
    opacity: 0.5;
    line-height: 1;
}

.step-title {
    font-size: 24px;
    margin: 10px 0;
}

/* --- Gallery Grid Section --- */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    border-radius: var(--border-radius-card);
    overflow: hidden;
    box-shadow: var(--subtle-shadow);
}

.gallery-item img {
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-placeholder {
    background-color: var(--dark-color);
    color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    min-height: 250px;
}

.placeholder-title {
    color: var(--light-color);
    font-size: 28px;
    margin-bottom: 10px;
}

/* --- Stats Bar Section --- */
.stats-bar {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 40px 0;
}

.stats-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    gap: 30px;
    text-align: center;
}

.stat-item .stat-number {
    font-family: var(--font-family-headings);
    font-size: 48px;
    color: var(--primary-color);
    display: block;
}

.stat-item .stat-label {
    font-size: 16px;
    color: var(--text-light);
}

/* --- Page Hero --- */
.page-hero {
    background-color: var(--bg-light);
    text-align: center;
    padding: 80px 0;
}

.page-title {
    font-size: clamp(40px, 6vw, 64px);
}

.page-subtitle {
    font-size: clamp(18px, 3vw, 20px);
    max-width: 700px;
    margin: 15px auto 0 auto;
}

/* --- Accordion (Program Page) --- */
.accordion-container {
    margin-top: 40px;
}
.accordion-item {
    border: 1px solid #ddd;
    border-radius: var(--border-radius-btn);
    margin-bottom: 15px;
    overflow: hidden;
}
.accordion-item[open] {
    border-color: var(--primary-color);
}
.accordion-title {
    padding: 20px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-family-body);
}

.accordion-title::after {
    content: '+';
    font-size: 28px;
    font-weight: 300;
    transition: transform 0.3s ease;
}
.accordion-item[open] > .accordion-title::after {
    content: '−';
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0 20px 20px 20px;
}

/* --- CTA Section --- */
.cta-section {
    background-color: var(--dark-color);
    color: var(--light-color);
}
.cta-title {
    color: var(--light-color);
}

/* --- Mission Page --- */
.mission-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
.mission-image {
    border-radius: var(--border-radius-card);
    overflow: hidden;
}
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 40px;
}
.value-card {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius-card);
    box-shadow: var(--subtle-shadow);
    text-align: center;
}
.value-title {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--primary-color);
}
.manifesto {
    border-left: 5px solid var(--primary-color);
    padding-left: 30px;
    font-size: 22px;
    font-style: italic;
    margin: 40px auto 0 auto;
    max-width: 800px;
}

/* --- Contact Page --- */
.contact-info-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
    margin-bottom: 50px;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-group {
    display: flex;
    flex-direction: column;
}
.form-group label {
    margin-bottom: 8px;
    font-weight: 700;
}
.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: var(--border-radius-btn);
    font-family: var(--font-family-body);
    font-size: 16px;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(217, 83, 79, 0.5);
}
.form-submit-btn {
    align-self: flex-start;
    width: 100%;
}

/* --- Legal & Thank You Pages --- */
.legal-content h1 { margin-bottom: 20px; }
.legal-content h2 { margin-top: 30px; margin-bottom: 15px; }
.thank-you-section { padding: 100px 0; }
.thank-you-title { font-size: 48px; }
.thank-you-text { font-size: 18px; margin: 20px 0 40px; }
.thank-you-actions h2 { font-size: 24px; margin-bottom: 20px; }
.action-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }

/* --- Footer --- */
.site-footer {
    background-color: var(--dark-color) !important;
    color: var(--text-light) !important;
    padding: 50px 0 0 0;
}
.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.footer-heading {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--light-color) !important;
}
.footer-column p, .footer-column a {
    color: #ccc !important;
    margin-bottom: 10px;
}
.footer-nav li { margin-bottom: 8px; }
.footer-nav a:hover { color: var(--light-color) !important; }
.footer-bottom {
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    border-top: 1px solid #444;
}

/* --- Cookie Banner --- */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    padding: 18px 24px;
    background-color: var(--dark-color);
    color: var(--light-color);
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
    transform: translateY(0); transition: transform 0.4s ease;
    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 a { color: var(--secondary-color) !important; text-decoration: underline; }
.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: var(--border-radius-btn);
    cursor: pointer;
    font-weight: bold;
}
.cookie-btn-accept {
    background-color: var(--primary-color);
    color: var(--light-color);
}
.cookie-btn-decline {
    background-color: #555;
    color: var(--light-color);
}

/* --- Media Queries (Mobile-First) --- */
@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .hamburger,
    .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); }
}

@media (min-width: 600px) {
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-container { flex-direction: row; }
    .footer-container { grid-template-columns: repeat(2, 1fr); }
    .contact-info-block { grid-template-columns: repeat(2, 1fr); }
    .form-submit-btn { width: auto; }
}

@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; }
}

@media (min-width: 768px) {
    .section { padding: 80px 0; }
    .two-col-grid { grid-template-columns: 1fr 1fr; }
    .mission-content { grid-template-columns: 40% 1fr; }
}

@media (min-width: 1024px) {
    .steps-grid { grid-template-columns: repeat(4, 1fr); }
    .gallery-grid { grid-template-columns: 2fr 1fr; }
    .gallery-grid .gallery-item:first-child { grid-row: span 2; }
    .footer-container { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
}