@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ═══════════════════════════════════════════
   DESIGN TOKENS
   ═══════════════════════════════════════════ */
:root {
    --c-primary: #1a3a5c;
    --c-primary-light: #2d5a8e;
    --c-accent: #e8a838;
    --c-accent-hover: #d4952e;
    --c-bg: #fafafa;
    --c-surface: #ffffff;
    --c-surface-alt: #f3f4f6;
    --c-text: #1f2937;
    --c-text-muted: #6b7280;
    --c-text-light: #9ca3af;
    --c-border: #e5e7eb;
    --c-white: #ffffff;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.1);
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --max-w: 1100px;
    --max-w-narrow: 720px;
}

/* ═══════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--c-text);
    background: var(--c-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ═══════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--c-border);
}

.header-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 1.5rem;
}

.logo { display: flex; align-items: center; gap: 0.65rem; }
.logo img { height: 40px; width: 40px; border-radius: 50%; }
.logo span {
    font-weight: 700;
    font-size: 1rem;
    color: var(--c-primary);
    letter-spacing: -0.02em;
}

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--c-text-muted);
    transition: color var(--transition);
    letter-spacing: 0.01em;
}
.nav-links a:hover, .nav-links a.active { color: var(--c-primary); }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--c-primary);
}
.menu-toggle svg { width: 24px; height: 24px; }

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: var(--c-primary);
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(26,58,92,0.85), rgba(26,58,92,0.6));
    z-index: 1;
}
.hero-bg {
    position: absolute;
    inset: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
    padding: 2rem 1.5rem;
}
.hero-badge {
    display: inline-block;
    background: rgba(232,168,56,0.15);
    color: var(--c-accent);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(232,168,56,0.25);
}
.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    color: var(--c-white);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}
.hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════
   PAGE HERO (subpages)
   ═══════════════════════════════════════════ */
.page-hero {
    background: var(--c-primary);
    padding: 5rem 1.5rem 3.5rem;
    text-align: center;
}
.page-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--c-white);
    font-weight: 700;
    letter-spacing: -0.02em;
}
.page-hero p {
    color: rgba(255,255,255,0.65);
    margin-top: 0.75rem;
    font-size: 1rem;
}

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1.4;
}
.btn-primary {
    background: var(--c-accent);
    color: var(--c-primary);
}
.btn-primary:hover {
    background: var(--c-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(232,168,56,0.3);
}
.btn-outline {
    background: transparent;
    color: var(--c-white);
    border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}
.btn-dark {
    background: var(--c-primary);
    color: var(--c-white);
}
.btn-dark:hover {
    background: var(--c-primary-light);
    transform: translateY(-1px);
}
.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.8rem;
}

/* ═══════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════ */
.section {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 5rem 1.5rem;
}
.section-narrow {
    max-width: var(--max-w-narrow);
}
.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-accent);
    margin-bottom: 0.75rem;
}
.section-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--c-primary);
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-bottom: 1rem;
}
.section-desc {
    color: var(--c-text-muted);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 600px;
}
.section-center { text-align: center; }
.section-center .section-desc { margin: 0 auto; }

/* ═══════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.card {
    background: var(--c-surface);
    border-radius: var(--radius-md);
    padding: 2rem;
    border: 1px solid var(--c-border);
    transition: all var(--transition);
}
.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    border-color: transparent;
}
.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, rgba(26,58,92,0.08), rgba(232,168,56,0.08));
    color: var(--c-primary);
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
}
.card p {
    font-size: 0.9rem;
    color: var(--c-text-muted);
    line-height: 1.6;
}

/* Project cards */
.project-card {
    background: var(--c-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--c-border);
    transition: all var(--transition);
}
.project-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    border-color: transparent;
}
.project-card.highlight {
    border: 2px solid var(--c-accent);
    background: linear-gradient(to bottom right, var(--c-surface), rgba(232,168,56,0.05));
}
.project-card.highlight .tag {
    background: var(--c-accent);
    color: var(--c-white);
}
.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.project-card-body {
    padding: 1.5rem;
}
.project-card-body h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--c-text);
}
.project-card-body .tag {
    display: inline-block;
    background: var(--c-surface-alt);
    color: var(--c-text-muted);
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.project-card-body p {
    font-size: 0.875rem;
    color: var(--c-text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* ═══════════════════════════════════════════
   QUOTE / TESTIMONIAL
   ═══════════════════════════════════════════ */
.quote-block {
    position: relative;
    background: var(--c-surface);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    border: 1px solid var(--c-border);
    margin-top: 2rem;
}
.quote-block::before {
    content: '"';
    position: absolute;
    top: -0.2rem;
    left: 1.5rem;
    font-size: 4rem;
    font-weight: 700;
    color: var(--c-accent);
    opacity: 0.3;
    line-height: 1;
}
.quote-block p {
    font-size: 1rem;
    font-style: italic;
    color: var(--c-text);
    line-height: 1.7;
    margin-bottom: 1rem;
}
.quote-block cite {
    font-style: normal;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--c-primary);
}

/* ═══════════════════════════════════════════
   DONATION BOX
   ═══════════════════════════════════════════ */
.donate-box {
    background: var(--c-primary);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    color: var(--c-white);
    margin-top: 2rem;
}
.donate-box h3 {
    color: var(--c-accent);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
.donate-box .iban-box {
    background: rgba(255,255,255,0.08);
    border: 1px dashed rgba(255,255,255,0.2);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    margin: 1.5rem auto;
    max-width: 400px;
}
.donate-box .iban-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.6;
    margin-bottom: 0.35rem;
}
.donate-box .iban-code {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    word-break: break-all;
    letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════════
   ARTICLE
   ═══════════════════════════════════════════ */
.article-body {
    max-width: var(--max-w-narrow);
    margin: 0 auto;
    padding: 3rem 1.5rem 5rem;
}
.article-body h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--c-primary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}
.article-body p {
    font-size: 1rem;
    color: var(--c-text);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}
.article-body img {
    border-radius: var(--radius-md);
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
}
.article-body .pullquote {
    background: var(--c-surface-alt);
    border-left: 3px solid var(--c-accent);
    padding: 1.5rem 1.75rem;
    margin: 2rem 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--c-text);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════════ */
.cta-banner {
    background: var(--c-surface-alt);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 2rem;
}
.cta-banner h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--c-primary);
    margin-bottom: 0.75rem;
}
.cta-banner p {
    color: var(--c-text-muted);
    margin-bottom: 1.5rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.site-footer {
    background: var(--c-primary);
    color: rgba(255,255,255,0.7);
    padding: 4rem 1.5rem 2rem;
}
.footer-grid {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}
.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}
.footer-brand .logo img {
    height: 48px;
    width: 48px;
    border-radius: 50%;
    object-fit: contain;
    background: white; /* Ensure the logo's white circle background is preserved */
    padding: 2px;
}
.footer-brand p {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    line-height: 1.6;
}
.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.4);
    margin-bottom: 1rem;
}
.footer-col a {
    display: block;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.6rem;
    transition: color var(--transition);
}
.footer-col a:hover { color: var(--c-accent); }
.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.8rem;
    max-width: var(--max-w);
    margin-left: auto;
    margin-right: auto;
}
.social-row { display: flex; gap: 1rem; margin-top: 1.25rem; }
.social-row a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    transition: all var(--transition);
}
.social-row a:hover {
    background: var(--c-accent);
    color: var(--c-primary);
}
.social-row a svg { width: 16px; height: 16px; }

/* ═══════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════ */
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.text-center { text-align: center; }
.text-accent { color: var(--c-accent); }
.fw-700 { font-weight: 700; }
.divider {
    width: 48px;
    height: 3px;
    background: var(--c-accent);
    border-radius: 2px;
    margin: 1rem 0;
}
.divider-center { margin-left: auto; margin-right: auto; }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--c-surface);
        flex-direction: column;
        padding: 1rem 1.5rem;
        gap: 0;
        border-bottom: 1px solid var(--c-border);
        box-shadow: var(--shadow-lg);
    }
    .nav-links.open { display: flex; }
    .nav-links a {
        display: block;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--c-border);
        font-size: 0.95rem;
    }
    .nav-links li:last-child a { border-bottom: none; }
    .hero { min-height: 75vh; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .section { padding: 3rem 1.25rem; }
    .card-grid { grid-template-columns: 1fr; }
}
