/*
 * design-style: bold-editorial
 * border-style: rounded
 * shadow-style: subtle
 * color-mode: light
 * Palette: aubergine-copper
 */

:root {
    --color-primary: #2D1B50;
    --color-secondary: #4A2F7A;
    --color-accent: #A06830;
    --bg-tint: #F5F0FF;
    --text-color: #333;
    --text-light: #FFFFFF;
    --border-color: #e0d8f0;
    --font-primary: 'Georgia', serif;
    --font-secondary: 'Helvetica Neue', Arial, sans-serif;
}

/* --- Global Styles & Resets --- */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-secondary);
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-tint);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-primary);
    color: var(--color-primary);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1rem 0;
}

h1 { font-size: clamp(2.5rem, 8vw, 3rem); } /* bold-editorial: giant typography */
h2 { font-size: clamp(2rem, 6vw, 3rem); }
h3 { font-size: clamp(1.25rem, 4vw, 1.75rem); }

p { margin: 0 0 1.5rem 0; }
a { color: var(--color-accent); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--color-primary); }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; height: auto; display: block; }

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: clamp(60px, 10vw, 100px) 0;
}

.text-center { text-align: center; }
.section-title { text-align: center; margin-bottom: 1rem; }
.section-subtitle { max-width: 700px; margin: 0 auto 3rem auto; text-align: center; opacity: 0.8; }
.page-header-section { padding: 60px 0; background-color: #fff; border-bottom: 1px solid var(--border-color); text-align: center; }
.page-title { margin-bottom: 0.5rem; }
.page-subtitle { margin: 0; opacity: 0.7; }

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: #fff;
    box-shadow: var(--shadow-style, 0 2px 12px rgba(0,0,0,0.07));
    z-index: 1000;
}
.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: bold; z-index: 100; color: var(--color-primary); }
.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(--color-primary); 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(--color-primary); font-weight: 600; padding: 8px 0; position: relative; }
.desktop-nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--color-accent); transition: width 0.3s ease; }
.desktop-nav a:hover::after { width: 100%; }
.mobile-nav { display: none; position: fixed; top: 74px; left: 0; right: 0; width: 100%; max-height: 0; overflow: hidden; transition: max-height 0.3s ease; z-index: 99; background-color: #fff; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.mobile-nav ul { list-style: none; padding: 20px; margin: 0; }
.mobile-nav li { text-align: center; }
.mobile-nav a { display: block; padding: 16px 0; color: var(--color-primary); font-size: 18px; font-weight: 600; border-bottom: 1px solid var(--border-color); }
.mobile-nav li:last-child a { 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 32px; font-size: 16px; font-weight: 600; border-radius: 8px; /* rounded */ cursor: pointer; transition: all 0.3s ease; text-align: center; border: 2px solid transparent; }
.btn-primary { background-color: var(--color-primary); color: var(--text-light); }
.btn-primary:hover { background-color: var(--color-secondary); transform: translateY(-2px); }
.btn-secondary { background-color: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn-secondary:hover { background-color: var(--color-primary); color: var(--text-light); }

/* --- Hero Section (Floating Card) --- */
.hero-floating-card { position: relative; min-height: 80vh; display: flex; align-items: center; padding: 60px 0; }
.hero-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
.hero-background::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: var(--color-secondary); opacity: 0.5; }
.hero-background img { width: 100%; height: 100%; object-fit: cover; }
.hero-content-card { background-color: rgba(255, 255, 255, 0.95); padding: clamp(2rem, 5vw, 4rem); border-radius: 16px; /* rounded */ box-shadow: var(--shadow-style, 0 4px 20px rgba(0,0,0,0.1)); max-width: 700px; backdrop-filter: blur(5px); }
.hero-content-card h1 { color: var(--color-primary); }
.hero-content-card .subtitle { font-size: clamp(1rem, 2vw, 1.25rem); color: var(--text-color); margin-bottom: 2rem; }

/* --- Benefits Section (3 Columns) --- */
.benefits-grid-3col { display: grid; gap: 32px; grid-template-columns: 1fr; }
.benefit-card { background-color: #fff; padding: 32px; border-radius: 16px; /* rounded */ box-shadow: var(--shadow-style, 0 2px 12px rgba(0,0,0,0.07)); text-align: center; border: 1px solid var(--border-color); }
.card-icon-wrapper { width: 60px; height: 60px; margin: 0 auto 1.5rem; background-color: var(--bg-tint); border-radius: 50%; /* rounded */ display: flex; align-items: center; justify-content: center; }
.card-icon-wrapper svg { color: var(--color-accent); width: 28px; height: 28px; }

/* --- Checklist Section --- */
.checklist-section { background-color: #fff; }
.checklist-grid { display: grid; gap: 32px; grid-template-columns: 1fr; max-width: 900px; margin: 0 auto; }
.checklist { padding-left: 0; }
.checklist li { font-size: clamp(1rem, 1.8vw, 1.15rem); margin-bottom: 1rem; display: flex; align-items: flex-start; }
.checkmark { font-size: 1.5rem; color: var(--color-accent); margin-right: 12px; line-height: 1; }

/* --- Gallery Section --- */
.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.gallery-item { border-radius: 10px; /* rounded */ overflow: hidden; box-shadow: var(--shadow-style, 0 2px 12px rgba(0,0,0,0.07)); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.placeholder-image { background-color: var(--color-primary); color: var(--text-light); display: flex; align-items: center; justify-content: center; min-height: 250px; font-family: var(--font-primary); font-size: 1.5rem; text-align: center; padding: 20px; }

/* --- Quote Section --- */
.quote-section { background-color: var(--color-secondary); color: var(--text-light); }
.quote-wrapper { max-width: 800px; margin: 0 auto; text-align: center; position: relative; }
.quote-symbol { font-size: 8rem; font-family: var(--font-primary); color: var(--color-accent); position: absolute; top: -3rem; left: 50%; transform: translateX(-50%); opacity: 0.3; line-height: 1; }
.quote-wrapper blockquote { font-size: clamp(1.5rem, 4vw, 2.25rem); font-family: var(--font-primary); font-style: italic; margin: 0 0 1.5rem; position: relative; z-index: 1; }
.quote-wrapper cite { font-style: normal; opacity: 0.8; }

/* --- Testimonials Section --- */
.testimonials-list { display: grid; gap: 24px; max-width: 800px; margin: 0 auto; }
.testimonial-card { background-color: #fff; padding: 24px; border-radius: 16px; /* rounded */ box-shadow: var(--shadow-style, 0 2px 12px rgba(0,0,0,0.07)); border-left: 5px solid var(--color-accent); }
.testimonial-header { display: flex; align-items: center; margin-bottom: 1rem; gap: 16px; }
.testimonial-avatar-placeholder { width: 50px; height: 50px; background-color: var(--bg-tint); border-radius: 50%; }
.testimonial-name { font-weight: bold; margin: 0; color: var(--color-primary); }
.testimonial-rating { color: var(--color-accent); }
.testimonial-text { margin: 0; font-style: italic; opacity: 0.9; }

/* --- Program Page (Tabs) --- */
.tabs-section { padding-bottom: 100px; }
.tabs { max-width: 1000px; margin: 0 auto; }
.tabs input[type="radio"] { display: none; }
.tabs-nav { display: flex; flex-wrap: wrap; border-bottom: 2px solid var(--border-color); }
.tabs-nav label { padding: 16px 24px; cursor: pointer; font-weight: 600; color: var(--color-secondary); position: relative; bottom: -2px; border-bottom: 2px solid transparent; transition: all 0.3s ease;     width: 50%;
    text-align: center;}
.tabs-nav label:hover { color: var(--color-primary); }
.tabs input[type="radio"]:checked + label { color: var(--color-primary); border-bottom-color: var(--color-accent); }
.tab-panel { display: none; padding: 40px 0; border-top: none; animation: fadeIn 0.5s ease; }
.tabs input[type="radio"]:checked ~ .tabs-content > .tab-panel { display: none; } /* Hide all */
#t1:checked ~ .tabs-content #p1,
#t2:checked ~ .tabs-content #p2,
#t3:checked ~ .tabs-content #p3,
#t4:checked ~ .tabs-content #p4 { display: block; } /* Show selected */
.content-image { border-radius: 10px; /* rounded */ margin-top: 2rem; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* --- Mission Page (Values Grid) --- */
.values-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
.value-card { background-color: #fff; padding: 32px; border-radius: 16px; /* rounded */ box-shadow: var(--shadow-style, 0 2px 12px rgba(0,0,0,0.07)); }
.manifesto-section { background-color: #fff; }
.manifesto-content { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.manifesto-image img { border-radius: 16px; /* rounded */ }

/* --- Contact Page --- */
.form-container { max-width: 800px; margin: 0 auto 4rem auto; background-color: #fff; padding: 40px; border-radius: 16px; /* rounded */ box-shadow: var(--shadow-style, 0 2px 12px rgba(0,0,0,0.07)); }
.form-title { text-align: center; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; }
.form-group input, .form-group textarea { width: 100%; padding: 12px; border: 1px solid var(--border-color); border-radius: 8px; /* rounded */ font-size: 16px; font-family: var(--font-secondary); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 2px rgba(45, 27, 80, 0.2); }
.form-submit-btn { width: 100%; padding: 16px; font-size: 18px; }
.contact-info-cards { display: grid; grid-template-columns: 1fr; gap: 24px; text-align: center; }
.contact-card { background-color: #fff; padding: 24px; border-radius: 16px; /* rounded */ box-shadow: var(--shadow-style, 0 2px 12px rgba(0,0,0,0.07)); }

/* --- Legal & Thank You Pages --- */
.legal-page .container { max-width: 800px; padding-top: 40px; padding-bottom: 40px; }
.legal-page h1 { margin-bottom: 2rem; }
.legal-page section { margin-bottom: 2.5rem; }
.thank-you-section { padding: 100px 0; }
.thank-you-icon { color: var(--color-accent); margin-bottom: 1.5rem; }
.next-steps { margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--border-color); }
.next-steps-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 1.5rem; }

/* --- Footer --- */
.site-footer { background-color: var(--color-secondary) !important; color: var(--text-light) !important; padding: 60px 0 20px; }
.site-footer a { color: var(--text-light) !important; }
.site-footer a:hover { color: var(--color-accent) !important; }
.site-footer h4 { color: var(--text-light) !important; font-family: var(--font-secondary); font-size: 1.2rem; margin-bottom: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 40px; }
.footer-column ul li { margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; font-size: 14px; opacity: 0.7; }

/* --- 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(--color-primary); color: var(--text-light); box-shadow: 0 -4px 20px 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(--color-accent); 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: 8px; cursor: pointer; font-weight: 600; }
.cookie-btn-accept { background-color: var(--color-accent); color: var(--text-light); }
.cookie-btn-decline { background-color: transparent; color: var(--text-light); border: 1px solid var(--text-light); }

/* --- Media Queries (Mobile First) --- */
@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: 576px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
    .benefits-grid-3col { grid-template-columns: repeat(3, 1fr); }
    .checklist-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .manifesto-content { grid-template-columns: 1fr 1fr; }
    .contact-info-cards { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}