/* HERO HOME */
.hero {
    min-height: 100vh; display: flex; align-items: flex-start; position: relative;
    background: var(--klassiek-groen) url('../images/hero-lente.jpg') center/cover no-repeat;
    color: var(--white); padding: calc(var(--navbar-height) + 1.5rem) 5% 2rem;
}
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.3); }
.hero-content { position: relative; z-index: 2; width: 100%; }
.hero h1 { font-family: 'Playfair Display', serif; font-size: 3rem; margin-bottom: 2rem; }
.subtitle { color: var(--logo-licht); font-weight: 900; text-transform: uppercase; display: block; font-size: 1.5rem; }

/* TEKST CONTAINER */
.container { width: 90%; max-width: 900px; padding: 4rem 0; }
.container h2 { color: var(--logo-donker); font-family: 'Playfair Display', serif; font-size: 2.5rem; margin-bottom: 1rem; }
.container h1 { color: var(--logo-donker); font-family: 'Playfair Display', serif; font-size: 2.5rem; margin-bottom: 1rem; }
.container a { color: var(--logo-donker); }

/* ==========================================
   DASHBOARD & SOCIAL FEED (HOME)
   ========================================== */
.hero-dashboard {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: stretch;
    margin-top: 0;
}

.hero-copy {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    padding: 1.1rem 1.2rem;
    background: rgba(16, 43, 11, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    backdrop-filter: blur(8px);
}

.hero-intro {
    margin-bottom: 1rem;
    font-size: 1rem;
    max-width: 62ch;
}

.status-window {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.9rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.12);
}

.status-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-copy {
    display: grid;
    gap: 0.1rem;
}

.status-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 800;
    opacity: 0.9;
}

.status-text {
    font-size: 0.9rem;
    line-height: 1.4;
}

.status-compact {
    margin-left: auto;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.2);
}

.status-compact .status-text {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
}

.status-window.is-open .status-dot {
    background: #97d700;
    box-shadow: 0 0 0 5px rgba(151, 215, 0, 0.2);
}

.status-window.is-closed .status-dot {
    background: #f06c5b;
    box-shadow: 0 0 0 5px rgba(240, 108, 91, 0.2);
}

.button-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-feed-container .button-column {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: auto;
}

/* De knoppen-styling */
.btn-primary, .btn-secondary {
    display: block;
    background-color: #b9e87b !important;
    color: #35513a !important;
    border: 1px solid #a6d96b !important;
    padding: 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
    box-shadow: 0 3px 5px rgba(0,0,0,0.08);
}

.btn-primary:hover, .btn-secondary:hover {
    background-color: #c9ef94 !important;
    color: #2b4a32 !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.12);
}

/* Het Social Feed Vak */
.news-feed-container {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1); /* Semi-transparant wit */
    backdrop-filter: blur(15px); /* Het 'frosted glass' effect */
    border-radius: 30px;
    padding: 1.5rem;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    flex-direction: column;
}

.feed-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.feed-header p {
    font-size: 1rem;
    opacity: 0.9;
}

/* De Social Grid Voorbeeld */
.social-grid-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 1.5rem 0;
}

.img-box {
    aspect-ratio: 1/1; /* Altijd vierkant */
    position: relative;
    overflow: hidden;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    border: 1px dashed rgba(255,255,255,0.3);
    display: flex;
    align-items: flex-end;
    min-height: 250px;
}

.img-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 26, 8, 0.08) 0%, rgba(10, 26, 8, 0.85) 100%);
}

.img-box-copy,
.img-box-tag {
    position: relative;
    z-index: 1;
}

.img-box-copy {
    padding: 1.1rem;
}

.img-box-copy h2 {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin-bottom: 0.45rem;
}

.img-box-copy p {
    font-size: 0.82rem;
    line-height: 1.5;
    margin-bottom: 0.8rem;
}

.img-box-tag {
    position: absolute;
    top: 0.9rem;
    left: 0.9rem;
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.img-box-link,
.img-box-social-links a {
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
}

.img-box-social-links {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.img-box-news {
    background: url('../images/community.jpg') center/cover no-repeat;
}

.img-box-event {
    background: url('../images/focus-op-detail.jpg') center/cover no-repeat;
}

.img-box-social {
    background: url('../images/zomerse-pracht.jpg') center/cover no-repeat;
}

.events-page,
.contact-page {
    width: 100%;
    max-width: 1200px;
}

.events-subtitle {
    margin-bottom: 1rem;
}

.news-page {
    width: 100%;
    max-width: 1200px;
}

.news-subtitle {
    margin-bottom: 1rem;
}

.news-hero-copy {
    max-width: 780px;
    margin-bottom: 2.25rem;
}

.news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    grid-template-areas: "featured archive";
    gap: 1.25rem;
    align-items: start;
}

.news-featured {
    grid-area: featured;
}

.news-archive {
    grid-area: archive;
}

.news-archive,
.news-featured {
    border-radius: 24px;
    background-color: #f9fbf2;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    padding: 1.25rem;
}

.news-archive-list {
    list-style: none;
    display: grid;
    gap: 0.65rem;
    margin-top: 0.9rem;
}

.news-archive-list a {
    display: block;
    text-decoration: none;
    font-weight: 700;
    color: var(--logo-donker);
    padding: 0.7rem 0.8rem;
    border-radius: 14px;
    background-color: rgba(151, 215, 0, 0.12);
}

.news-archive-list a:hover {
    background-color: rgba(151, 215, 0, 0.25);
}

.news-featured-meta {
    color: #5f7a38;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
}

.news-featured-link {
    display: block;
    margin-top: 1rem;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 22px;
    overflow: hidden;
}

.news-featured-link img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.news-featured-link:hover img {
    transform: scale(1.02);
}

.events-hero-copy {
    max-width: 760px;
    margin-bottom: 3rem;
}

.events-calendar {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
    gap: 2rem;
    padding: 2rem;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(223, 244, 182, 0.35) 0%, rgba(255, 255, 255, 0.95) 100%);
    border: 1px solid rgba(72, 145, 0, 0.1);
    margin-bottom: 2.5rem;
}

.event-calendar-list {
    display: grid;
    gap: 1rem;
}

.calendar-item {
    padding: 1.25rem;
    border-radius: 20px;
    background-color: var(--white);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

.calendar-item h3 {
    color: var(--logo-donker);
    margin-bottom: 0.4rem;
}

.calendar-date,
.event-story-meta {
    color: #5f7a38;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.events-story-list {
    display: grid;
    gap: 1.75rem;
}

.event-story {
    display: grid;
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: stretch;
    padding: 1.25rem;
    border-radius: 28px;
    background-color: #f9fbf2;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.05);
}

.event-story-media img {
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
    border-radius: 20px;
}

.event-story-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-story-copy h2 {
    margin: 0.35rem 0 0.8rem;
}

.contact-page {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
    gap: 2rem;
    align-items: start;
}

.contact-copy {
    padding: 1.75rem;
    border-radius: 24px;
    background-color: #f9fbf2;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.05);
}

.contact-details {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.map-frame {
    min-height: 460px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 460px;
    border: 0;
}

.gallery-page {
    width: 100%;
    max-width: 1200px;
}

.gallery-copy {
    max-width: 760px;
    margin-bottom: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.gallery-item {
    margin: 0;
    border-radius: 22px;
    overflow: hidden;
    background-color: #f9fbf2;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.gallery-item figcaption {
    padding: 0.85rem 1rem;
    color: var(--logo-donker);
    font-weight: 700;
    font-size: 0.9rem;
}

.gallery-item-large {
    grid-column: span 2;
}

.gallery-item-large img {
    height: 360px;
}

.volunteers-page {
    width: 100%;
    max-width: 1200px;
}

.volunteers-subtitle {
    margin-bottom: 1rem;
}

.volunteers-hero-copy {
    max-width: 800px;
    margin-bottom: 2.25rem;
}

.volunteers-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.volunteer-card {
    background-color: #f9fbf2;
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.volunteer-card h2 {
    margin-bottom: 0.75rem;
}

.volunteer-list {
    display: grid;
    gap: 0.7rem;
    padding-left: 1.2rem;
}

.volunteer-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 10px;
    margin-bottom: 1.75rem;
}

.volunteer-photo {
    margin: 0;
    border-radius: 24px;
    overflow: hidden;
    background-color: #f9fbf2;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.volunteer-photo img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
}

.volunteer-photo figcaption {
    padding: 0.8rem 1rem;
    color: var(--logo-donker);
    font-weight: 700;
    font-size: 0.9rem;
}

.volunteer-contact {
    padding: 1.5rem;
    border-radius: 24px;
    border: 1px solid rgba(72, 145, 0, 0.18);
    background: linear-gradient(180deg, rgba(223, 244, 182, 0.42) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.volunteer-contact h2 {
    margin-bottom: 0.6rem;
}

/* Mobiele aanpassing voor het dashboard */
@media (max-width: 900px) {
    .hero-dashboard {
        grid-template-columns: 1fr; /* Alles onder elkaar */
        gap: 2rem;
    }

    .hero {
        padding-left: 5%;
        padding-right: 5%;
        padding-top: calc(var(--navbar-height) + 1rem);
    }

    .hero-copy {
        max-width: none;
    }

    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .social-grid-preview,
    .news-layout,
    .events-calendar,
    .event-story,
    .contact-page,
    .gallery-grid,
    .volunteers-grid,
    .volunteer-gallery {
        grid-template-columns: 1fr;
    }

    .news-feed-container .button-column {
        grid-template-columns: 1fr;
    }

    .map-frame,
    .map-frame iframe {
        min-height: 320px;
    }

    .news-layout {
        grid-template-areas:
            "featured"
            "archive";
    }
}