
   /* ============================================================
   portfolio.css — Stijlen voor de Portfolio pagina
   Auteur: Dio Beunder
   Navigatie en lettertype komen overeen met hoofdpagina.
============================================================ */

/* Achtergrondkleur zelfde als de hoofdpagina */
body {
    background-color: #f5f5f0;
}

/* ============================================================
   HERO SECTIE: groot "Portfolio" opschrift met zijmenu
============================================================ */

/* Hero verdeeld in twee kolommen: titel links, zijmenu rechts */
.portfolioHero {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    padding: 3rem 2rem 4rem;
    position: relative;
    min-height: 320px;
    background-color: transparent;
}

/* Crème blob als decoratieve achtergrondvorm achter de titel */
.portfolioHero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -5%;
    width: 80%;
    height: 90%;
    background-color: #f0eedc;
    border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
    z-index: 0;
}

/* Grote sierlijke "Portfolio" titel in blauw */
.portfolioHeroTitel {
    grid-column: 1;
    grid-row: 1;
    font-family: "sloop-script-two", sans-serif;
    font-size: clamp(18rem, 18vw, 15rem);
    color: #0000cc;
    line-height: 1;
    align-self: center;
    position: relative;
    z-index: 1;
}

/* Pijl naar beneden om te scrollen */
.portfolioHeroPijl {
    grid-column: 1;
    grid-row: 2;
    font-size: 2rem;
    color: #000;
    text-decoration: none;
    display: block;
    text-align: center;
    padding-top: 1rem;
    position: relative;
    z-index: 1;
}

/* Zijmenu rechts met snelkoppelingen naar de drie secties */
.portfolioHeroZijmenu {
    grid-column: 2;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    padding-left: 2rem;
    align-self: start;
    padding-top: 2.5rem;
    position: relative;
    z-index: 1;
}

/* Stijl van elk zijmenu item: zwart, vet met een scheidingslijn eronder */
.portfolioHeroZijmenuItem {
    display: block;
    padding: 0.7rem 0;
    border-bottom: 1px solid #555;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    line-height: 1.3;
    white-space: nowrap;
}

/* Zijmenu item wordt blauw als je er overheen gaat */
.portfolioHeroZijmenuItem:hover {
    color: #0000cc;
}

/* ============================================================
   WERK SECTIES: schoolwerk, persoonlijk werk en design projecten
============================================================ */

/* Elke sectie heeft ruimte rondom en een transparante achtergrond */
.werkSectie {
    padding: 3rem 2rem 4rem;
    position: relative;
    background-color: transparent;
}

/* Crème blob als decoratieve achtergrondvorm per sectie */
.werkSectie::before {
    content: '';
    position: absolute;
    top: 5%;
    left: -5%;
    width: 60%;
    height: 50%;
    background-color: #f0eedc;
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

/* Sectietitel boven het raster */
.werkSectieKoptekst {
    position: relative;
    z-index: 1;
    margin-bottom: 1.2rem;
    line-height: 1;
    background-color: transparent;
}

/* Grote vette sectienaam zoals "School" of "personal" */
.werkSectieBold {
    display: block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(5rem, 10vw, 6rem);
    font-weight: 900;
    color: #111;
    line-height: 1;
    background-color: transparent;
}

/* Sierlijke blauwe ondertitel zoals "Work" of "Projects" */
.werkSectieScript {
    display: block;
    font-family: "sloop-script-two", sans-serif;
    font-size: clamp(4rem, 11vw, 5rem);
    color: #0000cc;
    line-height: 0.9;
    margin-top: -0.9rem;
    margin-left: 10rem;
    background-color: transparent;
}

/* ============================================================
   WERK RASTER: 6 klikbare vakken in 3 kolommen en 2 rijen
============================================================ */

/* Raster van 3 kolommen en 2 rijen met CSS Grid */
.werkRaster {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 0.8rem;
    list-style: none;
    position: relative;
    z-index: 1;
}

/* Grijs vak voor een werkafbeelding met afgeronde hoeken */
.werkKaart {
    background-color: #ddddd8;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

/* Vak beweegt omhoog als je er overheen gaat */
.werkKaart:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* Klikbare link vult het hele vak */
.werkKaartLink {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/* Afbeelding vult het hele vak zonder bij te snijden */
.werkKaartFoto {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* ============================================================
   LIGHTBOX: popup die verschijnt als je op een afbeelding klikt
============================================================ */

/* Donkere overlay achter de popup */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    z-index: 999;
    justify-content: center;
    align-items: center;
}

/* Lightbox wordt zichtbaar als de klasse actief wordt toegevoegd */
.lightbox.actief {
    display: flex;
}

/* Witte box met de afbeelding en beschrijving */
.lightboxInhoud {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    max-width: 700px;
    width: 90%;
    text-align: center;
    max-height: 90vh;
    overflow-y: auto;
}

/* Grote afbeelding in de popup */
.lightboxFoto {
    width: auto;
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
}

/* Beschrijving onder de afbeelding */
.lightboxTekst {
    margin-top: 1rem;
    font-size: 1rem;
    color: #333;
}

/* Sluitknop rechtsboven in de popup */
.lightboxSluiten {
    display: block;
    margin-left: auto;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #000;
}

/* ============================================================
   RESPONSIVE: aanpassingen voor mobiel (scherm kleiner dan 768px)
============================================================ */
@media (max-width: 768px) {

    /* Twee kolommen in plaats van drie op mobiel */
    .werkRaster {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 120px);
    }
}