/* Projectpagina's in het portfolio
   Huisstijl: donkerblauw #12294f, geel #fbd200, lichtblauw #eef1f6.
   Wordt alleen op projectpagina's geladen, als laatste CSS-bestand. */


/* ---------------------------------------------------------
   1. Etalage
   --------------------------------------------------------- */
.project-etalage {
    height: 72vh;
    min-height: 520px;
}

.project-etalage .etalage-tekst {
    max-width: 1040px;
}

/* Een kop van de projecttitel niet afbreken met een streepje */
.project-etalage .etalage-tekst h1 {
    font-size: 88px;
    margin-bottom: 16px;
    hyphens: manual;
}

.project-etalage .project-dienst {
    margin: 0 0 16px;
    padding-left: 12px;
    color: #fafafa;
    border-left: 8px solid #fbd200;
}

/* De introzin cursief, als opstap naar het verhaal */
.project-etalage .project-intro {
    max-width: 620px;
    margin: 0;
    font-size: 21px;
    font-style: italic;
    line-height: 1.45;
}


/* ---------------------------------------------------------
   2. Balk met kerngegevens
   --------------------------------------------------------- */
.project-gegevens {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px 56px;
    padding: 28px 80px;
    background-color: #eef1f6;
    border-bottom: 1px solid #dde2ea;
}

.project-gegevens dl {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 56px;
    margin: 0;
}

.project-gegevens dt {
    margin-bottom: 2px;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.5px;
    color: #4a6386;
}

.project-gegevens dd {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.project-terug-link {
    font-size: 16px;
    font-weight: bold;
    color: #12294f;
    text-decoration: none;
}

.project-terug-link:hover {
    text-decoration: underline;
    text-decoration-color: #fbd200;
    text-decoration-thickness: 3px;
    text-underline-offset: 8px;
}


/* ---------------------------------------------------------
   3. Het verhaal: een smalle leeskolom, foto's breder
   --------------------------------------------------------- */
.project-inhoud {
    padding: 112px 80px 120px;
}

.project-inhoud > * {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* Galerijen, losse foto's en kolommen krijgen meer ruimte */
.project-inhoud > .wp-block-gallery,
.project-inhoud > .wp-block-image,
.project-inhoud > .wp-block-columns,
.project-inhoud > .wp-block-media-text {
    max-width: 1200px;
    margin-top: 56px;
    margin-bottom: 88px;
}

.project-inhoud > h2 {
    margin-top: 88px;
    margin-bottom: 16px;
    font-size: 56px;
}

.project-inhoud > h2:first-child {
    margin-top: 0;
}

.project-inhoud > p {
    font-size: 20px;
    line-height: 1.65;
}

.project-inhoud img {
    display: block;
    border-radius: 1em;
}

.project-inhoud .wp-block-image figcaption,
.project-inhoud .wp-block-gallery figcaption {
    font-size: 14px;
    color: #4a6386;
}


/* ---------------------------------------------------------
   4. Quote van de opdrachtgever
   --------------------------------------------------------- */
.project-quote {
    padding: 140px 80px 120px;
    background-color: #eef1f6;
}

.project-quote .quote-blok {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    max-width: 820px;
    margin: 0 auto;
}


/* ---------------------------------------------------------
   5. Meer projecten uit dezelfde dienst
   --------------------------------------------------------- */
.meer-projecten {
    padding: 120px 80px;
}

.meer-projecten h2 {
    margin: 0 0 48px;
    font-size: 72px;
}

.meer-raster {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.meer-item {
    display: block;
    color: #12294f;
    text-decoration: none;
}

.meer-foto {
    display: block;
    overflow: hidden;
    border-radius: 1em;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.meer-foto img {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.4s;
}

.meer-item:hover .meer-foto img {
    transform: scale(1.05);
}

.meer-titel {
    display: block;
    margin-top: 20px;
    font-family: 'Bebas Neue', Arial, sans-serif;
    font-size: 32px;
    letter-spacing: 1px;
    line-height: 1;
}

.meer-item:hover .meer-titel {
    color: #4a78c2;
}

.meer-item:focus-visible {
    outline: 3px solid #fbd200;
    outline-offset: 6px;
    border-radius: 1em;
}

.meer-alles {
    display: inline-block;
    margin-top: 48px;
    font-weight: bold;
    color: #12294f;
    text-decoration: underline;
    text-decoration-color: #fbd200;
    text-decoration-thickness: 3px;
    text-underline-offset: 6px;
}

@media (prefers-reduced-motion: reduce) {
    .meer-foto img {
        transition: none;
    }
}


/* ---------------------------------------------------------
   Kleinere schermen
   --------------------------------------------------------- */
@media (max-width: 1280px) {
    .project-gegevens,
    .project-inhoud,
    .project-quote,
    .meer-projecten {
        padding-left: 48px;
        padding-right: 48px;
    }
}

@media (max-width: 1024px) {
    .project-etalage {
        height: 64vh;
        min-height: 460px;
    }

    .project-etalage .etalage-tekst h1 {
        font-size: 64px;
    }

    .project-inhoud {
        padding-top: 80px;
        padding-bottom: 96px;
    }

    .project-inhoud > h2 {
        font-size: 44px;
    }

    .project-quote {
        padding-top: 120px;
        padding-bottom: 96px;
    }

    .meer-projecten {
        padding-top: 96px;
        padding-bottom: 96px;
    }

    .meer-projecten h2 {
        font-size: 56px;
    }

    .meer-raster {
        grid-template-columns: repeat(2, 1fr);
    }

    .meer-item:nth-child(3) {
        display: none;
    }
}

@media (max-width: 600px) {
    .project-etalage {
        height: auto;
        min-height: 480px;
    }

    .project-etalage .etalage-tekst {
        bottom: 40px;
    }

    .project-etalage .etalage-tekst h1 {
        font-size: 48px;
    }

    .project-etalage .project-intro {
        font-size: 18px;
    }

    .project-gegevens {
        padding: 24px;
    }

    .project-gegevens dl {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px 24px;
    }

    .project-gegevens dd {
        font-size: 16px;
    }

    .project-inhoud,
    .project-quote,
    .meer-projecten {
        padding-left: 24px;
        padding-right: 24px;
    }

    .project-inhoud {
        padding-top: 56px;
        padding-bottom: 72px;
    }

    .project-inhoud > h2 {
        margin-top: 64px;
        font-size: 36px;
    }

    .project-inhoud > p {
        font-size: 18px;
    }

    .project-inhoud > .wp-block-gallery,
    .project-inhoud > .wp-block-image,
    .project-inhoud > .wp-block-columns,
    .project-inhoud > .wp-block-media-text {
        margin-top: 32px;
        margin-bottom: 56px;
    }

    .project-quote {
        padding-top: 96px;
        padding-bottom: 72px;
    }

    .meer-projecten {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .meer-projecten h2 {
        font-size: 44px;
    }

    .meer-raster {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .meer-item:nth-child(3) {
        display: block;
    }

    .meer-foto img {
        height: 260px;
    }
}
