/* Palette Name: magenta-gold */
/* Primary: #880E4F | Secondary: #A81260 | Accent: #8A5800 | Tint: #FCE4EC */

:root {
    --color-primary: #880E4F;
    --color-secondary: #A81260;
    --color-accent: #8A5800;
    --bg-tint: #FCE4EC;
    
    /* Dark Mode Defaults */
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --bg-card-glass: rgba(30, 30, 30, 0.75);
    --text-light: #f5f5f5;
    --text-muted: #b3b3b3;
}

/* Global Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
}

body.dark-mode {
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

/* Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-light);
}

h1 {
    font-size: clamp(28px, 6vw, 56px);
    margin-bottom: 20px;
}

h2 {
    font-size: clamp(24px, 4vw, 36px);
    margin-bottom: 16px;
}

h3 {
    font-size: clamp(18px, 3vw, 24px);
    margin-bottom: 12px;
}

p {
    font-size: clamp(15px, 2vw, 17px);
    color: var(--text-muted);
    margin-bottom: 16px;
}

a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent);
}

/* Common Components */
.badge {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--text-light);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.section-header p {
    font-size: 18px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.3s, box-shadow 0.3s;
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--text-light);
    box-shadow: 0 2px 12px rgba(136, 14, 79, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-secondary);
    transform: translateY(-2px);
    color: #fff;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--color-accent);
}

.btn-secondary:hover {
    background-color: var(--color-accent);
    transform: translateY(-2px);
    color: #fff;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header & Burger Menu Template */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--bg-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 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(--text-light);
}

.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;
    margin: 5px 0;
    transition: 0.3s;
    background-color: var(--text-light);
}

.menu-checkbox {
    display: none;
}

.desktop-nav {
    display: block;
}

.desktop-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.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(--bg-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);
}

/* Mobile Adaptation for Header */
@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 Section (Vertical Stack Variant) */
.hero-stack {
    display: flex;
    flex-direction: column;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 55vh;
    min-height: 300px;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay-tech {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(18,18,18,0.2) 0%, rgba(18,18,18,1) 100%);
}

.hero-text-block {
    padding: 40px 0 80px 0;
    background-color: var(--bg-dark);
    text-align: center;
}

.hero-text-block h1 {
    max-width: 900px;
    margin: 0 auto 20px auto;
}

.hero-text-block p {
    max-width: 750px;
    margin: 0 auto 30px auto;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}

@media (min-width: 768px) {
    .hero-actions {
        flex-direction: row;
    }
}

/* Section 1: Benefits Timeline */
.benefits-timeline-section {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 30px;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--color-primary);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-badge {
    position: absolute;
    left: -35px;
    top: 0;
    width: 32px;
    height: 32px;
    background-color: var(--color-accent);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    border: 2px solid var(--bg-dark);
}

.timeline-content {
    background-color: var(--bg-card);
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    border-left: 4px solid var(--color-primary);
}

/* Section 2: Gallery Grid */
.gallery-grid-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gallery-card {
    background-color: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
}

.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-info {
    padding: 20px;
    flex-grow: 1;
}

.placeholder-card {
    border: 2px dashed rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.02);
}

.placeholder-graphic {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(136, 14, 79, 0.1);
}

.placeholder-graphic .icon {
    font-size: 64px;
}

/* Section 3: Icon Features */
.icon-features-section {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-box {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    transition: transform 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

/* Section 4: Testimonials */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

.testimonials-vertical-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.testimonial-item {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    border-right: 4px solid var(--color-accent);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.avatar-placeholder {
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    color: var(--text-light);
}

.stars {
    color: #FFD700;
}

.testimonial-text {
    font-style: italic;
    font-size: 16px;
}

/* Section 5: Accordion FAQ */
.faq-accordion-section {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.accordion-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.faq-details {
    background-color: var(--bg-card);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.faq-summary {
    padding: 20px;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-summary::after {
    content: '+';
    font-size: 24px;
    color: var(--color-accent);
}

.faq-details[open] .faq-summary::after {
    content: '-';
}

.faq-content {
    padding: 0 20px 20px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Program Page Specific */
.program-intro-section {
    padding: 80px 0 40px 0;
    text-align: center;
}

.program-intro-section p {
    max-width: 800px;
    margin: 0 auto;
}

.numbered-program-section {
    padding: 40px 0 80px 0;
}

.numbered-block {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 60px;
}

@media (min-width: 768px) {
    .numbered-block {
        flex-direction: row;
        align-items: flex-start;
    }
}

.numbered-block:last-child {
    margin-bottom: 0;
}

.block-num {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1;
    flex-shrink: 0;
}

.block-content {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    flex-grow: 1;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.stat-card {
    background-color: var(--bg-card);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    border-top: 4px solid var(--color-accent);
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--text-light);
    display: block;
    margin-bottom: 16px;
}

/* Program CTA Box */
.program-cta-section {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.cta-box-tech {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    padding: 50px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(136, 14, 79, 0.2);
}

.cta-box-tech h2 {
    margin-bottom: 16px;
}

.cta-box-tech p {
    max-width: 600px;
    margin: 0 auto 30px auto;
    color: var(--text-light);
}

/* Mission Page Specific */
.mission-hero-section {
    padding: 80px 0 40px 0;
    text-align: center;
}

.mission-hero-section p {
    max-width: 800px;
    margin: 0 auto;
}

.values-grid-section {
    padding: 40px 0 80px 0;
    background-color: #1a1a1a;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.value-card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    border-bottom: 4px solid var(--color-primary);
}

.value-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.community-highlight-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

.community-split {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (min-width: 768px) {
    .community-split {
        flex-direction: row;
        align-items: center;
    }
    .community-text, .community-image-wrapper {
        flex: 1;
    }
}

.community-img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.manifesto-section {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.manifesto-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    border: 2px solid var(--color-accent);
}

.manifesto-quote {
    font-size: 24px;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 24px;
}

/* Contact Page Specific */
.contact-hero-section {
    padding: 80px 0 40px 0;
    text-align: center;
}

.contact-hero-section p {
    max-width: 800px;
    margin: 0 auto;
}

.contact-grid-section {
    padding: 40px 0 80px 0;
    background-color: #1a1a1a;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-info-panel {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
}

.info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.contact-link-accent {
    color: var(--color-accent);
}

.contact-form-panel {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
}

.tech-form .form-group {
    margin-bottom: 20px;
}

.tech-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.tech-form input, .tech-form textarea {
    width: 100%;
    padding: 12px;
    background-color: var(--bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: 8px;
    font-family: inherit;
}

.tech-form input:focus, .tech-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

/* Legal Pages Specific */
.legal-page-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

.last-updated {
    font-style: italic;
    margin-bottom: 40px;
}

.legal-text h2 {
    margin-top: 40px;
}

.legal-text ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.highlight-box {
    background-color: rgba(136, 14, 79, 0.1);
    border-left: 4px solid var(--color-primary);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Thank You Page Specific */
.thank-you-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.thank-card {
    background-color: var(--bg-card);
    padding: 50px 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.thank-icon {
    font-size: 64px;
    display: block;
    margin-bottom: 24px;
}

.thank-steps {
    text-align: left;
    background-color: rgba(255, 255, 255, 0.02);
    padding: 24px;
    border-radius: 8px;
    margin: 30px 0;
}

.thank-steps ul {
    list-style: none;
}

.thank-steps li {
    margin-bottom: 12px;
}

.thank-steps li a {
    color: var(--color-accent);
    font-weight: bold;
}

/* Footer (Strict styling to prevent browser translation layout breakages) */
.site-footer {
    background-color: #0d0d0d !important;
    color: #f5f5f5 !important;
    padding: 60px 0 20px 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 2fr;
    }
}

.footer-about p {
    margin-top: 16px;
    color: #b3b3b3 !important;
}

.footer-links h4, .footer-legal h4, .footer-contact h4 {
    margin-bottom: 20px;
    color: #f5f5f5 !important;
}

.footer-links ul, .footer-legal ul {
    list-style: none;
}

.footer-links li, .footer-legal li {
    margin-bottom: 10px;
}

.footer-links a, .footer-legal a {
    color: #b3b3b3 !important;
}

.footer-links a:hover, .footer-legal a:hover {
    color: var(--color-accent) !important;
}

.footer-contact p {
    color: #b3b3b3 !important;
    margin-bottom: 12px;
}

.footer-phone-link {
    color: #b3b3b3 !important;
}

.footer-phone-link:hover {
    color: var(--color-accent) !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #888888 !important;
    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;
    transform: translateY(0);
    transition: transform 0.4s ease;
    background-color: #1e1e1e;
    border-top: 2px solid var(--color-primary);
}

#cookie-banner.hidden {
    transform: translateY(110%);
}

#cookie-banner p {
    margin: 0;
    flex: 1;
    min-width: 200px;
    color: var(--text-light);
}

#cookie-banner p a {
    color: var(--color-accent);
    font-weight: bold;
}

.cookie-btns {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-btn-accept {
    background-color: var(--color-primary);
    color: var(--text-light);
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

.cookie-btn-decline {
    background-color: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 8px;
    cursor: pointer;
}

@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;
    }
}