/*
 * Scouts SIK Gent - Donker thema met logo kleuren
 */

/* Verdana is system font, no import needed - FF DIN as fallback for headings */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500;700&display=swap');

:root {
    /* SIK Logo kleuren */
    --black: #1a1a1a;
    --dark: #2d2d2d;
    --dark-light: #3d3d3d;
    --gray: #666666;
    --gray-light: #999999;
    
    --magenta: #d6196e;
    --magenta-dark: #b01558;
    --magenta-light: #e84a8a;
    
    --cream: #f5f0eb;
    --cream-dark: #e8e0d8;
    --white: #ffffff;
    
    /* Accent kleuren */
    --green: #2e7d32;
    --green-dark: #1b5e20;
    
    /* Verdana als primair lettertype */
    --font: Verdana, Geneva, Tahoma, sans-serif;
    --font-hand: 'Caveat', cursive;
    
    --shadow: 0 10px 40px rgba(0,0,0,0.15);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.2);

    /* Extra variabelen (worden gebruikt in templates/admin) */
    --brown: #4b3a2f;
    --brown-light: #6d5c4f;
    --cream-light: #fbf8f5;
    --off-white: #fafafa;
    --earth-cream: var(--cream-light);

    --forest-moss: var(--green-dark);
    --sik-green-pale: #d7efd9;
    --scout-green: var(--green);

    --light-gray: #f0f0f0;
    --medium-gray: var(--gray);
    --gray-300: #d1d5db;
    --gray-500: #6b7280;

    --pink: var(--magenta-light);

    --radius-md: 12px;
    --radius-lg: 20px;

    --spacing-xs: 8px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 40px;
    --spacing-xxl: 56px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--cream);
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
    outline: 2px solid var(--magenta);
    outline-offset: 2px;
    border-radius: 4px;
}
img { max-width: 100%; height: auto; display: block; }

/* Skip to content link (accessibility) */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 999;
    background: var(--magenta);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
}

h1, h2, h3, h4 { font-weight: 600; line-height: 1.2; color: var(--black); }
h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }

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

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: all 0.3s;
    background: var(--black);
}

.header.scrolled {
    background: var(--black);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 70px;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
    transition: transform 0.3s;
}

.logo:hover img { transform: rotate(-5deg) scale(1.05); }

.nav ul {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}

.nav a {
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s;
    color: var(--white);
}

.nav a:hover { background: rgba(255,255,255,0.15); }
.nav a.active { background: rgba(255,255,255,0.2); }

.nav a.cta {
    background: var(--magenta);
    color: var(--white);
}
.nav a.cta:hover { background: var(--magenta-dark); transform: translateY(-2px); }

/* Dropdown menu */
.nav li.has-dropdown {
    position: relative;
}

.nav .dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #ffffff;
    border-radius: 12px;
    padding: 8px;
    min-width: 160px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25), 0 0 0 1px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 9999;
    list-style: none;
}

.nav .dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #ffffff;
}

.nav li.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav .dropdown li {
    display: block;
    list-style: none;
}

.nav .dropdown a {
    display: block;
    padding: 12px 20px;
    border-radius: 8px;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    white-space: nowrap;
}

.nav .dropdown a:hover {
    background: #f5f0eb !important;
    color: #d6196e !important;
}

.header.scrolled .nav a { color: var(--white); }

/* Desktop only: keep dropdown white with dark text */
@media (min-width: 901px) {
    .nav .dropdown a {
        color: #1a1a1a !important;
        background: #ffffff !important;
    }
    .nav .dropdown a:hover {
        background: #f5f0eb !important;
        color: #d6196e !important;
    }
    .header .nav .dropdown,
    .header.scrolled .nav .dropdown {
        background: #ffffff;
    }
    .header .nav .dropdown a,
    .header.scrolled .nav .dropdown a {
        color: #1a1a1a !important;
        background: #ffffff !important;
    }
    .header .nav .dropdown a:hover,
    .header.scrolled .nav .dropdown a:hover {
        color: #d6196e !important;
        background: #f5f0eb !important;
    }
}

/* Mobile menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}
.menu-toggle span {
    width: 28px; height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: 0.3s;
}

@media (max-width: 900px) {
    .menu-toggle { display: flex; }
}




/* Mobile nav overlay + scroll lock */
.nav-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 95;
    -webkit-tap-highlight-color: transparent;
}
.nav-overlay.open{
    opacity: 1;
    pointer-events: auto;
}

/* iOS scroll lock fix - must use position fixed */
body.nav-open{
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
    -webkit-overflow-scrolling: touch;
}

/* Ensure touch events work on iOS */
@media (max-width: 900px){
    .nav{ 
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
    .nav ul {
        position: relative;
        z-index: 1;
    }
    .nav a {
        -webkit-tap-highlight-color: rgba(255,255,255,0.1);
        touch-action: manipulation;
    }
    .nav li {
        position: relative;
        z-index: 1;
    }
    .menu-toggle{ 
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
}
/* ========== PAGE BANNER ========== */
.page-banner{
    background: var(--black);
    padding: 140px 0 60px;
}
.page-banner-inner{
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}
.page-banner-icon{
    font-size: 4rem;
    margin-bottom: 16px;
}
.page-banner h1{
    color: var(--white);
    margin-bottom: 16px;
}
.page-banner p{
    color: rgba(255,255,255,0.85);
    font-size: 1.15rem;
    line-height: 1.8;
}

/* ========== HERO ========== */
.hero {
    min-height: 100vh;
    background: linear-gradient(160deg, var(--black) 0%, #1a2e1a 30%, var(--dark) 60%, var(--dark-light) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 24px 80px;
}

/* Decoratieve elementen */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.3), transparent),
        radial-gradient(2px 2px at 40% 70%, rgba(255,255,255,0.2), transparent),
        radial-gradient(2px 2px at 60% 40%, rgba(255,255,255,0.3), transparent),
        radial-gradient(2px 2px at 80% 20%, rgba(255,255,255,0.2), transparent),
        radial-gradient(3px 3px at 10% 60%, rgba(255,255,255,0.25), transparent),
        radial-gradient(2px 2px at 90% 80%, rgba(255,255,255,0.2), transparent);
    animation: twinkle 4s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes twinkle {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.hero-stars {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.3), transparent),
        radial-gradient(2px 2px at 40% 70%, rgba(255,255,255,0.2), transparent),
        radial-gradient(2px 2px at 60% 40%, rgba(255,255,255,0.3), transparent),
        radial-gradient(2px 2px at 80% 20%, rgba(255,255,255,0.2), transparent),
        radial-gradient(3px 3px at 10% 60%, rgba(255,255,255,0.25), transparent),
        radial-gradient(2px 2px at 90% 80%, rgba(255,255,255,0.2), transparent);
    animation: twinkle 4s ease-in-out infinite alternate;
    pointer-events: none;
}

.hero-trees {
    position: absolute;
    bottom: 60px;
    left: 0; right: 0;
    height: 150px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 150'%3E%3Cpath fill='%23122a14' opacity='0.35' d='M0,150 L60,150 L60,80 L30,0 L0,80 Z M100,150 L180,150 L180,60 L140,0 L100,60 Z M220,150 L280,150 L280,90 L250,20 L220,90 Z M320,150 L400,150 L400,50 L360,0 L320,50 Z M440,150 L500,150 L500,100 L470,30 L440,100 Z M540,150 L620,150 L620,70 L580,0 L540,70 Z M660,150 L720,150 L720,85 L690,15 L660,85 Z M760,150 L840,150 L840,55 L800,0 L760,55 Z M880,150 L940,150 L940,95 L910,25 L880,95 Z M980,150 L1060,150 L1060,65 L1020,0 L980,65 Z M1100,150 L1160,150 L1160,80 L1130,10 L1100,80 Z M1200,150 L1280,150 L1280,50 L1240,0 L1200,50 Z M1320,150 L1380,150 L1380,90 L1350,20 L1320,90 Z M1400,150 L1440,150 L1440,70 L1420,10 L1400,70 Z'/%3E%3C/svg%3E") repeat-x bottom;
    background-size: auto 100%;
    pointer-events: none;
}

.hero-trees-front {
    position: absolute;
    bottom: 60px;
    left: 0; right: 0;
    height: 120px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath fill='%230e2010' opacity='0.5' d='M0,120 L50,120 L50,70 L25,10 L0,70 Z M80,120 L140,120 L140,50 L110,0 L80,50 Z M170,120 L220,120 L220,80 L195,20 L170,80 Z M250,120 L320,120 L320,40 L285,0 L250,40 Z M350,120 L400,120 L400,90 L375,30 L350,90 Z M430,120 L500,120 L500,60 L465,0 L430,60 Z M530,120 L580,120 L580,75 L555,15 L530,75 Z M610,120 L680,120 L680,45 L645,0 L610,45 Z M710,120 L760,120 L760,85 L735,25 L710,85 Z M790,120 L860,120 L860,55 L825,0 L790,55 Z M890,120 L940,120 L940,70 L915,10 L890,70 Z M970,120 L1040,120 L1040,40 L1005,0 L970,40 Z M1070,120 L1120,120 L1120,80 L1095,20 L1070,80 Z M1150,120 L1220,120 L1220,50 L1185,0 L1150,50 Z M1250,120 L1300,120 L1300,90 L1275,30 L1250,90 Z M1330,120 L1400,120 L1400,60 L1365,0 L1330,60 Z M1420,120 L1440,120 L1440,80 L1430,30 L1420,80 Z'/%3E%3C/svg%3E") repeat-x bottom;
    background-size: auto 100%;
    pointer-events: none;
}

/* Floating elementen - removed, replaced by subtle particles via CSS */

/* Subtle hero decoration - replaces floating emojis */
.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(circle 80px at 15% 25%, rgba(214, 25, 110, 0.06), transparent),
        radial-gradient(circle 120px at 85% 35%, rgba(46, 125, 50, 0.06), transparent),
        radial-gradient(circle 60px at 75% 70%, rgba(214, 25, 110, 0.04), transparent),
        radial-gradient(circle 90px at 25% 75%, rgba(46, 125, 50, 0.04), transparent);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-logo img {
    width: 200px;
    margin: 0 auto 24px;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.4));
    animation: logoIn 1s ease-out;
}

@keyframes logoIn {
    from { opacity: 0; transform: scale(0.5) rotate(-10deg); }
    to { opacity: 1; transform: scale(1) rotate(0); }
}

.hero h1 {
    color: var(--white);
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    margin-bottom: 16px;
}

.hero-tagline {
    font-family: var(--font-hand);
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    color: var(--magenta-light);
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-hint {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gray-light);
    font-size: 0.9rem;
    animation: bounce 2s infinite;
    z-index: 2;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0; right: 0;
    z-index: 3;
    pointer-events: none;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}


/* ========== HERO SMALL (PAGE BANNER) ========== */
.hero.hero-small{
    min-height: 50vh;
    background: linear-gradient(160deg, var(--black) 0%, #1a2e1a 35%, var(--dark) 70%, var(--dark-light) 100%);
}
.hero-page-icon{
    font-size: 4rem;
    margin-bottom: 16px;
}
.hero-meta{
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-top: 8px;
}
.hero-meta .tak-badge{
    display: inline-block;
    vertical-align: middle;
}
@media (max-width: 600px){
    .hero-page-icon{ font-size: 3.2rem; }
}

/* ========== PAGE INTRO (UNDER HERO) ========== */
.page-intro{
    background: var(--cream);
    padding: 40px 0 0 0;
    position: relative;
}
.page-intro .intro-card{
    /* Elegante kaart met subtiele styling */
    max-width: 760px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.04);
    padding: 32px 40px;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
}
.page-intro .intro-card::before{
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    bottom: 16px;
    width: 5px;
    border-radius: 0 4px 4px 0;
    background: linear-gradient(180deg, var(--magenta) 0%, var(--pink) 100%);
}
.page-intro .intro-text,
.page-intro .intro-content{
    font-size: 1.08rem;
    line-height: 1.95;
    color: var(--gray);
    /* Modernere browser-hulpjes voor mooiere afbreking */
    text-wrap: pretty;
    hyphens: auto;
}
.page-intro .intro-text,
.page-intro .intro-content{
    /* Hou de tekstregels prettig kort */
    max-width: 68ch;
    margin: 0 auto;
}
.page-intro .intro-content p{ margin: 0 0 14px; }
.page-intro .intro-content p:last-child{ margin-bottom: 0; }
.page-intro .intro-paragraph{ margin: 0 0 14px; }
.page-intro .intro-paragraph:last-child{ margin-bottom: 0; }
@media (max-width: 600px){
    .page-intro{ padding: 28px 16px 0 16px; }
    .page-intro .intro-card{ 
        padding: 24px 22px; 
        border-radius: var(--radius);
    }
    .page-intro .intro-card::before{ top: 12px; bottom: 12px; width: 4px; }
    .page-intro .intro-text,
    .page-intro .intro-content{ font-size: 1rem; }
}
.page-intro-spacer{
    height: 48px;
    background: var(--cream);
}
/* Reduceer top-padding van de eerste sectie na de intro */
.page-intro-spacer + .section{
    padding-top: 60px;
}
@media (max-width: 600px){
    .page-intro-spacer{ height: 36px; }
    .page-intro-spacer + .section{ padding-top: 40px; }
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-align: center;
}

.btn-magenta {
    background: var(--magenta);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(214, 25, 110, 0.4);
}
.btn-magenta:hover {
    background: var(--magenta-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(214, 25, 110, 0.5);
}

.btn-pink { /* alias */
    background: var(--magenta);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(214, 25, 110, 0.4);
}
.btn-pink:hover {
    background: var(--magenta-dark);
    transform: translateY(-3px);
}

.btn-dark {
    background: var(--dark);
    color: var(--white);
}
.btn-dark:hover {
    background: var(--black);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    /* Default outline button should be readable on light backgrounds */
    color: var(--dark);
    border: 2px solid var(--dark);
}
.btn-outline:hover {
    background: var(--dark);
    color: var(--white);
}

/* Optional: outline button variant for dark backgrounds */
.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}
.btn-outline-light:hover {
    background: var(--white);
    color: var(--black);
}

.btn-green {
    background: var(--green);
    color: var(--white);
}
.btn-green:hover {
    background: var(--green-dark);
    transform: translateY(-3px);
}

.btn-brown {
    background: var(--dark);
    color: var(--white);
}
.btn-brown:hover {
    background: var(--black);
    transform: translateY(-3px);
}

.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-lg { padding: 18px 40px; font-size: 1.1rem; }

.btn-cta-white {
    background: var(--white);
    color: var(--magenta);
    font-weight: 700;
}
.btn-cta-white:hover {
    background: var(--cream);
    transform: translateY(-3px);
}

/* ========== SECTIONS ========== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.section-title h2 {
    margin-bottom: 12px;
}

.section-title p {
    font-family: var(--font-hand);
    font-size: 1.5rem;
    color: var(--gray);
}

.section-wave-top {
    position: absolute;
    top: -1px;
    left: 0; right: 0;
}

.section-wave-top svg {
    display: block;
    width: 100%;
    height: 50px;
}

/* ========== ABOUT ========== */
.about {
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
}

.about-label {
    font-family: var(--font-hand);
    font-size: 1.5rem;
    color: var(--pink);
    display: block;
}

.about-heading {
    margin-bottom: 24px;
}

.about-intro {
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 24px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 32px 0;
}

.about-stat {
    text-align: center;
    padding: 20px 12px;
    background: var(--white);
    border-radius: 16px;
    transition: transform 0.2s;
}

.about-stat:hover {
    transform: translateY(-3px);
}

.about-stat-icon {
    display: block;
    margin: 0 auto 10px;
    color: var(--magenta);
}

.about-stat-text {
    font-weight: 600;
    color: var(--brown);
    font-size: 0.95rem;
}

.about-logo-img {
    max-width: 300px;
    margin: 0 auto;
}

.about-since {
    font-family: var(--font-hand);
    text-align: center;
    margin-top: 16px;
    font-size: 1.3rem;
    color: var(--brown);
}

.about-image {
    background: var(--white);
    padding: 20px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transform: rotate(2deg);
    transition: transform 0.3s;
}

.about-image:hover {
    transform: rotate(0deg);
}

@media (max-width: 600px) {
    .about-stats { grid-template-columns: 1fr; gap: 12px; }
    .about-stat { 
        display: flex; 
        align-items: center; 
        gap: 12px;
        text-align: left;
        padding: 16px 20px;
    }
    .about-stat-icon { margin: 0; }
}

/* ========== CARDS ========== */
.card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ========== TAKKEN ========== */
.takken {
    background: var(--dark);
    padding-top: 80px;
}

.takken .section-title h2,
.takken .section-title p {
    color: var(--white);
}

.takken-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
}

.tak-card {
    background: var(--white);
    border-radius: 20px;
    padding: 32px 20px;
    text-align: center;
    transition: all 0.3s;
    border-top: 6px solid var(--gray);
    position: relative;
    overflow: hidden;
}

.tak-card:hover {
    transform: translateY(-8px) rotate(-1deg);
    box-shadow: var(--shadow-lg);
}

.tak-card.kapoenen { border-color: #8BC34A; }
.tak-card.welpen { border-color: #FF9800; }
.tak-card.jonggivers { border-color: #2196F3; }
.tak-card.givers { border-color: #9C27B0; }
.tak-card.jin { border-color: #f44336; }
.tak-card.leiding { border-color: var(--magenta); }

.tak-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    transition: all 0.3s;
    border: 4px solid transparent;
}

.tak-card:hover .tak-icon {
    transform: scale(1.1) rotate(5deg);
}

.tak-card.kapoenen .tak-icon { border-color: #8BC34A; }
.tak-card.welpen .tak-icon { border-color: #FF9800; }
.tak-card.jonggivers .tak-icon { border-color: #2196F3; }
.tak-card.givers .tak-icon { border-color: #9C27B0; }
.tak-card.jin .tak-icon { border-color: #f44336; }

.tak-icon img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.tak-card h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--black);
}

.tak-age {
    display: inline-block;
    background: var(--cream);
    color: var(--dark);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
}

.tak-time {
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 12px;
}

/* ========== ACTIVITIES ========== */
.activities {
    background: var(--cream);
}

.activities-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.activity-card {
    background: var(--white);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.activity-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.activity-date {
    background: var(--magenta);
    color: var(--white);
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    min-width: 80px;
}

.activity-date .day {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.activity-date .month {
    font-size: 0.85rem;
    text-transform: uppercase;
    opacity: 0.9;
}

.activity-info h4 {
    color: var(--black);
    margin-bottom: 4px;
}

.activity-meta {
    color: var(--gray);
    font-size: 0.9rem;
}

.activity-tag {
    display: inline-block;
    background: var(--dark);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    margin-top: 8px;
}

/* ========== NEWS ========== */
.news {
    background: var(--dark);
    padding-top: 80px;
}

.news .section-title h2,
.news .section-title p {
    color: var(--white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.news-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
}

.news-card:hover {
    transform: translateY(-8px) rotate(1deg);
    box-shadow: var(--shadow-lg);
}

.news-image {
    height: 200px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark), var(--magenta));
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.news-date {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--magenta);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
}

.news-content {
    padding: 24px;
}

.news-content h3 {
    margin-bottom: 12px;
    color: var(--black);
}

.news-content p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.news-link {
    color: var(--magenta);
    font-weight: 600;
    transition: color 0.3s;
}

.news-link:hover {
    color: var(--magenta-dark);
}

/* ========== CTA ========== */
.cta {
    background: var(--magenta);
    color: var(--white);
    text-align: center;
    padding: 100px 20px;
    position: relative;
}

/* CTA flowing into footer */
.cta.cta-to-footer {
    padding-bottom: 80px;
    margin-bottom: 0;
}

.cta-wave {
    position: absolute;
    top: -1px;
    left: 0; right: 0;
}

.cta-wave svg {
    display: block;
    width: 100%;
    height: 60px;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta p {
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto 32px;
    font-size: 1.15rem;
    line-height: 1.8;
}

/* ========== WHY SCOUTING ========== */
.why-scouting {
    background: var(--cream);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.why-card {
    text-align: center;
    padding: 40px 32px;
}

.why-card:hover {
    transform: translateY(-5px);
}

.why-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-card h3 {
    color: var(--brown);
    margin-bottom: 12px;
}

.why-card p {
    color: var(--brown-light);
    line-height: 1.7;
}

/* ========== EMPTY STATES ========== */
.empty-state-icon {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

/* ========== FOOTER ========== */
/* ========== FOOTER TRANSITION ========== */
.footer-transition {
    background: var(--cream);
}

.footer-transition svg {
    display: block;
    width: 100%;
    height: 80px;
    margin-bottom: -1px;
}

@media (max-width: 768px) {
    .footer-transition svg { height: 50px; }
}

/* ========== FOOTER ========== */
.footer {
    background: #1a1a2e;
    color: #fff;
    margin-top: 0;
}

.footer .container {
    padding-top: 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.5fr;
    gap: 50px;
    padding: 40px 0 50px;
}

@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
}

.footer-col h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--magenta);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0 0 8px 0;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.footer-bottom p:last-child {
    margin-bottom: 0;
}

.footer-bottom a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--magenta);
}

.footer-address {
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-timing {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-timing strong {
    color: var(--magenta);
    display: block;
    margin-bottom: 4px;
}

.footer-timing span {
    display: block;
    font-size: 0.85rem;
}

.footer-contact-links li {
    margin-bottom: 16px;
}

.footer-contact-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 4px;
}

.footer-contact-links a {
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-btn {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s;
}

.social-btn:hover {
    background: var(--magenta);
    transform: translateY(-3px);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-links a {
    width: 44px;
    height: 44px;
    background: var(--dark-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--magenta);
    transform: translateY(-3px);
}

/* ========== FORMS ========== */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--cream-dark);
    border-radius: 12px;
    font-family: var(--font);
    font-size: 1rem;
    transition: all 0.3s;
    background: var(--white);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--magenta);
    box-shadow: 0 0 0 4px rgba(214, 25, 110, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
}

/* ========== ALERTS ========== */
.alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.alert-error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* ========== UTILITIES ========== */
.text-center { text-align: center; }
.mt-3 { margin-top: 24px; }
.mt-5 { margin-top: 48px; }
.mb-3 { margin-bottom: 24px; }
.mb-5 { margin-bottom: 48px; }

.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-3 { gap: 16px; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }

.mb-lg { margin-bottom: 32px; }
.mt-lg { margin-top: 32px; }

.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 900px) {
    .grid-2 { grid-template-columns: 1fr; }
}

/* Dashboard stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

@media (max-width: 1100px) {
    .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
    .stats-grid { grid-template-columns: 1fr; }
}

.stat-card {
    background: var(--white);
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    display: flex;
    gap: 14px;
    align-items: center;
}

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    background: var(--cream);
}
.stat-icon.green { background: rgba(46,125,50,0.12); }
.stat-icon.blue { background: rgba(33,150,243,0.12); }
.stat-icon.orange { background: rgba(255,152,0,0.14); }
.stat-icon.red { background: rgba(220,53,69,0.12); }

.stat-content h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--black);
}
.stat-content p {
    margin: 0;
    color: var(--gray);
    font-size: 0.9rem;
}

/* Kleine badges voor admin tabellen */
.admin-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    line-height: 1;
}
.admin-badge-info {
    background: rgba(214,25,110,0.12);
    color: var(--magenta);
}

/* ========== ADMIN STYLES ========== */
.admin-body {
    background: #f5f5f5;
}

.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: var(--black);
    color: var(--white);
    padding: 24px;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.admin-sidebar h2 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.admin-sidebar .subtitle {
    color: var(--gray);
    font-size: 0.85rem;
    margin-bottom: 32px;
}

.admin-nav {
    list-style: none;
}

.admin-nav li {
    margin-bottom: 4px;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    color: var(--gray-light);
    transition: all 0.2s;
}

.admin-nav a:hover,
.admin-nav a.active {
    background: var(--dark);
    color: var(--white);
}

.admin-nav a.active {
    background: var(--magenta);
}

.admin-content,
.admin-main {
    flex: 1;
    margin-left: 260px;
    padding: 32px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.admin-header h1 {
    font-size: 1.8rem;
}

.admin-card {
    background: var(--white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--cream-dark);
}

.admin-table th {
    background: var(--cream);
    font-weight: 600;
    color: var(--dark);
}

.admin-table tr:hover {
    background: var(--cream);
}

.btn-primary {
    background: var(--magenta);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--magenta-dark);
}

.btn-secondary {
    background: var(--cream-dark);
    color: var(--dark);
}

.btn-secondary:hover {
    background: var(--cream);
}

.btn-danger {
    background: #dc3545;
    color: var(--white);
}

.btn-danger:hover {
    background: #c82333;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

.badge-success {
    background: #d4edda;
    color: #155724;
}

.badge-warning {
    background: #fff3cd;
    color: #856404;
}

.badge-danger {
    background: #f8d7da;
    color: #721c24;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
    .admin-sidebar { width: 220px; }
    .admin-content { margin-left: 220px; }
}

@media (max-width: 800px) {
    .admin-sidebar {
        position: relative;
        width: 100%;
        height: auto;
    }
    .admin-content {
        margin-left: 0;
    }
    .admin-wrapper {
        flex-direction: column;
    }
}

/* Smooth scrolling for anchor links */
html {
    scroll-padding-top: 100px;
}

/* Selection color */
::selection {
    background: var(--magenta);
    color: var(--white);
}

/* ========== LANGUAGE SWITCHER ========== */
.lang-switcher {
    position: relative;
}

.lang-current {
    background: rgba(255,255,255,0.15);
    border: none;
    color: var(--white);
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
}

.lang-current:hover {
    background: rgba(255,255,255,0.25);
}

.lang-current svg {
    opacity: 0.8;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border-radius: 12px;
    padding: 8px;
    min-width: 160px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.lang-switcher:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    padding: 12px 16px;
    color: var(--dark);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.lang-option:hover {
    background: var(--cream);
}

.lang-option.active {
    background: var(--magenta);
    color: var(--white);
    font-weight: 600;
}

.nav-lang-desktop {
    margin-left: 12px;
}

.nav-lang-mobile {
    display: none;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 20px;
}

@media (max-width: 900px) {
    .nav-lang-desktop { display: none; }
    .nav-lang-mobile { display: block; }
    .nav-lang-mobile .lang-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255,255,255,0.05);
        box-shadow: none;
    }
    .nav-lang-mobile .lang-option {
        color: var(--white);
        text-align: center;
    }
    .nav-lang-mobile .lang-current {
        width: 100%;
        justify-content: center;
    }
}

/* ========== HEADER ACTION BUTTONS ========== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 16px;
}

.header-action-btn {
    background: rgba(255,255,255,0.1);
    border: none;
    color: var(--white);
    width: 42px;
    height: 42px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.header-action-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.05);
}

.header-action-btn.install-btn {
    background: var(--magenta);
}

.header-action-btn.install-btn:hover {
    background: var(--magenta-dark);
}

@media (max-width: 900px) {
    .header-actions {
        margin-right: 8px;
    }
    .header-action-btn {
        width: 38px;
        height: 38px;
    }
}

.search-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 100px 20px 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.search-modal.open {
    opacity: 1;
    visibility: visible;
}

.search-modal-content {
    width: 100%;
    max-width: 600px;
    transform: translateY(-20px);
    transition: transform 0.3s;
}

.search-modal.open .search-modal-content {
    transform: translateY(0);
}

.search-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.search-modal-close:hover {
    opacity: 1;
}

.search-form {
    display: flex;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.search-input {
    flex: 1;
    border: none;
    padding: 20px 24px;
    font-size: 1.2rem;
    font-family: var(--font);
    outline: none;
}

.search-submit {
    background: var(--magenta);
    border: none;
    color: var(--white);
    padding: 20px 28px;
    font-size: 1.3rem;
    cursor: pointer;
    transition: background 0.2s;
}

.search-submit:hover {
    background: var(--magenta-dark);
}

.search-results {
    margin-top: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.search-result-live {
    background: var(--white);
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.2s;
}

.search-result-live:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.search-result-live-icon {
    font-size: 1.5rem;
}

.search-result-live-title {
    font-weight: 600;
}

.search-result-live-type {
    font-size: 0.8rem;
    color: var(--magenta);
    margin-left: auto;
}

/* ========== PWA INSTALL BANNER ========== */
.pwa-install-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 500px;
    background: var(--white);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 60px rgba(0,0,0,0.2);
    z-index: 1500;
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
    display: none;
    flex-direction: column;
    gap: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.pwa-install-banner.show {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.pwa-install-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pwa-install-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
}

.pwa-install-text {
    flex: 1;
}

.pwa-install-text strong {
    display: block;
    color: var(--dark);
    margin-bottom: 4px;
}

.pwa-install-text span {
    font-size: 0.9rem;
    color: var(--gray);
}

.pwa-install-buttons {
    display: flex;
    gap: 10px;
}

.pwa-install-buttons .btn {
    flex: 1;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-ghost {
    background: transparent;
    color: var(--gray);
    border: 1px solid var(--cream-dark);
}

.btn-ghost:hover {
    background: var(--cream);
}

/* PWA iOS Modal */
.pwa-ios-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.pwa-ios-modal-content {
    background: var(--white);
    border-radius: 20px;
    padding: 32px;
    max-width: 350px;
    text-align: center;
}

.pwa-ios-modal-content h3 {
    margin-bottom: 16px;
}

.pwa-ios-modal-content ol {
    text-align: left;
    margin: 20px 0;
    padding-left: 20px;
}

.pwa-ios-modal-content li {
    margin-bottom: 12px;
    line-height: 1.6;
}

/* PWA Update Notification */
.pwa-update-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark);
    color: var(--white);
    padding: 14px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    z-index: 1500;
}

.pwa-update-notification button {
    background: var(--magenta);
    border: none;
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-family: var(--font);
    font-weight: 500;
}

/* Offline Banner */
.offline-banner {
    position: fixed;
    top: -60px;
    left: 0;
    right: 0;
    background: #ff9800;
    color: var(--white);
    text-align: center;
    padding: 12px;
    font-weight: 500;
    z-index: 2000;
    transition: top 0.3s;
}

.offline-banner.show {
    top: 0;
}

body.offline .header {
    top: 48px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 600px) {
    .pwa-install-banner {
        left: 10px;
        right: 10px;
        padding: 16px;
    }
    
    .pwa-install-content {
        flex-direction: column;
        text-align: center;
    }
    
    .search-modal {
        padding: 80px 15px 15px;
    }
    
    .search-input {
        padding: 16px 20px;
        font-size: 1rem;
    }
}

/* ========== SITE FLASH ALERTS (Flitsmeldingen) ========== */
.site-flash-alert {
    padding: 14px 0;
    font-size: 0.95rem;
    position: relative;
    z-index: 100;
}

.site-flash-alert-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-flash-alert-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.site-flash-alert-text {
    flex: 1;
    line-height: 1.5;
}

.site-flash-alert-text a {
    margin-left: 8px;
}

.site-flash-alert-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: inherit;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}

.site-flash-alert-close:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

@media (max-width: 600px) {
    .site-flash-alert {
        padding: 12px 0;
        font-size: 0.85rem;
    }
    
    .site-flash-alert-content {
        gap: 10px;
    }
    
    .site-flash-alert-icon {
        font-size: 1.2rem;
    }
}

/* ========== ADMIN PANEL ENHANCEMENTS ========== */

/* Admin Header & Content */
.admin-header {
    margin-bottom: 24px;
}

.admin-header h1 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: var(--brown);
}

.admin-header p {
    color: var(--gray);
    margin: 0;
}

.admin-content {
    padding: 24px;
}

/* Cards */
.card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
}

.card-header {
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
    background: #fafafa;
}

.card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--brown);
}

.card-body {
    padding: 20px;
}

.mb-4 {
    margin-bottom: 24px;
}

/* Forms */
.form-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.form-row .form-group {
    flex: 1;
    min-width: 200px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--brown);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--magenta);
    box-shadow: 0 0 0 3px rgba(214, 25, 110, 0.1);
}

.form-control-sm {
    padding: 6px 10px;
    font-size: 0.85rem;
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

select.form-control {
    cursor: pointer;
}

.form-actions {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Checkbox */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.95rem;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.table th {
    background: #f5f5f5;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--gray);
}

.table tbody tr:hover {
    background: #fafafa;
}

.table tfoot td {
    background: #f9f9f9;
    font-weight: 500;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--magenta);
    color: white;
}

.btn-primary:hover {
    background: var(--magenta-dark);
}

.btn-secondary {
    background: #666;
    color: white;
}

.btn-secondary:hover {
    background: #555;
}

.btn-success {
    background: #22c55e;
    color: white;
}

.btn-success:hover {
    background: #16a34a;
}

.btn-danger {
    background: #ef4444;
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.85rem;
}

.btn-outline {
    background: transparent;
    border: 1px solid currentColor;
}

/* Alerts */
.alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Status colors for invoices */
.status-draft { color: #666; }
.status-sent { color: #3b82f6; }
.status-paid { color: #22c55e; }
.status-overdue { color: #f59e0b; }
.status-cancelled { color: #ef4444; }

/* Details/Summary */
details {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 12px 16px;
}

details summary {
    font-weight: 500;
    cursor: pointer;
    user-select: none;
}

details[open] summary {
    margin-bottom: 12px;
}

/* Mobile Admin Fixes */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
    
    .form-row .form-group {
        min-width: 100%;
    }
    
    .table {
        font-size: 0.85rem;
    }
    
    .table th,
    .table td {
        padding: 10px 8px;
    }
    
    .btn {
        padding: 8px 14px;
        font-size: 0.9rem;
    }
    
    .card-header,
    .card-body {
        padding: 14px;
    }
}

/* ========== ADMIN MOBILE RESPONSIVE ========== */

/* Mobile header (hidden on desktop) */
.admin-mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: var(--dark);
    color: white;
    z-index: 1001;
    padding: 0 16px;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.admin-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.admin-menu-toggle span {
    width: 24px;
    height: 2px;
    background: white;
    transition: all 0.3s;
}

.admin-mobile-title {
    font-weight: 600;
    font-size: 1rem;
}

.admin-mobile-user {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Overlay */
.admin-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

/* Sidebar header */
.admin-sidebar-header {
    position: relative;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.admin-sidebar-close {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    opacity: 0.7;
}

.admin-sidebar-close:hover {
    opacity: 1;
}

/* Nav divider and section */
.admin-nav-divider {
    margin: 16px 0 !important;
    padding: 0 !important;
    border-top: 1px solid rgba(255,255,255,0.1);
    list-style: none;
}

.admin-nav-section {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.5);
    padding: 8px 12px 4px !important;
    margin: 0 !important;
}

/* Mobile responsive */
@media (max-width: 900px) {
    .admin-mobile-header {
        display: flex;
    }
    
    .admin-overlay {
        display: block;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s;
    }
    
    .admin-menu-open .admin-overlay {
        opacity: 1;
        pointer-events: auto;
    }
    
    .admin-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 280px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }
    
    .admin-menu-open .admin-sidebar {
        transform: translateX(0);
    }
    
    .admin-sidebar-close {
        display: block;
    }
    
    .admin-main,
    .admin-content {
        margin-left: 0 !important;
        padding-top: 72px !important;
    }
    
    .admin-wrapper {
        display: block;
    }
    
    /* Hamburger animation */
    .admin-menu-open .admin-menu-toggle span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .admin-menu-open .admin-menu-toggle span:nth-child(2) {
        opacity: 0;
    }
    
    .admin-menu-open .admin-menu-toggle span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    /* Admin content adjustments */
    .admin-header h1 {
        font-size: 1.4rem;
    }
    
    .admin-content {
        padding: 16px;
    }
    
    .card-header,
    .card-body {
        padding: 14px;
    }
    
    /* Responsive tables */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .admin-table th,
    .admin-table td {
        white-space: nowrap;
        padding: 10px 8px;
    }
}

@media (max-width: 480px) {
    .admin-mobile-title {
        display: none;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .stat-icon {
        font-size: 2rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
}

/* ========== COMMENTS / REACTIES ========== */
.comments-section {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid var(--light-gray);
}

.comments-title {
    font-size: 1.4rem;
    color: var(--brown);
    margin-bottom: 24px;
}

.comments-count {
    color: var(--gray);
    font-weight: normal;
}

.comments-list {
    margin-bottom: 32px;
}

.comment {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.comment-author {
    font-weight: 600;
    color: var(--brown);
}

.comment-date {
    font-size: 0.85rem;
    color: var(--gray);
}

.comment-content {
    color: var(--dark);
    line-height: 1.7;
    margin-bottom: 12px;
}

.comment-reply-btn {
    background: none;
    border: none;
    color: var(--magenta);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 4px 0;
}

.comment-reply-btn:hover {
    text-decoration: underline;
}

.comment-replies {
    margin-top: 16px;
    margin-left: 24px;
    padding-left: 16px;
    border-left: 3px solid var(--cream);
}

.comment-reply {
    background: var(--cream);
    border: none;
}

.reply-form-container {
    margin-top: 16px;
    padding: 16px;
    background: var(--cream);
    border-radius: 8px;
}

.reply-form-container .comment-form {
    margin: 0;
}

.no-comments {
    text-align: center;
    color: var(--gray);
    padding: 32px;
    background: var(--cream);
    border-radius: 12px;
}

.comment-form-wrapper {
    background: var(--cream);
    padding: 24px;
    border-radius: 12px;
}

.comment-form-wrapper h4 {
    margin-bottom: 20px;
    color: var(--brown);
}

.comment-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.comment-form .form-group {
    margin-bottom: 16px;
}

.comment-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--brown);
}

.comment-form label small {
    font-weight: normal;
    color: var(--gray);
}

.comment-form .form-input,
.comment-form .form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.comment-form .form-input:focus,
.comment-form .form-textarea:focus {
    outline: none;
    border-color: var(--magenta);
}

.comment-form .checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--gray);
}

.comment-alert {
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.comment-alert.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.comment-alert.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.comment-alert.pending {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

@media (max-width: 600px) {
    .comment-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .comment-replies {
        margin-left: 12px;
        padding-left: 12px;
    }
}

/* ========================================
   MOBILE IMPROVEMENTS - Complete Overhaul
   ======================================== */

/* Mobile Header & Navigation */
@media (max-width: 900px) {
    .header {
        padding: 10px 0;
    }
    
    .header-inner {
        padding: 0 16px;
    }
    
    .logo img {
        height: 50px;
    }
    
    /* Hamburger Menu Button */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        padding: 0;
        gap: 6px;
        cursor: pointer;
        background: transparent;
        border: none;
        z-index: 200;
        position: relative;
    }
    
    .menu-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--white);
        border-radius: 2px;
        transition: all 0.3s ease;
        transform-origin: center;
    }
    
    /* Hamburger to X animation */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    /* ===== Mobile Navigation Panel ===== */
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        height: 100dvh;
        background: linear-gradient(180deg, #111111 0%, #1a1a1a 100%);
        padding: 0;
        transition: right 0.3s ease;
        z-index: 150;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav.active,
    .nav.open {
        right: 0;
    }
    
    /* Menu header */
    .nav::before {
        content: '';
        display: block;
        height: 70px;
    }
    
    .nav > ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0 16px 24px;
    }
    
    /* ---- Menu items ---- */
    .nav li {
        border: none;
    }
    
    .nav li:last-child {
        border-bottom: none;
    }
    
    .nav a {
        display: block;
        padding: 14px 16px;
        color: rgba(255,255,255,0.85);
        font-size: 1rem;
        font-weight: 500;
        text-align: left;
        border-radius: 10px;
        transition: all 0.2s ease;
        text-decoration: none;
    }
    
    .nav a:hover,
    .nav a:active {
        background: rgba(255,255,255,0.08);
        color: #fff;
    }
    
    .nav a.active {
        color: #fff;
        background: rgba(214, 25, 110, 0.2);
        font-weight: 600;
    }
    
    /* ---- "Meer" dropdown ---- */
    .nav li.has-dropdown > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }
    
    .nav li.has-dropdown > a::after {
        content: '';
        width: 8px;
        height: 8px;
        border-right: 2px solid rgba(255,255,255,0.4);
        border-bottom: 2px solid rgba(255,255,255,0.4);
        transform: rotate(45deg);
        transition: transform 0.3s ease;
        flex-shrink: 0;
    }
    
    .nav li.has-dropdown.open > a::after {
        transform: rotate(-135deg);
    }
    
    .nav .dropdown {
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: none;
        background: rgba(255,255,255,0.04) !important;
        border-radius: 12px;
        margin: 4px 0 8px !important;
        padding: 4px 0 !important;
        box-shadow: none !important;
        min-width: auto;
        border: none;
        border-left: 2px solid rgba(214, 25, 110, 0.4);
        margin-left: 12px !important;
    }
    
    .nav .dropdown::before {
        display: none !important;
    }
    
    .nav li.has-dropdown.open .dropdown {
        display: block;
        animation: mobileDropSlide 0.25s ease;
    }
    
    @keyframes mobileDropSlide {
        from { opacity: 0; transform: translateY(-8px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .nav .dropdown li {
        border: none;
    }
    
    .nav .dropdown a {
        padding: 11px 16px !important;
        font-size: 0.92rem !important;
        color: rgba(255,255,255,0.7) !important;
        background: transparent !important;
        border-radius: 8px;
        text-align: left;
    }
    
    .nav .dropdown a:hover,
    .nav .dropdown a:active {
        color: #fff !important;
        background: rgba(255,255,255,0.08) !important;
    }
    
    /* ---- CTA (Lid worden) ---- */
    .nav a.cta {
        margin-top: 16px;
        text-align: center;
        background: var(--magenta);
        color: #fff;
        font-weight: 600;
        border-radius: 12px;
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    .nav a.cta:hover {
        background: #b01558;
    }
    
    /* ---- Taal switcher (mobile) ---- */
    .nav-lang-desktop {
        display: none !important;
    }
    
    .nav-lang-mobile {
        display: block !important;
        margin-top: 24px;
        padding-top: 20px;
        border-top: 1px solid rgba(255,255,255,0.08);
    }
    
    .nav-lang-mobile .lang-switcher {
        display: flex;
        justify-content: center;
        gap: 8px;
    }
    
    .nav-lang-mobile .lang-btn {
        padding: 10px 20px;
        background: rgba(255,255,255,0.08);
        color: rgba(255,255,255,0.7);
        border-radius: 8px;
        font-weight: 500;
        font-size: 0.9rem;
        border: none;
        cursor: pointer;
        transition: all 0.2s;
    }
    
    .nav-lang-mobile .lang-btn.active {
        background: var(--magenta);
        color: #fff;
    }
    
    /* Overlay */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.6);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
        z-index: 100;
    }
    
    .nav-overlay.open {
        opacity: 1;
        visibility: visible;
    }
    
    /* Body scroll lock */
    body.nav-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
}

/* Small Mobile Specific */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .nav {
        width: 100%;
        max-width: none;
    }
    
    /* Hero adjustments */
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
        padding: 100px 16px 60px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    
    .hero-btns .btn {
        width: 100%;
        text-align: center;
    }
    
    /* Page banner */
    .page-banner {
        padding: 100px 0 40px;
    }
    
    .page-banner h1 {
        font-size: 1.8rem;
    }
    
    .page-banner-icon {
        font-size: 3rem;
    }
    
    /* Cards */
    .card {
        padding: 20px;
    }
    
    /* Sections */
    .section {
        padding: 40px 0;
    }
    
    /* Grid layouts */
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
    
    /* Forms */
    .form-group {
        margin-bottom: 16px;
    }
    
    .form-input,
    .form-textarea,
    .form-select {
        padding: 14px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 1rem;
        width: 100%;
    }
    
    /* Tables */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 32px;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

/* Touch-friendly tap targets */
@media (max-width: 900px) {
    a, button, input[type="submit"], .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Ensure all nav links are easily tappable */
    .nav a {
        min-height: 48px;
        display: flex;
        align-items: center;
    }
}

/* Fix for iOS Safari bottom bar */
@supports (-webkit-touch-callout: none) {
    .nav {
        padding-bottom: env(safe-area-inset-bottom, 40px);
    }
}

/* Language switcher desktop - ensure visible */
@media (min-width: 901px) {
    .nav-lang-desktop {
        display: flex !important;
        align-items: center;
        margin-left: 16px;
    }
    
    .nav-lang-mobile {
        display: none !important;
    }
    
    .lang-switcher {
        display: flex;
        gap: 4px;
    }
    
    .lang-btn {
        padding: 6px 12px;
        background: rgba(255,255,255,0.1);
        color: var(--white);
        border-radius: 6px;
        font-size: 0.85rem;
        font-weight: 500;
        transition: all 0.2s;
        border: none;
        cursor: pointer;
    }
    
    .lang-btn:hover {
        background: rgba(255,255,255,0.2);
    }
    
    .lang-btn.active {
        background: var(--magenta);
    }
}

/* PWA Install Banner Mobile */
@media (max-width: 600px) {
    .pwa-install-banner {
        flex-direction: column;
        padding: 16px;
        gap: 12px;
    }
    
    .pwa-install-content {
        justify-content: center;
        text-align: center;
    }
    
    .pwa-install-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .pwa-install-buttons .btn {
        flex: 1;
    }
}

/* Contact form mobile */
@media (max-width: 600px) {
    .contact-grid {
        grid-template-columns: 1fr !important;
    }
}

/* News cards mobile */
@media (max-width: 600px) {
    .news-card {
        flex-direction: column;
    }
    
    .news-card-image {
        width: 100%;
        height: 200px;
    }
}

/* Photo gallery mobile */
@media (max-width: 600px) {
    .photos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

/* Leader cards mobile */
@media (max-width: 600px) {
    .leader-card {
        flex-direction: column;
        text-align: center;
    }
    
    .leader-photo {
        margin: 0 auto 16px;
    }
}

/* ========================================
   LOADING ANIMATIONS & PAGE TRANSITIONS
   ======================================== */

/* Page loader overlay */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.page-loader .loader {
    width: 60px;
    height: 60px;
    position: relative;
}

.page-loader .loader::before,
.page-loader .loader::after {
    content: '';
    position: absolute;
    border-radius: 50%;
}

.page-loader .loader::before {
    width: 100%;
    height: 100%;
    border: 4px solid rgba(255,255,255,0.1);
    border-top-color: var(--magenta);
    animation: spin 1s linear infinite;
}

.page-loader .loader::after {
    width: 20px;
    height: 20px;
    background: var(--magenta);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; }
}

/* Fade in animations for page content */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children animations */
.stagger-in > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-in.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-in.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-in.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-in.visible > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-in.visible > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-in.visible > *:nth-child(6) { transition-delay: 0.6s; }

.stagger-in.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* Slide in from left */
.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Slide in from right */
.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scale in */
.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Card hover lift effect */
.card, .news-card, .photo-card, .album-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover, .news-card:hover, .photo-card:hover, .album-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Button loading state */
.btn.loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Skeleton loading for images */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Image lazy load fade in */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.5s ease;
}

img[loading="lazy"].loaded,
img[loading="lazy"]:not([src=""]) {
    opacity: 1;
}

/* Smooth section transitions — JS adds .reveal-ready when observer is active */
.section.reveal-ready {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.reveal-ready.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero text animation — visible by default, animation as enhancement */
.hero h1 {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.hero p {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.hero-btns {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bounce animation for scroll indicator */
.scroll-indicator {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Ripple effect on buttons */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--magenta);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 99;
    box-shadow: 0 4px 15px rgba(214, 25, 110, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--magenta-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(214, 25, 110, 0.5);
}

@media (max-width: 600px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--black);
    color: #fff;
    padding: 20px;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner p {
    margin: 0;
    flex: 1;
    min-width: 200px;
}

.cookie-banner p a {
    color: var(--magenta-light);
    text-decoration: underline;
}

.cookie-banner-buttons {
    display: flex;
    gap: 12px;
}

.cookie-banner .btn-accept {
    background: var(--magenta);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.cookie-banner .btn-decline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
}

@media (max-width: 600px) {
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-banner-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* Counter animation */
.counter {
    display: inline-block;
}

/* Typing effect for headings (optional class) */
.typing-effect {
    overflow: hidden;
    border-right: 3px solid var(--magenta);
    white-space: nowrap;
    animation: typing 3s steps(40) forwards, blink 0.7s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .page-loader {
        display: none;
    }
}

/* =============================================
   MOBILE MENU FIX - Added to fix tap issues
   ============================================= */
@media (max-width: 900px) {
    /* Force page loader to not block anything */
    .page-loader {
        pointer-events: none !important;
    }
    .page-loader.loaded {
        display: none !important;
    }
    
    /* NAV - highest z-index */
    .nav {
        position: fixed !important;
        top: 0 !important;
        right: -280px !important;
        width: 280px !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: #1a1a1a !important;
        padding: 100px 30px 30px !important;
        z-index: 99999 !important;
        transition: right 0.3s ease !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    .nav.open {
        right: 0 !important;
    }
    
    .nav ul {
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .nav li {
        display: block !important;
        list-style: none !important;
    }
    
    /* LINKS - ensure clickable */
    .nav a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 48px !important;
        padding: 12px 20px !important;
        color: #ffffff !important;
        text-decoration: none !important;
        border-radius: 50px !important;
        background: transparent !important;
        cursor: pointer !important;
        pointer-events: auto !important;
        -webkit-tap-highlight-color: rgba(214, 25, 110, 0.4) !important;
        touch-action: manipulation !important;
    }
    
    .nav a:hover,
    .nav a:active {
        background: rgba(255, 255, 255, 0.15) !important;
    }
    
    .nav a.active {
        background: rgba(214, 25, 110, 0.8) !important;
    }
    
    .nav a.cta {
        background: #d6196e !important;
        margin-top: 16px !important;
    }
    
    /* Dropdown */
    .nav .dropdown {
        position: static !important;
        display: none !important;
        background: #333 !important;
        border-radius: 8px !important;
        padding: 8px !important;
        margin-top: 8px !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        pointer-events: auto !important;
    }
    
    .nav .dropdown::before {
        display: none !important;
    }
    
    .nav li.has-dropdown.open .dropdown {
        display: block !important;
    }
    
    .nav .dropdown a {
        color: #fff !important;
        background: transparent !important;
    }
    
    /* Overlay - below nav, only covers LEFT side */
    .nav-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 280px !important; /* Stop before nav width */
        bottom: 0 !important;
        background: rgba(0, 0, 0, 0.6) !important;
        z-index: 99998 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: opacity 0.3s, visibility 0.3s !important;
    }
    
    .nav-overlay.open {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
    
    /* Menu button - above everything */
    .menu-toggle {
        display: flex !important;
        z-index: 100000 !important;
        position: relative !important;
        pointer-events: auto !important;
    }
    
    /* Body lock */
    body.nav-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
        height: 100% !important;
    }
    
    /* PWA banner should not block nav */
    .pwa-install-banner {
        z-index: 1500 !important;
    }
}

/* =============================================
   ADDITIONAL FIXES
   ============================================= */

/* Fix Lid worden button in nav - ensure it doesn't wrap */
.nav a.cta {
    white-space: nowrap !important;
    padding: 10px 20px !important;
}

@media (max-width: 1100px) {
    .nav a.cta {
        padding: 8px 16px !important;
        font-size: 0.9rem !important;
    }
}

/* Footer install button */
.footer-install-btn {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 999;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--magenta);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(214, 25, 110, 0.35);
}

.footer-install-btn:hover {
    background: var(--magenta-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(214, 25, 110, 0.45);
}

@media (max-width: 600px) {
    .footer-install-btn {
        bottom: 16px;
        left: 16px;
        padding: 10px 18px;
        font-size: 0.85rem;
    }
}

/* Privacy page - ensure text is readable */
.privacy-content,
.privacy-content p,
.privacy-content li,
.privacy-content h2,
.privacy-content h3 {
    color: var(--dark) !important;
}

.privacy-content p,
.privacy-content li {
    color: #444 !important;
    line-height: 1.8;
}

/* Card text should be dark and readable */
.card p,
.card li {
    color: #444;
}

.card h2,
.card h3,
.card h4 {
    color: var(--dark);
}

/* Dark background cards (e.g. medicatie box) keep white text */
.card-dark p,
.card-dark li,
.card-dark h3,
.card-dark h4,
.card-dark strong {
    color: #fff !important;
}

/* =============================================
   PRIVACY PAGE - FORCE READABLE TEXT
   ============================================= */
.privacy-content .card {
    background: #ffffff !important;
}

.privacy-content .card h2,
.privacy-content .card h3,
.privacy-content .card h4,
.privacy-content .card strong {
    color: #1a1a1a !important;
}

.privacy-content .card p,
.privacy-content .card li,
.privacy-content .card td,
.privacy-content .card th {
    color: #333333 !important;
}

.privacy-content .card a {
    color: #d6196e !important;
}

.privacy-content .card table {
    color: #333333 !important;
}

/* General section text fix */
.section .card p,
.section .card li {
    color: #444 !important;
}

.section .card h2,
.section .card h3 {
    color: #1a1a1a !important;

}

/* Dark cards in sections keep white text */
.section .card-dark p,
.section .card-dark li,
.section .card-dark h2,
.section .card-dark h3,
.section .card-dark h4,
.section .card-dark strong {
    color: #fff !important;
}
}


/* =====================================================
   FLASH ALERTS / FLITSMELDINGEN
   ===================================================== */
.flash-alert {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    font-size: 0.95rem;
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.flash-alert-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}
.flash-alert-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}
.flash-alert-text {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
}
.flash-alert-text strong {
    font-weight: 700;
}
.flash-alert-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: inherit;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 16px;
    transition: background 0.2s;
}
.flash-alert-close:hover {
    background: rgba(255,255,255,0.3);
}
@media (max-width: 600px) {
    .flash-alert {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    .flash-alert-text {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

/* =====================================================
   SOCIAL SHARE BUTTONS
   ===================================================== */
.social-share {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.social-share-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}
.social-share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}
.social-share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.social-share-facebook { background: #1877f2; }
.social-share-twitter { background: #000; }
.social-share-whatsapp { background: #25d366; }
.social-share-email { background: #ea4335; }
.social-share-copy { background: #6b7280; }

/* =====================================================
   SEARCH BOX
   ===================================================== */
.search-box {
    display: flex;
    gap: 8px;
}
.search-box input {
    flex: 1;
    padding: 10px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}
.search-box input:focus {
    border-color: var(--magenta);
}
.search-box button {
    padding: 10px 18px;
    background: var(--magenta);
    color: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.2s;
}
.search-box button:hover {
    background: var(--magenta-dark);
}
.search-box-compact input {
    padding: 8px 14px;
    font-size: 0.85rem;
}
.search-box-compact button {
    padding: 8px 14px;
}

/* Photo frame effect (CSS fallback) */
.photo-frame {
    position: relative;
    display: inline-block;
}
.photo-frame::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: #f5f3ee;
    border-radius: 4px;
    box-shadow: 
        inset 0 0 20px rgba(0,0,0,0.05),
        0 4px 20px rgba(0,0,0,0.1);
    z-index: -1;
}
.photo-frame img {
    display: block;
    border-radius: 2px;
}

/* =====================================================
   PHOTO GALLERY
   ===================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 32px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    background: #f0f0f0;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    font-size: 2rem;
    color: white;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10001;
    padding: 10px;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--magenta);
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 20px 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.3);
}

.lightbox-prev {
    left: 10px;
    border-radius: 0 8px 8px 0;
}

.lightbox-next {
    right: 10px;
    border-radius: 8px 0 0 8px;
}

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0,0,0,0.6);
    padding: 10px 20px;
    border-radius: 8px;
    max-width: 80%;
    text-align: center;
}

/* Album cards */
.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.album-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.album-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.album-card-image {
    aspect-ratio: 16/10;
    background: #e0e0e0;
    position: relative;
    overflow: hidden;
}

.album-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.album-card:hover .album-card-image img {
    transform: scale(1.05);
}

.album-card-body {
    padding: 20px;
}

.album-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.album-card-meta {
    font-size: 0.85rem;
    color: var(--gray);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Photo access box */
.photo-access {
    max-width: 400px;
    margin: 0 auto;
    background: white;
    padding: 48px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.photo-access-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .gallery-item {
        border-radius: 8px;
    }
    
    .lightbox-nav {
        padding: 15px 10px;
        font-size: 1.5rem;
    }
}

/* =====================================================
   IMPROVED FOOTER
   ===================================================== */
/* Footer overrides consolidated into main footer block above */

/* ========== LID WORDEN PAGE ========== */

/* --- Shared section styles --- */
.lid-section-title {
    text-align: center;
    color: var(--dark);
    margin-bottom: 12px;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.lid-section-subtitle {
    text-align: center;
    color: var(--gray);
    max-width: 540px;
    margin: 0 auto 48px;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* --- Why section --- */
.lid-why {
    background: var(--cream);
    padding: 60px 0 70px;
}

.lid-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 960px;
    margin: 0 auto;
}

.lid-why-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 28px 36px;
    text-align: center;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0,0,0,0.04);
}

.lid-why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.1);
}

.lid-why-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.lid-why-icon--friends {
    background: linear-gradient(135deg, #fce4ec, #f8bbd0);
    color: var(--magenta);
}

.lid-why-icon--nature {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    color: var(--green);
}

.lid-why-icon--growth {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    color: #e65100;
}

.lid-why-card h3 {
    color: var(--dark);
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.lid-why-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .lid-why-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

/* --- Takken timeline --- */
.lid-takken {
    background: var(--white);
    padding: 70px 0 80px;
}

.lid-takken-timeline {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

/* Vertical line */
.lid-takken-timeline::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 24px;
    bottom: 24px;
    width: 3px;
    background: linear-gradient(to bottom, #4CAF50, #FF9800, #2196F3, #F44336, #9C27B0);
    border-radius: 3px;
}

.lid-tak-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 20px;
    border-radius: 14px;
    text-decoration: none;
    color: var(--dark);
    transition: background 0.2s, transform 0.2s;
    position: relative;
}

.lid-tak-card:hover {
    background: var(--cream);
    transform: translateX(4px);
}

.lid-tak-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--tak-color);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 4px var(--white), 0 2px 8px rgba(0,0,0,0.12);
    transition: transform 0.2s;
}

.lid-tak-card:hover .lid-tak-dot {
    transform: scale(1.15);
}

.lid-tak-content {
    flex: 1;
}

.lid-tak-age {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--tak-color);
    margin-bottom: 2px;
}

.lid-tak-content h4 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.lid-tak-time {
    font-size: 0.85rem;
    color: var(--gray);
}

.lid-tak-arrow {
    color: var(--gray-light);
    flex-shrink: 0;
    transition: transform 0.2s, color 0.2s;
}

.lid-tak-card:hover .lid-tak-arrow {
    transform: translateX(4px);
    color: var(--tak-color);
}

@media (max-width: 600px) {
    .lid-takken-timeline::before { left: 15px; }
    .lid-tak-dot { width: 32px; height: 32px; }
    .lid-tak-card { gap: 14px; padding: 14px 12px; }
}

/* --- Steps section --- */
.lid-steps {
    background: var(--cream);
    padding: 70px 0 80px;
}

.lid-steps-track {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

/* Vertical connector */
.lid-steps-track::before {
    content: '';
    position: absolute;
    left: 27px;
    top: 28px;
    bottom: 28px;
    width: 2px;
    background: linear-gradient(to bottom, var(--magenta), var(--green));
    border-radius: 2px;
}

.lid-step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 22px 0;
    position: relative;
}

.lid-step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--magenta);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 16px rgba(214, 25, 110, 0.25);
}

.lid-step--done .lid-step-number {
    background: var(--green);
    box-shadow: 0 4px 16px rgba(46, 125, 50, 0.25);
}

.lid-step-body h4 {
    color: var(--dark);
    font-size: 1.1rem;
    margin-bottom: 6px;
    margin-top: 4px;
}

.lid-step-body p {
    color: var(--gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

@media (max-width: 600px) {
    .lid-step { gap: 16px; }
    .lid-step-number { width: 44px; height: 44px; font-size: 1.1rem; }
    .lid-steps-track::before { left: 21px; }
}

/* --- Form section --- */
.lid-form-section {
    background: var(--white);
    padding: 70px 0 80px;
}

.lid-form-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    max-width: 680px;
    margin: 0 auto 36px;
    padding: 32px 36px;
    background: linear-gradient(135deg, var(--magenta-dark), var(--magenta));
    border-radius: 20px;
    color: #fff;
}

.lid-form-header-icon {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lid-form-header h2 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.lid-form-header p {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    line-height: 1.6;
}

.lid-form-wrapper {
    max-width: 780px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
    padding: 12px;
}

.lid-form-iframe {
    border: none;
    border-radius: 14px;
    display: block;
    width: 100%;
}

@media (max-width: 600px) {
    .lid-form-header {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 28px 24px;
    }
    .lid-form-wrapper { padding: 6px; border-radius: 14px; }
}

/* --- FAQ section --- */
.lid-faq {
    background: var(--cream);
    padding: 70px 0 60px;
}

.lid-faq-list {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lid-faq-item {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    transition: box-shadow 0.2s;
}

.lid-faq-item[open] {
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}

.lid-faq-item summary {
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    color: var(--dark);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: background 0.2s;
}

.lid-faq-item summary::-webkit-details-marker { display: none; }

.lid-faq-item summary:hover {
    background: var(--cream);
}

.lid-faq-chevron {
    flex-shrink: 0;
    color: var(--gray-light);
    transition: transform 0.3s;
}

.lid-faq-item[open] .lid-faq-chevron {
    transform: rotate(180deg);
    color: var(--magenta);
}

.lid-faq-answer {
    padding: 0 24px 20px;
    color: var(--gray);
    line-height: 1.8;
    font-size: 0.95rem;
}

.lid-faq-more {
    text-align: center;
    margin-top: 28px;
}

.lid-faq-more a {
    color: var(--magenta);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.lid-faq-more a:hover {
    gap: 10px;
}

/* --- Contact CTA → footer --- */
.lid-contact-cta {
    background: var(--magenta);
    color: #fff;
    text-align: center;
    padding: 80px 20px;
    position: relative;
}

.lid-contact-inner {
    max-width: 540px;
    margin: 0 auto;
}

.lid-contact-icon {
    margin-bottom: 16px;
    opacity: 0.85;
}

.lid-contact-cta h2 {
    color: #fff;
    margin-bottom: 12px;
}

.lid-contact-cta p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: 28px;
    line-height: 1.7;
}

.lid-contact-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.lid-contact-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ========== NATURE / SCOUTS THEME ========== */

/* Subtle leaf pattern background for sections */
.section-nature {
    position: relative;
}
.section-nature::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 5c-5 8-15 12-15 20s8 15 15 15 15-7 15-15S35 13 30 5z' fill='%232e7d32' opacity='0.02'/%3E%3C/svg%3E") repeat;
    pointer-events: none;
}

/* Organic wave dividers between sections */
.nature-wave-green {
    position: relative;
    height: 60px;
    background: var(--cream);
    overflow: hidden;
}
.nature-wave-green::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%23f5f0eb' d='M0,30 C180,60 360,0 540,30 C720,60 900,0 1080,30 C1260,60 1350,15 1440,30 L1440,60 L0,60 Z'/%3E%3C/svg%3E");
    background-size: cover;
}

/* Forest-inspired section transitions */
.section-forest-top {
    position: relative;
}
.section-forest-top::before {
    content: '';
    position: absolute;
    top: -40px; left: 0; right: 0;
    height: 40px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40'%3E%3Cpath fill='%232e7d32' opacity='0.06' d='M0,40 L60,40 L60,25 L30,0 L0,25 Z M100,40 L180,40 L180,15 L140,0 L100,15 Z M220,40 L280,40 L280,28 L250,3 L220,28 Z M320,40 L400,40 L400,12 L360,0 L320,12 Z M440,40 L500,40 L500,30 L470,5 L440,30 Z M540,40 L620,40 L620,18 L580,0 L540,18 Z M660,40 L720,40 L720,24 L690,2 L660,24 Z M760,40 L840,40 L840,14 L800,0 L760,14 Z M880,40 L940,40 L940,28 L910,3 L880,28 Z M980,40 L1060,40 L1060,16 L1020,0 L980,16 Z M1100,40 L1160,40 L1160,25 L1130,0 L1100,25 Z M1200,40 L1280,40 L1280,12 L1240,0 L1200,12 Z M1320,40 L1380,40 L1380,28 L1350,3 L1320,28 Z M1400,40 L1440,40 L1440,18 L1420,0 L1400,18 Z'/%3E%3C/svg%3E") repeat-x;
    background-size: auto 100%;
    pointer-events: none;
}

/* Campfire glow accent for important sections */
.glow-campfire {
    box-shadow: 0 10px 40px rgba(214, 25, 110, 0.08), 0 0 80px rgba(255, 152, 0, 0.04);
}

/* Nature-themed card variant */
.card-woodland {
    border-left: 4px solid var(--green);
    background: linear-gradient(135deg, var(--white) 0%, #f8fdf8 100%);
}

/* Leaf corner decoration for featured cards */
.card-leaf::after {
    content: '';
    position: absolute;
    top: -2px; right: -2px;
    width: 40px; height: 40px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M40 0C25 0 10 10 5 25c5-5 12-8 20-10C20 20 12 28 8 35c8-3 16-8 22-15C33 15 37 8 40 0z' fill='%232e7d32' opacity='0.08'/%3E%3C/svg%3E") no-repeat;
    pointer-events: none;
}

/* Organic border radius variations */
.organic-shape { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }

/* Earth-toned section backgrounds */
.bg-forest { background: linear-gradient(160deg, var(--black) 0%, #1a2e1a 50%, #0d1f0d 100%); }
.bg-earth { background: var(--cream); }
.bg-moss { background: linear-gradient(135deg, #f0f7f0 0%, #e8f5e9 100%); }



/* Twig/branch underline for section titles */
.section-title-nature h2 {
    position: relative;
    display: inline-block;
}
.section-title-nature h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--green), var(--magenta), var(--green), transparent);
    border-radius: 2px;
}
