/* =====================================================
   Scouts SIK Gent - Stylesheet
   Modern + scoutstijl: groen, beige, hout
   ===================================================== */

:root {
    --green-900: #1f3a1f;
    --green-700: #2d5a2d;
    --green-600: #4a7c2e;
    --green-500: #5a9d35;
    --green-100: #e8f0e0;

    --beige-100: #faf6ee;
    --beige-200: #f0e9d6;
    --beige-300: #e3d9bf;

    --wood-700: #5d4037;
    --wood-500: #8b6f47;
    --wood-300: #c9a87c;

    --fire-orange: #e8761c;
    --fire-yellow: #f5c542;
    --fire-red: #c84a3f;

    --ink-900: #1a1f1a;
    --ink-700: #3a423a;
    --ink-500: #6a716a;
    --ink-300: #b8b8b8;

    --white: #ffffff;
    --shadow-sm: 0 2px 6px rgba(31, 58, 31, .06);
    --shadow-md: 0 6px 20px rgba(31, 58, 31, .10);
    --shadow-lg: 0 16px 40px rgba(31, 58, 31, .14);

    --radius: 14px;
    --radius-lg: 22px;

    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink-900);
    background: var(--beige-100);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green-700); text-decoration: none; transition: color .2s; }
a:hover { color: var(--fire-orange); }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--green-900);
    line-height: 1.15;
    margin: 0 0 .6em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); }
h3 { font-size: 1.4rem; }

p { margin: 0 0 1em; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* =====================================================
   Header
   ===================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--beige-300);
    box-shadow: var(--shadow-sm);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
}
.logo {
    display: flex; align-items: center; gap: 12px;
    color: var(--green-900);
}
.logo:hover { color: var(--green-700); }
.logo-mark {
    font-size: 2rem;
    background: var(--green-100);
    width: 48px; height: 48px;
    display: grid; place-items: center;
    border-radius: 12px;
}
.logo-text strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 800;
}
.logo-text small {
    color: var(--ink-500);
    font-size: .8rem;
}

.main-nav ul {
    list-style: none; padding: 0; margin: 0;
    display: flex; align-items: center; gap: 4px;
}
.main-nav a {
    display: block;
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--ink-700);
    font-weight: 500;
    font-size: .95rem;
}
.main-nav a:hover { background: var(--beige-200); color: var(--green-700); }
.main-nav a.active { color: var(--green-700); background: var(--green-100); }

.has-dropdown { position: relative; }
.has-dropdown .dropdown {
    position: absolute;
    top: 100%; left: 0;
    background: var(--white);
    min-width: 200px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 8px;
    flex-direction: column;
    gap: 0;
    opacity: 0; pointer-events: none;
    transform: translateY(8px);
    transition: all .2s;
    border: 1px solid var(--beige-300);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
    opacity: 1; pointer-events: auto; transform: translateY(0);
}
.has-dropdown .dropdown a { padding: 8px 12px; }

.btn-nav {
    background: var(--green-700);
    color: var(--white) !important;
    padding: 10px 18px !important;
    border-radius: 999px !important;
}
.btn-nav:hover { background: var(--green-900) !important; color: var(--white) !important; }

.btn-nav-outline {
    border: 1.5px solid var(--green-700);
    border-radius: 999px !important;
    padding: 8px 18px !important;
    color: var(--green-700) !important;
}
.btn-nav-outline:hover { background: var(--green-700); color: var(--white) !important; }

.nav-toggle {
    display: none;
    background: none; border: 0;
    width: 40px; height: 40px;
    flex-direction: column; gap: 5px;
    align-items: center; justify-content: center;
    cursor: pointer;
}
.nav-toggle span {
    display: block; width: 22px; height: 2px;
    background: var(--green-900); border-radius: 2px;
}

@media (max-width: 980px) {
    .nav-toggle { display: flex; }
    .main-nav {
        position: fixed;
        top: 76px; left: 0; right: 0; bottom: 0;
        background: var(--white);
        padding: 24px;
        transform: translateX(100%);
        transition: transform .3s;
        overflow-y: auto;
    }
    body.nav-open .main-nav { transform: translateX(0); }
    .main-nav ul { flex-direction: column; align-items: stretch; }
    .main-nav a { padding: 14px; }
    .has-dropdown .dropdown {
        position: static; opacity: 1; pointer-events: auto;
        transform: none; box-shadow: none; padding-left: 16px;
        border: 0;
    }
}

/* =====================================================
   Buttons
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: .95rem;
    border: 0;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
}
.btn-primary {
    background: var(--green-700);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--green-900);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-secondary {
    background: var(--fire-orange);
    color: var(--white);
}
.btn-secondary:hover { background: var(--fire-red); color: var(--white); transform: translateY(-2px); }
.btn-outline {
    background: transparent;
    color: var(--green-700);
    border: 2px solid var(--green-700);
}
.btn-outline:hover { background: var(--green-700); color: var(--white); }
.btn-sm { padding: 8px 16px; font-size: .85rem; }

/* =====================================================
   Hero
   ===================================================== */
.hero {
    position: relative;
    background:
        linear-gradient(135deg, rgba(31,58,31,.85), rgba(45,90,45,.75)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M0 80 L20 50 L40 70 L50 40 L65 65 L80 35 L100 70 L100 100 L0 100 Z' fill='%23ffffff' opacity='.06'/%3E%3C/svg%3E");
    background-size: cover, 200px;
    color: var(--white);
    padding: 120px 0 140px;
    text-align: center;
    overflow: hidden;
}
.hero::before, .hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .35;
}
.hero::before {
    width: 300px; height: 300px;
    background: var(--fire-orange);
    top: -50px; left: -100px;
}
.hero::after {
    width: 400px; height: 400px;
    background: var(--green-500);
    bottom: -150px; right: -100px;
}
.hero > .container { position: relative; z-index: 1; }
.hero h1 {
    color: var(--white);
    text-shadow: 0 2px 20px rgba(0,0,0,.3);
    margin-bottom: 16px;
}
.hero .lead {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: .95;
}
.hero-actions {
    display: flex; gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-actions .btn-primary {
    background: var(--fire-orange);
}
.hero-actions .btn-primary:hover { background: var(--fire-red); }
.hero-actions .btn-outline {
    color: var(--white);
    border-color: var(--white);
}
.hero-actions .btn-outline:hover { background: var(--white); color: var(--green-900); }

.hero-shapes {
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 60px;
    background: var(--beige-100);
    clip-path: polygon(0 100%, 100% 100%, 100% 60%, 80% 30%, 65% 60%, 50% 20%, 35% 55%, 20% 25%, 0 60%);
}

/* =====================================================
   Sections
   ===================================================== */
.section { padding: 80px 0; }
.section-tight { padding: 50px 0; }
.section-alt { background: var(--white); }

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px;
}
.section-head .eyebrow {
    color: var(--fire-orange);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .85rem;
    margin-bottom: 8px;
    display: inline-block;
}
.section-head p { color: var(--ink-500); font-size: 1.1rem; }

/* =====================================================
   Cards / grids
   ===================================================== */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .25s, box-shadow .25s;
    border: 1px solid var(--beige-200);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-image {
    aspect-ratio: 16/9;
    background: var(--green-100);
    overflow: hidden;
}
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-image img { transform: scale(1.05); }
.card-body { padding: 24px; }
.card-title { margin: 0 0 8px; font-size: 1.25rem; }
.card-meta { color: var(--ink-500); font-size: .9rem; margin-bottom: 12px; }

/* Section card */
.section-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid var(--beige-200);
    transition: all .25s;
    position: relative;
    overflow: hidden;
}
.section-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: var(--accent, var(--green-600));
}
.section-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.section-card .section-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: grid; place-items: center;
    font-size: 1.8rem;
    background: var(--green-100);
    margin-bottom: 16px;
}
.section-card .age {
    color: var(--fire-orange);
    font-weight: 700;
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.section-card h3 { margin: 8px 0 12px; }
.section-card p { color: var(--ink-700); margin-bottom: 16px; }

/* =====================================================
   News card
   ===================================================== */
.news-card .news-date {
    color: var(--fire-orange);
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* =====================================================
   Camp card
   ===================================================== */
.camp-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--beige-200);
    box-shadow: var(--shadow-sm);
}
.camp-card .camp-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.status-open { background: #d4f1c0; color: #2d5a0c; }
.status-closed { background: #f4d0cd; color: #84221b; }
.camp-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    margin: 16px 0;
    padding: 16px;
    background: var(--beige-100);
    border-radius: 12px;
}
.camp-meta div small {
    display: block;
    color: var(--ink-500);
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 2px;
}
.camp-meta div strong { font-size: 1rem; }

/* =====================================================
   CTA
   ===================================================== */
.cta-banner {
    background: linear-gradient(135deg, var(--green-700) 0%, var(--green-900) 100%);
    color: var(--white);
    padding: 60px 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { font-size: 1.1rem; opacity: .9; max-width: 600px; margin: 0 auto 24px; }
.cta-banner .btn-primary { background: var(--fire-orange); }
.cta-banner .btn-primary:hover { background: var(--fire-yellow); color: var(--green-900); }

/* =====================================================
   Forms
   ===================================================== */
.form { display: grid; gap: 16px; max-width: 600px; }
.form-group { display: grid; gap: 6px; }
.form-group label {
    font-weight: 600;
    color: var(--green-900);
    font-size: .92rem;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--beige-300);
    border-radius: 10px;
    font: inherit;
    background: var(--white);
    transition: border-color .15s, box-shadow .15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 0;
    border-color: var(--green-600);
    box-shadow: 0 0 0 4px rgba(74, 124, 46, .15);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* Flash */
.flash {
    padding: 14px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-weight: 500;
}
.flash-success { background: #d4f1c0; color: #2d5a0c; }
.flash-error { background: #f4d0cd; color: #84221b; }
.flash-info { background: #d6e9f7; color: #1c4a73; }
.flash-warning { background: #fbe7be; color: #7a5410; }

/* =====================================================
   Photos
   ===================================================== */
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.album-card {
    aspect-ratio: 4/3;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    background: var(--green-100);
}
.album-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.album-card:hover img { transform: scale(1.08); }
.album-card .album-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(transparent 50%, rgba(0,0,0,.75));
    display: flex; align-items: flex-end;
    padding: 20px;
    color: var(--white);
}
.album-card h3 { color: var(--white); margin: 0; font-size: 1.2rem; }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.photo-grid a { aspect-ratio: 1; overflow: hidden; border-radius: 10px; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.photo-grid a:hover img { transform: scale(1.06); }

/* =====================================================
   Footer
   ===================================================== */
.site-footer {
    background: var(--green-900);
    color: var(--beige-200);
    padding: 60px 0 0;
    margin-top: 80px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}
.footer-col h3 { color: var(--white); margin-bottom: 12px; }
.footer-col h4 {
    color: var(--white); font-family: var(--font-body);
    font-size: 1rem; text-transform: uppercase; letter-spacing: .06em;
    margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col a { color: var(--beige-200); }
.footer-col a:hover { color: var(--fire-yellow); }
.vzw-info { font-size: .85rem; opacity: .7; }
.socials { display: flex; gap: 12px; margin-top: 16px; }
.socials a {
    padding: 6px 14px;
    border: 1.5px solid var(--beige-200);
    border-radius: 999px;
    font-size: .85rem;
}
.socials a:hover { background: var(--fire-orange); border-color: var(--fire-orange); color: var(--white); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 20px 0;
    text-align: center;
    font-size: .85rem;
    opacity: .7;
}

/* =====================================================
   Misc
   ===================================================== */
.prose { max-width: 760px; }
.prose img { border-radius: var(--radius); margin: 20px 0; }
.prose h2, .prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.5em; }
.prose blockquote {
    border-left: 4px solid var(--fire-orange);
    padding-left: 20px;
    color: var(--ink-700);
    font-style: italic;
    margin: 20px 0;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--ink-500);
}
.empty-state .icon { font-size: 3rem; margin-bottom: 12px; }

.tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--green-100);
    color: var(--green-900);
    font-size: .8rem;
    font-weight: 600;
}

/* Stats cards on home */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.stat-card {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--beige-200);
}
.stat-card .num {
    font-family: var(--font-display);
    font-size: 2.4rem;
    color: var(--green-700);
    font-weight: 800;
    line-height: 1;
}
.stat-card .label {
    color: var(--ink-500);
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-top: 4px;
}

/* Simple table */
.table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.table th, .table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--beige-200); }
.table th { background: var(--green-100); font-weight: 700; color: var(--green-900); }
.table tr:last-child td { border-bottom: 0; }

/* FAQ accordion */
.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 12px;
    border: 1px solid var(--beige-200);
    overflow: hidden;
}
.faq-item summary {
    padding: 18px 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--green-900);
    list-style: none;
    display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--fire-orange); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 20px 20px; color: var(--ink-700); }

/* Section detail hero */
.section-hero {
    background: linear-gradient(135deg, var(--accent,#4a7c2e) 0%, color-mix(in srgb, var(--accent,#4a7c2e) 70%, #000) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}
.section-hero h1 { color: var(--white); }
.section-hero .age-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255,255,255,.2);
    border-radius: 999px;
    font-weight: 600;
    margin-bottom: 12px;
}
