@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700&display=swap');

/* Algemeen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    line-height: 1.6;
    background-color: #f8f9fa;
    color: #333;
}

/* Header/Intro */
main {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

main img {
    width: 50vw;
    margin-bottom: 10vh;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

h2 {
    margin-top: 30px;
    font-size: 2rem;
    background: linear-gradient(90deg, #00B13F, #00693B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    width: 50vw;
    margin: 0 auto;
}

p {
    margin: 20px auto;
    font-size: 1.1rem;
    width: 50vw;
}

/* Zorgverleners Grid */
.zorgverleners {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
    justify-items: center;
}

/* Blokken */
/* Blokken */
.blok {
    position: relative;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    width: 30vw; /* breedte van blokken */
    max-width: 400px;
    height: 260px; /* vaste hoogte */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}


.blok:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
/* Image binnen blok */
.blok img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* Speciaal: Grotere afbeelding in .blok3 */
.blok3 img {
    width: 80%;
    height: auto;
    object-fit: contain;
    transform: scale(2.0);
}

.blok-link {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.fake-button {
    background-color: #00B13F;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    pointer-events: none; /* zodat klik naar link gaat, niet naar deze span */
}


/* Overlay met info en knop */
.info-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 105, 59, 0.95);
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.blok:hover .info-overlay {
    opacity: 1;
}

.info-overlay p {
    margin-bottom: 15px;
    font-size: 1rem;
    max-width: 90%;
    word-break: break-word;
}

.info-overlay a {
    background-color: #00B13F;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.info-overlay a:hover {
    background-color: #009536;
}

/* Footer */
footer {
    background: linear-gradient(90deg, #00B13F, #00693B);
    color: #fff;
    padding: 30px 20px;
    margin-top: 50px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer .top {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 20px;
    text-align: center;
}

footer .top p {
    margin: 0;
}

/* Default: PC = verticale streepjes */
.streepje {
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, #00B13F, #00693B);
}

footer .bottom {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #ccc;
    text-align: center;
}

/* Responsive */
@media (max-width: 600px) {
    main img {
        width: 80vw;
    }

    p, h2 {
        width: 90vw;
    }

    h2 {
        font-size: 1.4rem;
    }

    .zorgverleners {
        grid-template-columns: 1fr;
    }

    .blok {
        min-height: 220px;
        width: 95%;
    }

    .info-overlay {
        padding: 15px;
    }

    .info-overlay p {
        font-size: 0.95rem;
    }

    footer .top {
        flex-direction: column;
        gap: 10px;
    }

    .streepje {
        width: 30px;
        height: 2px;
        background: linear-gradient(90deg, #00B13F, #00693B);
    }
}
