@charset "UTF-8";

/* ====== BASIS ====== */
:root {
    --page-max: 1100px;
    --brand-green: #2E7066;
}

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

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    scroll-padding-top: 100px;
}

p {
    color: #1B5C50;
    font-family: Barlow;
    font-weigt: 300;
}

p1 {
    color: #1B5C50;
    font-family: Roboto;
    font-weight: 300;
}

h2 {
    color: #1B5C50;
    font-family: Istok Web;
    font-weight: 400;
    font-size: 1.35rem;
}

h3 {
    color: #1B5C50;
    font-family: Istok Web;
    font-weight: 500;
}

.subtitle2 {
    font-family: Barlow;
    font-size: 1.75rem;
    font-weight: 500;
    color: #1B5C50;
    padding-bottom: 1rem;
    text-align: center;
    margin-top: 6rem;

}

.subtitle3 {
    font-family: Barlow;
    font-size: 1.75rem;
    font-weight: 500;
    color: #1B5C50;
    padding-bottom: 1rem;
    text-align: center;
    margin-top: 6rem;
    margin-bottom: 4rem;


}

.subtitle {
    font-family: Istok Web;
    font-weight: 400;
    font-size: 1.5rem;
    color: #1B5C50;
    padding-bottom: 1rem;
    text-align: center;
}

#missienav,
#overons,
#wie,
#boek,
#media,
#contact {
    padding: 2rem;
    box-shadow: 0px 4px 10px rgba(76, 133, 80, .2);
    max-width: var(--page-max);
    margin: 0rem auto 5rem;
    text-align: center;
    border-radius: 1rem;
    background-color: rgb(255, 255, 255, 0.5);
}
.video-wrap {
    position: relative;
}

.unmute-btn {
    position: absolute;
    inset: 1rem 1rem auto auto;
    padding: .4rem .7rem;
    border: 0;
    border-radius: .4rem;
    background: rgba(27, 92, 80, .6);
    color: #fff;
    font-weight: 400;
    font-style: Roboto;
    cursor: pointer;
}

.unmute-btn.is-hidden {
    display: none;
}

#missie.show {
    display: block;
}

#missie p {
    margin: 0 10%;
}


body {
    background-color: #F3EDE3;
    margin: 0;
    font-family: Manjari, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3000;
    background: #C9F3B3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}


.navbar {
    height: 72px;
    background-color: rgba(69, 140, 85, 0.59);
    background-blend-mode: overlay;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 5rem 2.5rem;
    margin: 0;
    padding: 0;
}


.navbar li {
    white-space: nowrap;
}



.navbar a {
    text-decoration: none;
    font-family: Barlow;
    font-size: 1.15rem;
    font-weight: 500;
    color: white;
    letter-spacing: 0.03em;
    transition: color 0.2s ease, border-color 0.2s ease;
    padding: 0.25rem 0;
}


.navbar a:hover {
    color: #ffcc30;
}

/* ====== PAGINA-RUIMTE ONDER DE BALK ====== */

body {
    padding-top: 72px;
}

html,
body {
    scroll-padding-top: 72px;
}

/* ====== MOBIEL ====== */
@media (max-width: 900px) {
    .navbar ul {
        gap: 0.5rem 1.5rem;
        padding: 0.25rem 0.5rem;
    }

    .navbar a {
        font-size: 1rem;
    }
}

@media (min-width: 900px) {
    .navbar ul {
        gap: 1rem 5rem;
        padding: 1rem 2rem;
    }

    .navbar ul li a {
        font-size: 1.15rem;
        letter-spacing: 0.03em;
        /* subtiel luchtiger */
    }
}

/* ====== SECTION / ANKER ====== */
section {
    scroll-margin-top: 3rem;
}

/* ====== HERO (video + slogan + nieuws) ====== */
.hero-main {
    height: auto;
    overflow: hidden;
    max-width: 100vw;
}

.hero-main video {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    display: block;
}

.btn {
    display: inline-block;
    padding: .7rem 1rem;
    border-radius: .5rem;
    background: var(--brand-green);
    color: #fff;
    text-decoration: none;
}

/* Nieuwsblok (desktop basis) */
.hero-news {
    background-color: rgb(255, 255, 255, 0.5);
    padding: 1.5rem 2rem;
    border-radius: .75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
    max-width: 1100px;
    width: calc(100% - 4rem);
    margin: 5rem auto;
}

.news-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.news-head h2 {
    margin: 0;
    font-size: 1.3rem;
    text-align: center;
}

.news-nav {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.news-nav button {
    border: 0;
    padding: .35rem .6rem;
    border-radius: .5rem;
    cursor: pointer;
    background: var(--brand-green);
    color: #fff;
    font-size: 1.1rem;
}

.news-nav button:hover {
    background-color: #FFCD38;
}

.news-index {
    min-width: 3.5rem;
    text-align: center;
    color: #2E7066;
    opacity: 1;
    font-family: Istok Web;
}

.news-date {
    margin: .15rem 0 .5rem;
    color: #005B4D;
    opacity: 1;
}

.news-title {
    margin: .25rem 0 .5rem;
    font-size: 1.1rem;
    color: #005B4D;
    font-family: Istok Web;
}

.news-body {
    line-height: 1.45;
    color: #2E7066;
    font-family: Istok Web;
}

.news-events {
    color: #2E7066;
    font-family: Istok Web;
}

.hero-news .news-events {
    padding: 0;
    margin: 0;
}

.hero-news .news-event {
    margin: 1.25rem 0 1.25rem 0;
    /* witruimte tussen 28 okt en 4 nov */
    line-height: 1.45;
}

.hero-news .news-event .ev-date,
.ev-time {
    font-weight: 400;
    /* need to change this */
    display: block;
    /* eigen regel */

}

.ev-extra,
.ev-place {
    display: block;
    font-family: Barlow;
}

.hero-news .news-body {
    white-space: pre-line;
    /* zorgt dat \n een nieuwe regel wordt */
}

.hero-news .news-event .ev-time,
.hero-news .news-event .ev-place,
.hero-news .news-event .ev-extra {
    /* alles onder elkaar */

}

/* ====== TITELS / SECTIEKADERS ====== */

/* ====== WIE (cards) ====== */
.row {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 1rem;
    align-items: stretch;
    justify-items: stretch;
}

.column {
    display: flex;
}

.card {
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .2);
    border-radius: 1rem;
    overflow: hidden;
}

.img-card {
    width: 100%;
    height: 500px;
    object-fit: cover;
    margin: 0;
    border-radius: 0;
}

.container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    flex: 1;
    background-color: rgb(255, 255, 255, 0.6);
}

.button {
    margin-top: auto;
    width: 100%;
    border: none;
    outline: 0;
    padding: 0.75rem;
    color: white;
    background-color: var(--brand-green);
    text-align: center;
    cursor: pointer;
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: background-color 0.2s;
}

.button:hover {
    background-color: #ffcc30;
}

.extra-text {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.extra-text.open {
    max-height: 500px;
}

.toggle-btn.active {
    background-color: #ffcc30;
}

.container::after,
.row::after {
    content: "";
    clear: both;
    display: table;
}

.title {
    color: grey;
}

/* ====== BOEK (cards) ====== */
.rowboek {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 1rem;
    margin-bottom: 5%;
}

.rowboek p {
    text-align: center;
}

.columnb {
    flex: 0 0 calc(50% - 0.5rem);
    max-width: calc(50% - 0.5rem);
    display: flex;
}

.cardb {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    padding: 16px;
    background: #f1f1f1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .2);
    background-color: rgb(255, 255, 255, 0.6);
    box-sizing: border-box;
    border-radius: 1rem;
}

.cardb a {
    display: block;
    width: 100%;
    text-decoration: none;
    border: none;
    padding: 0.75rem;
    color: #fff;
    background-color: var(--brand-green);
    text-align: center;
    cursor: pointer;
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: background-color .2s;
}

.cardb a:hover {
    background-color: #ffcc30;
}

.cardb p {
    margin-top: auto;
}

/* ====== MEDIA (gallery) ====== */
.section-box {
    max-width: var(--page-max);
    height: 100%;
    margin: 0rem auto 5rem;
    text-align: center;
    border-radius: 1rem;

}

#media .vjg-gallery {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    user-select: none;
}

#media .vjg-slide {
    display: none;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    box-shadow: 0px 1px 8px rgba(76, 133, 80, .2);
    background-color: rgb(255, 255, 255, 0.6);
    overflow: hidden;
    border-radius: .5rem;
}

#media .vjg-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

#media .vjg-number {
    position: absolute;
    top: .5rem;
    left: .5rem;
    background: var(--brand-green);
    color: #fff;
    font-size: .8rem;
    padding: .25rem .5rem;
    border-radius: .35rem;
}

#media .vjg-prev,
#media .vjg-next {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    padding: .6rem .8rem;
    font-weight: bold;
    font-size: 1.25rem;
    background-color: var(--brand-green);
    border: 0;
    border-radius: .5rem;
    cursor: pointer;
}

#media .vjg-prev {
    left: .5rem;
}

#media .vjg-next {
    right: .5rem;
    color: #fff;
}

#media .vjg-prev:hover,
#media .vjg-next:hover {
    background-color: #FFCD38;
}


#media .vjg-caption-text {
    margin: 0;
}

/* === THUMBS: horizontale balk + kleiner === */
#media .vjg-thumbs {
    display: flex;
    gap: .5rem;
    overflow-x: auto;
    margin-top: 1rem;
    padding: .25rem 0;
    scrollbar-width: thin;
    /* nice-to-have (Firefox) */
}

#media .vjg-thumb {
    flex: 0 0 auto;
    width: 180px;
    height: 120px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: .35rem;
    background: transparent;
    cursor: pointer;
    overflow: hidden;
}

#media .vjg-thumb.is-active {
    border-color: #FFCD38;
    /* actieve thumb zichtbaar */
}

#media .vjg-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* forceer horizontale crop (landscape look) */
    display: block;
}

/* mobiel net iets kleiner */
@media (max-width: 900px) {
    #media .vjg-thumb {
        width: 80px;
        height: 56px;
    }
}


/* ====== CONTACT ====== */
#contact {
    padding-bottom: 4rem;
    text-align: center;
    max-width: var(--page-max);
    margin: 0rem auto 5rem;
    border-radius: 1rem;
}

.contact-title {
    font-size: 2rem;
    color: #1B5C50;
    margin-bottom: 2rem;
}

.contact-line {
    margin: 0rem 0 0.5rem;
    font-size: 1.1rem;
}

.contact-line a {
    color: var(--brand-green);
    text-decoration: none;
    font-weight: 400;
}

.contact-line a:hover {
    text-decoration: underline;
}

.contact-icons {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.contact-icons img {
    width: 36px;
    height: 36px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.contact-icons img:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

/* ====== MEDIA QUERIES (mobiel/tablet) ====== */

@media (max-width: 900px) {
    .subtitle2 {
        font-size: 1.35rem;
        padding: 0 1rem;
        line-height: 1.35;
        margin-top: 2rem;
    }

    footer {
        padding: 0rem 1rem 6rem;
    }

    .hero-news {
        width: 90%;
        max-width: 600px;
        margin: 2rem auto;
        padding: 1.5rem;
        border-radius: .75rem;
    }

    .hero-news {
        margin-top: 2rem;
        margin-bottom: 4rem;
    }

    #missienav,
    #overons,
    #wie,
    #boek,
    #media,
    #contact {
        width: 90%;
        max-width: var(--page-max);
        margin: 0 auto 4rem;
        padding: 2rem 1rem;
        text-align: center;
        border-radius: 1rem;
    }

    .row {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .column,
    .card {
        width: 100%;
        max-width: 520px;
    }

    .img-card {
        max-height: 300px;
    }

    .rowboek {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .columnb,
    .cardb {
        width: 100%;
        max-width: 520px;
    }

    #media .vjg-gallery {
        max-width: 100%;
    }

    #media .vjg-thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    #media .vjg-thumb img {
        height: 72px;
    }

    .contact-icons {
        flex-wrap: wrap;
        gap: 1rem;
    }
}

@media (max-width: 900px) {
    #media .vjg-slide {
        height: 45vh;
        aspect-ratio: auto;
    }

    #media .vjg-slide img {
        object-fit: cover;
    }
}

.section-box,
#contact {
    margin-top: 0;
    margin-bottom: 4rem;
}

@media (max-width: 480px) {
    .news-head h2 {
        font-size: 1.35rem;
    }

    .news-body {
        font-size: .95rem;
    }

    .navbar ul {
        gap: .4rem .6rem;
    }
}