/* ===== CSS VARIABLES ===== */
:root {
    --green-dark:  #2d6a2d;
    --green-mid:   #4a8c3f;
    --green-light: #6ab04c;
    --amber:       #e0a020;
    --teal:        #1a8a7a;
    --orange:      #d4600a;
    --dark:        #1e2022;
    --gray:        #6b7280;
    --light-gray:  #f4f6f4;
    --white:       #ffffff;
    --border:      #dde4d8;
    --shadow:      0 2px 12px rgba(0,0,0,0.08);
    --shadow-md:   0 4px 20px rgba(0,0,0,0.12);
    --radius:      12px;
    --radius-sm:   8px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark);
    background: #eef2e8;
    background-image: radial-gradient(circle at 5% 30%, rgba(74,140,63,0.08) 0%, transparent 50%),
                      radial-gradient(circle at 95% 70%, rgba(224,160,32,0.06) 0%, transparent 50%);
    min-height: 100vh;
}
a { color: var(--green-mid); text-decoration: none; }
a:hover { color: var(--green-dark); text-decoration: underline; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
.site-header {
    background: #2d6a2d;
    border-bottom: 4px solid #e0a020;
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 16px 0;
    min-height: 90px;
}

/* Logo */
.header-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.header-logo-link:hover {
    opacity: 0.9;
    transform: scale(1.02);
}
.header-logo-img {
    height: 70px;
    width: auto;
    display: block;
}

/* Activiteiten iconen midden */
.header-activiteiten {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.hact-item {
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.15);
    border-radius: 14px;
    cursor: default;
    transition: transform 0.2s ease, background 0.2s;
    border: 2px solid rgba(255,255,255,0.2);
}
.hact-item:hover {
    transform: translateY(-4px) scale(1.12);
    background: rgba(255,255,255,0.28);
}

/* Info rechts */
.header-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-shrink: 0;
    text-align: right;
}
.hinfo-item {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: flex-end;
}
.hinfo-item strong { color: #fff; }

/* Dark mode */
[data-theme="dark"] .site-header { background: #1a3d1a; border-bottom-color: #b07a10; }
[data-theme="dark"] .header-emblem { background: #e8f5e8; }
[data-theme="dark"] .header-emblem-letter { color: #1a3d1a; }

/* Responsive */
@media (max-width: 900px) {
    .header-info { display: none; }
}
@media (max-width: 650px) {
    .header-activiteiten { gap: 6px; }
    .hact-item { width: 40px; height: 40px; font-size: 22px; border-radius: 10px; }
    .header-logo-img { height: 54px; }
}
@media (max-width: 480px) {
    .header-activiteiten { display: none; }
    .header-inner { padding: 12px 0; min-height: 70px; }
    .header-logo-img { height: 46px; }
}

/* ===== NAV ===== */
.main-nav {
    background: white;
    border-bottom: 3px solid var(--green-light);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.main-nav .container { position: relative; }
.nav-list {
    display: flex;
    gap: 0;
    list-style: none;
}
.nav-link {
    display: block;
    padding: 16px 22px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.2s;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
}
.nav-link:hover, .nav-link.active {
    color: var(--green-mid);
    border-bottom-color: var(--green-mid);
    background: var(--light-gray);
    text-decoration: none;
}
.nav-external { color: var(--gray); }
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;
    flex-direction: column;
    gap: 5px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: all 0.3s;
}

/* ===== MAIN LAYOUT ===== */
.main-content { padding: 32px 0 48px; }
.layout-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 28px;
    align-items: start;
}

/* ===== PAGE TITLES ===== */
.page-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: 32px;
    color: var(--green-dark);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--green-light);
}

/* ===== HOME PAGE ===== */
.update-bar {
    background: var(--light-gray);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--gray);
    text-align: right;
    margin-bottom: 20px;
    font-style: italic;
}
.hero-banner {
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    border-radius: var(--radius);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    min-height: 160px;
}
.hero-logo-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 3px solid rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px;
}
.hero-logo-text {
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    color: white;
    font-size: 15px;
    line-height: 1.3;
}
.welcome-block {
    background: white;
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}
.welcome-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: 22px;
    color: var(--green-dark);
    margin-bottom: 12px;
    text-align: center;
}
.welcome-sub {
    text-align: center;
    font-size: 16px;
    margin-bottom: 20px;
    color: #333;
}
.info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 20px 0;
}
.info-card {
    background: var(--light-gray);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-align: center;
    border: 1px solid var(--border);
}
.info-icon { font-size: 28px; margin-bottom: 8px; }
.info-card p { font-size: 14px; }
.nav-hint {
    text-align: center;
    margin-top: 12px;
    font-size: 14px;
    color: var(--gray);
}
.text-link {
    color: var(--green-mid);
    font-weight: 600;
    text-decoration: underline;
}
.text-link:hover { color: var(--green-dark); }

/* Partners */
.partners-section {
    background: white;
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}
.partners-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 18px;
    text-align: center;
    margin-bottom: 20px;
    color: var(--dark);
}
.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.partner-card {
    text-align: center;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--light-gray);
}
.partner-logo { margin-bottom: 10px; }
.partner-hoeki {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
}
.hoeki-icon {
    width: 44px;
    height: 44px;
    background: #e07020;
    color: white;
    font-size: 22px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-family: 'Nunito', sans-serif;
}
.hoeki-text { text-align: left; }
.hoeki-name { display: block; font-weight: 800; font-size: 18px; color: #555; }
.hoeki-sub { display: block; font-size: 9px; letter-spacing: 1px; color: var(--gray); }
.participe-text { display: block; font-size: 22px; font-weight: 700; color: #333; }
.participe-amstelland { font-size: 11px; color: var(--green-mid); font-weight: 600; }
.gemeente-badge { font-size: 40px; }
.partner-role { font-size: 12px; color: var(--gray); margin-top: 6px; }

/* ===== ACTIVITEITEN PAGE ===== */
.page-intro {
    margin-bottom: 24px;
    color: #444;
    font-size: 15px;
}
.activities-grid {
    display: grid;
    gap: 14px;
    margin-bottom: 28px;
}
.activity-card {
    background: white;
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--border);
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}
.activity-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}
.activity-card--next { border-left-color: var(--green-light); background: #f0f8ee; }
.activity-badge {
    position: absolute;
    top: 10px;
    right: 12px;
    background: var(--green-mid);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}
.activity-icon { font-size: 32px; }
.activity-date { font-weight: 700; color: var(--green-dark); font-size: 15px; }
.activity-title { color: #444; font-size: 15px; }
.activity-info-box {
    background: white;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}
.activity-info-box h3 {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    margin-bottom: 14px;
    color: var(--green-dark);
}
.activity-info-box ul { display: grid; gap: 8px; }
.activity-info-box li { font-size: 15px; }

/* ===== INFORMATIE PAGE ===== */
.info-section {
    background: white;
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}
.info-section h2 {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: var(--green-dark);
    margin-bottom: 12px;
}
.info-section p { margin-bottom: 10px; color: #444; }
.info-section ul { display: grid; gap: 8px; margin: 12px 0; }
.info-section li { font-size: 15px; }
.btn-primary {
    display: inline-block;
    background: var(--green-mid);
    color: white;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 14px;
    margin-top: 10px;
    transition: background 0.2s;
    text-decoration: none;
    border: none;
    cursor: pointer;
}
.btn-primary:hover { background: var(--green-dark); color: white; text-decoration: none; }

/* ===== NIEUWS PAGE ===== */
.news-article {
    background: white;
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 18px;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--green-light);
}
.news-article-date {
    font-size: 12px;
    font-weight: 700;
    color: var(--green-mid);
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.news-article-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark);
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 24px;
    align-items: start;
}
.contact-info h2, .contact-form-wrap h2 {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: var(--green-dark);
    margin-bottom: 14px;
}
.contact-alert {
    background: #fff8e1;
    border: 1px solid #f0c040;
    border-radius: var(--radius-sm);
    padding: 14px;
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.6;
}
.contact-details { display: grid; gap: 8px; }
.contact-details li { font-size: 15px; }
.contact-form-wrap {
    background: white;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}
.contact-form { display: grid; gap: 16px; }
.form-group { display: grid; gap: 6px; }
.form-group label { font-weight: 600; font-size: 14px; color: #444; }
.form-group input,
.form-group textarea {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    color: var(--dark);
    transition: border-color 0.2s;
    width: 100%;
    background: white;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green-mid);
    box-shadow: 0 0 0 3px rgba(74,140,63,0.1);
}
.form-success {
    background: #e8f5e9;
    border: 1px solid var(--green-light);
    border-radius: var(--radius-sm);
    padding: 16px;
    color: var(--green-dark);
    font-weight: 600;
}
.form-errors {
    background: #ffeaea;
    border: 1px solid #e88;
    border-radius: var(--radius-sm);
    padding: 14px;
    margin-bottom: 14px;
}
.form-errors p { font-size: 14px; color: #c00; margin-bottom: 4px; }

/* ===== SIDEBAR ===== */
.sidebar-content { display: grid; gap: 14px; }
.sidebar-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.card-header {
    padding: 10px 14px;
    font-weight: 700;
    font-size: 13px;
    background: var(--green-dark);
    color: white;
    letter-spacing: 0.3px;
}
.card-header--orange { background: var(--orange); }
.card-header--teal   { background: var(--teal); }
.card-header--dark   { background: #3a3a3a; }
.card-header--gray   { background: #6b7280; }
.card-body { padding: 14px; font-size: 13.5px; line-height: 1.6; color: #444; }
.card-body p { margin-bottom: 8px; }
.card-body p:last-child { margin-bottom: 0; }
.btn-more {
    display: block;
    margin-top: 10px;
    color: var(--teal);
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
}
.btn-more:hover { text-decoration: underline; color: var(--green-dark); }
.activity-list { display: grid; gap: 8px; }
.activity-list li { font-size: 13.5px; }
.news-list { display: grid; gap: 7px; }
.news-list li { font-size: 13px; }
.news-date {
    display: inline-block;
    background: var(--light-gray);
    border-radius: 4px;
    padding: 1px 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--gray);
    margin-right: 4px;
}
/* Weather card */
.weather-body { padding: 16px; text-align: center; }
.weather-icon-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 4px;
}
.weather-main-icon { font-size: 40px; line-height: 1; }
.weather-main-temp {
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: 42px;
    color: var(--dark);
    line-height: 1;
}
.weather-omschrijving {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.weather-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 10px;
}
.weather-detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    background: var(--light-gray);
    border-radius: 8px;
    padding: 8px 4px;
}
.wd-icon { font-size: 14px; }
.wd-val { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 13px; color: var(--dark); }
.wd-label { font-size: 10px; color: var(--gray); }
.weather-neerslag {
    font-size: 12px;
    color: #1a8a7a;
    font-weight: 600;
    margin-bottom: 8px;
}
.weather-credit { font-size: 10px; color: #bbb; margin-top: 4px; }
.weather-error { font-size: 13px; color: #aaa; padding: 8px 0; }
/* Jubileum */
.jubileum-body { text-align: center; }
.jubileum-badge {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--amber), #f0c040);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: 28px;
    color: white;
    margin: 0 auto 10px;
    box-shadow: 0 4px 12px rgba(224,160,32,0.4);
}

/* ===== FOOTER ===== */
.site-footer {
    background: #0d1f0d;
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 20px 0;
    margin-top: 20px;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.footer-brand { display: flex; flex-direction: column; gap: 2px; }
.footer-logo { font-family: "Nunito", sans-serif; font-weight: 900; font-size: 16px; color: #fff; }
.footer-tagline { font-size: 11px; color: rgba(255,255,255,0.35); }
.footer-links { display: flex; gap: 20px; }
.footer-link { color: rgba(255,255,255,0.45); font-size: 13px; font-weight: 500; transition: color 0.2s; text-decoration: none; }
.footer-link:hover { color: var(--green-light); text-decoration: none; }
.footer-copy { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.footer-copy span { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-hoeki { font-size: 11px; }
@media (max-width: 600px) {
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
    .footer-copy { align-items: center; }
}



/* ===== ACTIVITEITEN PAGINA — uitgebreid ===== */
.act-intro-block {
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 4px solid var(--green-mid);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.act-sectie-titel {
    font-family: "Nunito", sans-serif;
    font-weight: 900;
    font-size: 1.15rem;
    color: var(--green-dark);
    margin: 28px 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Vaste activiteiten grid */
.act-kaarten-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 14px;
}
.act-kaart {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: box-shadow 0.2s, transform 0.2s;
}
.act-kaart:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.act-kaart--carnaval {
    border-top: 3px solid var(--amber);
    background: linear-gradient(135deg, #fffbf0 0%, var(--white) 100%);
}
.act-kaart--inactief {
    opacity: 0.55;
    background: #f8f8f8;
    border-style: dashed;
    margin-bottom: 8px;
}
.act-kaart--inactief:hover { transform: none; box-shadow: none; }
.act-kaart-icon {
    font-size: 2.2rem;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: var(--light-gray);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.act-kaart-icon--grijs { filter: grayscale(1); }
.act-kaart-body h3 {
    font-family: "Nunito", sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.act-kaart-body p { font-size: 13.5px; color: var(--gray); line-height: 1.55; margin-bottom: 8px; }
.act-kaart-sub { font-size: 12px !important; font-weight: 700; color: var(--green-dark) !important; }
.act-inactief-tekst { font-size: 13px !important; color: #aaa !important; }
.act-badge-maand {
    font-size: 11px;
    font-weight: 700;
    background: var(--amber);
    color: #1e2022;
    padding: 2px 8px;
    border-radius: 10px;
    vertical-align: middle;
}
.act-badge-inactief {
    font-size: 11px;
    font-weight: 700;
    background: #ddd;
    color: #666;
    padding: 2px 8px;
    border-radius: 10px;
    vertical-align: middle;
}
.act-lijst {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.act-lijst li {
    font-size: 13px;
    color: var(--dark);
    padding: 3px 0;
}

/* Buiten activiteiten */
.act-buiten-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}
.act-buiten-kaart {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    transition: box-shadow 0.2s, transform 0.2s;
}
.act-buiten-kaart:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.act-buiten-kaart--uitje { border-top: 3px solid var(--teal); }
.act-buiten-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.act-buiten-icon {
    font-size: 2rem;
    width: 48px;
    height: 48px;
    background: var(--light-gray);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.act-buiten-header h3 {
    font-family: "Nunito", sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 2px;
}
.act-buiten-freq {
    font-size: 11px;
    font-weight: 700;
    color: var(--green-mid);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.act-buiten-kaart p { font-size: 13.5px; color: var(--gray); line-height: 1.55; }
.act-prijs-info {
    margin-top: 12px;
    background: var(--light-gray);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.act-prijs-opmerking { font-size: 12px; color: var(--gray); font-style: italic; }

/* Dark mode */
[data-theme="dark"] .act-intro-block { background: #161e16; border-color: #2e3d2e; }
[data-theme="dark"] .act-kaart { background: #161e16; border-color: #2e3d2e; }
[data-theme="dark"] .act-kaart--carnaval { background: linear-gradient(135deg, #1e1a0a 0%, #161e16 100%); }
[data-theme="dark"] .act-kaart--inactief { background: #111; border-color: #2e3d2e; }
[data-theme="dark"] .act-kaart-icon { background: #1a2a1a; }
[data-theme="dark"] .act-kaart-body h3 { color: #e8ede8; }
[data-theme="dark"] .act-kaart-body p { color: #9aa89a; }
[data-theme="dark"] .act-lijst li { color: #d8e4d8; }
[data-theme="dark"] .act-buiten-kaart { background: #161e16; border-color: #2e3d2e; }
[data-theme="dark"] .act-buiten-icon { background: #1a2a1a; }
[data-theme="dark"] .act-buiten-header h3 { color: #e8ede8; }
[data-theme="dark"] .act-buiten-kaart p { color: #9aa89a; }
[data-theme="dark"] .act-prijs-info { background: #1a2a1a; }
[data-theme="dark"] .act-sectie-titel { border-color: #2e3d2e; }

/* Responsive */
@media (max-width: 860px) {
    .act-buiten-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .act-kaarten-grid { grid-template-columns: 1fr; }
    .act-buiten-grid  { grid-template-columns: 1fr; }
}

/* ===== DROPDOWN SUBMENU ===== */
.nav-item-dropdown {
    position: relative;
}
.nav-link-dropdown {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-arrow {
    font-size: 10px;
    transition: transform 0.2s ease;
    opacity: 0.6;
}
.nav-item-dropdown:hover .nav-arrow {
    transform: rotate(180deg);
}
.nav-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: white;
    border: 1px solid var(--border);
    border-top: 3px solid var(--green-mid);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 200;
    list-style: none;
    padding: 4px 0;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    pointer-events: none;
}
.nav-item-dropdown:hover .nav-submenu {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
/* Firefox/Safari: display:block blokt transition, truc via animatie */
@keyframes submenuIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.nav-item-dropdown:hover .nav-submenu {
    animation: submenuIn 0.18s ease forwards;
}
.nav-sub-link {
    display: block;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}
.nav-sub-link:hover,
.nav-sub-link.active {
    background: var(--light-gray);
    color: var(--green-mid);
    text-decoration: none;
}
.nav-sub-link.active {
    border-left: 3px solid var(--green-mid);
    padding-left: 15px;
}

/* Dark mode submenu */
[data-theme="dark"] .nav-submenu {
    background: #111a11;
    border-color: #2e3d2e;
    border-top-color: var(--green-mid);
}
[data-theme="dark"] .nav-sub-link { color: rgba(255,255,255,0.75); }
[data-theme="dark"] .nav-sub-link:hover,
[data-theme="dark"] .nav-sub-link.active {
    background: rgba(74,173,74,0.1);
    color: #7dd46c;
}

/* Mobiel: submenu inline uitklappen */
@media (max-width: 768px) {
    .nav-submenu {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        border-left: 3px solid var(--green-light);
        border-radius: 0;
        margin-left: 16px;
        opacity: 1;
        transform: none;
        animation: none;
        pointer-events: auto;
    }
    .nav-item-dropdown.open .nav-submenu { display: block; }
    .nav-item-dropdown:hover .nav-submenu { display: none; }
    .nav-item-dropdown.open .nav-submenu { display: block; }
    .nav-item-dropdown.open .nav-arrow { transform: rotate(180deg); }
    .nav-sub-link { padding: 12px 20px; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .layout-grid { grid-template-columns: 1fr; }
    .sidebar { order: 2; }
    .info-cards { grid-template-columns: 1fr; }
    .partners-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-right { text-align: center; }
    .header-images .img-feest, .header-images .img-bolder { display: none; }
    .nav-toggle { display: flex; }
    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: white;
        box-shadow: var(--shadow-md);
        z-index: 200;
    }
    .nav-list.open { display: flex; }
    .nav-link { padding: 14px 20px; border-bottom: 1px solid var(--border); }
}
@media (max-width: 480px) {
    .page-title { font-size: 24px; }
    .welcome-title { font-size: 18px; }
    .hero-banner { min-height: 100px; padding: 24px; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
.content-area > * { animation: fadeUp 0.4s ease both; }
.content-area > *:nth-child(2) { animation-delay: 0.05s; }
.content-area > *:nth-child(3) { animation-delay: 0.1s; }
.content-area > *:nth-child(4) { animation-delay: 0.15s; }

/* ============================================================
   DONKERE MODUS
   ============================================================ */
[data-theme="dark"] {
    --green-dark:  #4aad4a;
    --green-mid:   #5dbf5d;
    --green-light: #7dd46c;
    --amber:       #f0b830;
    --dark:        #e8ede8;
    --gray:        #9aa89a;
    --light-gray:  #1e2a1e;
    --white:       #161e16;
    --border:      #2e3d2e;
    --shadow:      0 2px 12px rgba(0,0,0,0.3);
    --shadow-md:   0 4px 20px rgba(0,0,0,0.4);
}
[data-theme="dark"] body {
    background: #0f1a0f;
    background-image: radial-gradient(circle at 5% 30%, rgba(74,173,74,0.06) 0%, transparent 50%),
                      radial-gradient(circle at 95% 70%, rgba(240,184,48,0.04) 0%, transparent 50%);
    color: #e8ede8;
}
[data-theme="dark"] .site-header { background: #0a110a; }
[data-theme="dark"] .main-nav    { background: #111a11; border-color: #1e2e1e; }
[data-theme="dark"] .nav-link    { color: rgba(255,255,255,0.7); }
[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active { color: #7dd46c; background: rgba(74,173,74,0.12); }
[data-theme="dark"] .sidebar-card,
[data-theme="dark"] .activity-card,
[data-theme="dark"] .nieuws-kaart,
[data-theme="dark"] .nd-kaart,
[data-theme="dark"] .info-card,
[data-theme="dark"] .contact-form-wrap,
[data-theme="dark"] .contact-info { background: #161e16; border-color: #2e3d2e; color: #e8ede8; }
[data-theme="dark"] .nd-body { background: #161e16; color: #d8e4d8; }
[data-theme="dark"] .nd-body blockquote { background: #1a2a1a; }
[data-theme="dark"] .nd-body .wp-block-audio { background: #1a2a1a; border-color: #2e3d2e; }
[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select {
    background: #0f1a0f !important;
    border-color: #2e3d2e !important;
    color: #e8ede8 !important;
}
[data-theme="dark"] .activity-info-box { background: #1a2a1a; border-color: #2e3d2e; }
[data-theme="dark"] .weather-detail-item { background: #1a2a1a; }
[data-theme="dark"] .hero-banner { background: linear-gradient(135deg, #0a2a0a 0%, #163016 100%); }
[data-theme="dark"] .page-title { color: #7dd46c; }
[data-theme="dark"] .site-footer { background: #060e06; border-color: rgba(255,255,255,0.05); }
[data-theme="dark"] .header-pill { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.08); }

/* Dark mode toggle knop */
.dark-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--white);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.3s ease;
    color: var(--dark);
}
.dark-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 6px 24px rgba(0,0,0,0.18);
}
[data-theme="dark"] .dark-toggle {
    background: #1e2a1e;
    border-color: #3a4d3a;
}

/* ============================================================
   PAGINA ANIMATIES — verbeterd
   ============================================================ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* Pagina-inhoud staggered fade-in */
.content-area > * {
    animation: fadeUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.content-area > *:nth-child(1) { animation-delay: 0.05s; }
.content-area > *:nth-child(2) { animation-delay: 0.12s; }
.content-area > *:nth-child(3) { animation-delay: 0.19s; }
.content-area > *:nth-child(4) { animation-delay: 0.26s; }
.content-area > *:nth-child(5) { animation-delay: 0.33s; }

/* Sidebar animatie */
.sidebar { animation: slideInLeft 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both; }

/* Kaarten hover animatie */
.activity-card,
.nieuws-kaart,
.info-card,
.sidebar-card {
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.25s ease;
}
.activity-card:hover,
.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.14);
}

/* Header animate in */
.site-header { animation: fadeIn 0.4s ease both; }
.main-nav { animation: fadeIn 0.4s ease 0.1s both; }

/* Scroll-reveal klasse (toegevoegd via JS) */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   BETERE MOBIELE WEERGAVE
   ============================================================ */

/* Mobiel: sticky nav */
@media (max-width: 768px) {
    .main-nav {
        position: sticky;
        top: 0;
        z-index: 100;
        box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    }

    /* Groter hamburgermenu */
    .nav-toggle {
        width: 44px;
        height: 44px;
        padding: 10px;
    }
    .nav-toggle span {
        height: 2.5px;
        border-radius: 2px;
    }

    /* Volledig scherm mobiel menu */
    .nav-list.open {
        box-shadow: 0 8px 32px rgba(0,0,0,0.15);
        border-radius: 0 0 12px 12px;
    }
    .nav-link {
        font-size: 16px;
        padding: 16px 24px;
    }

    /* Header compacter op mobiel */
    .header-inner { flex-wrap: nowrap; }
    .logo-badge { width: 70px; height: 70px; }
    .logo-text { font-size: 11px; }

    /* Activiteiten kaarten mobiel */
    .activity-card {
        flex-direction: column;
        text-align: center;
    }
    .activity-icon { font-size: 2.5em; margin-bottom: 8px; }

    /* Grid → 1 kolom op telefoon */
    .activities-grid { grid-template-columns: 1fr; }
    .nieuws-grid     { grid-template-columns: 1fr; }
    .info-cards      { grid-template-columns: 1fr; }

    /* Kalender mobiel */
    .cal-grid { font-size: 12px; }
    .cal-day  { min-height: 36px; padding: 4px 2px; }
    .cal-day-num { font-size: 11px; }

    /* Contactformulier */
    .contact-grid { grid-template-columns: 1fr; }

    /* Dark toggle iets kleiner op mobiel */
    .dark-toggle { width: 42px; height: 42px; font-size: 18px; bottom: 16px; right: 16px; }

    /* Betere touch targets */
    input, textarea, select, button, .btn-primary {
        font-size: 16px !important; /* voorkomt iOS zoom */
        min-height: 44px;
    }

    /* Inhoud padding */
    .nd-header, .nd-body { padding: 18px 16px; }
}

@media (max-width: 480px) {
    .container { padding: 0 12px; }
    .page-title { font-size: 22px; }
    .hero-banner { padding: 20px 16px; min-height: 80px; }
    .uitgelicht-titel { font-size: 18px; }
    .nd-titel { font-size: 20px; }
    .footer-grid { gap: 10px; }
}

/* ============================================================
   KALENDERWEERGAVE ACTIVITEITEN
   ============================================================ */
.cal-wrap { margin-bottom: 24px; }
.cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
    border-radius: 12px 12px 0 0;
    color: white;
}
.cal-header h2 {
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: 18px;
    text-transform: capitalize;
}
.cal-nav-btn {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.15s;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}
.cal-nav-btn:hover { background: rgba(255,255,255,0.35); }
.cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: rgba(45,106,45,0.08);
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
}
.cal-weekday {
    text-align: center;
    padding: 8px 4px;
    font-size: 11px;
    font-weight: 700;
    color: var(--green-dark);
    text-transform: uppercase;
    letter-spacing: .5px;
}
.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    background: var(--white);
}
.cal-day {
    min-height: 52px;
    padding: 6px 8px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    transition: background 0.15s;
}
.cal-day:nth-child(7n) { border-right: none; }
.cal-day.other-month { background: rgba(0,0,0,0.02); }
.cal-day.today { background: rgba(74,140,63,0.08); }
.cal-day.today .cal-day-num {
    background: var(--green-dark);
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}
.cal-day-num {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray);
    margin-bottom: 2px;
    line-height: 1;
}
.cal-day.other-month .cal-day-num { color: #ccc; }
.cal-event-dot {
    display: block;
    background: var(--green-mid);
    color: white;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 3px;
    margin-top: 2px;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    transition: background 0.15s;
}
.cal-event-dot:hover { background: var(--green-dark); }
.cal-event-dot.activity-next { background: var(--amber); color: #1e2022; }
[data-theme="dark"] .cal-grid { background: #161e16; }
[data-theme="dark"] .cal-day  { border-color: #2e3d2e; }
[data-theme="dark"] .cal-day.other-month { background: rgba(255,255,255,0.02); }
[data-theme="dark"] .cal-weekdays { background: rgba(74,173,74,0.06); border-color: #2e3d2e; }
[data-theme="dark"] .cal-day-num  { color: #9aa89a; }

/* ============================================================
   CONTACTFORMULIER — verbeterd
   ============================================================ */
.contact-form .form-group { margin-bottom: 16px; }
.contact-form label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    color: var(--dark);
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--green-mid);
    box-shadow: 0 0 0 3px rgba(74,140,63,0.12);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .onderwerp-select { margin-bottom: 16px; }
.form-honeypot { display: none !important; }
.form-success {
    background: rgba(74,140,63,0.1);
    border: 1.5px solid var(--green-mid);
    border-radius: 10px;
    padding: 18px 20px;
    color: var(--green-dark);
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    animation: fadeUp 0.4s ease both;
}
.form-errors {
    background: rgba(212,96,10,0.08);
    border: 1.5px solid var(--orange);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--orange);
    font-size: 14px;
    margin-bottom: 16px;
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green-dark);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 28px;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-primary:hover {
    background: var(--green-mid);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(74,140,63,0.3);
}
