/* =========================
   Projectpagina – beelden centraal
========================= */
.project-page {
    padding: 40px 3% 120px;
    box-sizing: border-box;
}

/* =========================
   Beelden (centraal)
========================= */
.project-images-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 30px; /* minder witruimte onder laatste afbeelding */
}

/* Eerste beeld – rustig gecentreerd in viewport */
.project-image.first-image {
    min-height: calc(100vh - 220px);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Individueel beeld */
.project-image {
    width: 90%;
    max-width: 600px; /* kleiner, verfijnder */
    margin: 0 auto 260px; /* x3 witruimte tussen beelden */
}

/* Laatste afbeelding: minder marge onderaan */
.project-images-column .project-image:last-child {
    margin-bottom: -140px; /* footer komt dichterbij */
}

/* Beeld zelf */
.project-image img, 
.project-image video {
    width: 100%;
    height: auto;
    max-height: 72vh; /* voorkomt te dominante beelden */
    object-fit: contain;
    display: block;
}

/* =========================
   Projecttekst
========================= */
.project-info-column {
    text-align: left;
    z-index: 10;
}

/* Titel: volledig in caps, kleiner, letter-spacing */
.project-title {
    font-size: 14px;
    font-weight: 150;
    margin: 0 0 -9px 0;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Locatie en jaar */
.project-meta {
    font-size: 11px;
    color: #888;
    margin-bottom: 50px;
    font-weight: 400;
    letter-spacing: 0.8px;
    font-family: Helvetica, Arial, sans-serif;
}

/* Projectbeschrijving */
.project-description-text p {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 11px;
    line-height: 1.6;
    margin-bottom: 18px;   /* consistente alinea-ritme */
    color: #888;
    letter-spacing: 0.5px;
    font-weight: 300;
}

.project-description-text p:last-child {
    margin-bottom: 0;      /* geen extra marge na laatste alinea */
}

/* marge onder hele beschrijving tot de credits */
.project-description-text {
    margin-bottom: 50px;   /* afstand tot credits */
}

/* Credits */
.project-credits {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 11px;
    color: #888;
    margin-bottom: 40px;
    line-height: 1.5;
    letter-spacing: 0.5px;
    font-weight: 300;
}

.project-credits em {
    font-style: italic;
}

.project-credits span {
    font-style: normal;
    margin-left: 4px;
    margin-right: 4px;
}

/* =========================
   Footer
========================= */
.project-footer {
    padding: 80px 0 60px;
    background: #fff;
    text-align: center;
    position: relative;
    z-index: 1;
}

.project-footer-divider {
    width: 100%;
    height: 1px;
    background: #e0e0e0;
    margin-bottom: 50px;
}

.project-footer-inner {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.project-footer-label {
    font-size: 11px;
    color: #888;
    margin: 0;
}

.project-footer-link {
    font-size: 11px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
}

.project-footer-link:hover {
    text-decoration: none;
}

/* =========================
   Projecttekst – desktop / tablet / mobile
========================= */

/* -----------------------------------------
   Desktop: >1400px, tekst rechts van eerste afbeelding
----------------------------------------- */
@media (min-width: 1401px) {
    .project-info-column {
        position: fixed;       /* titel/meta blijft vast */
        top: 180px;            /* vaste startafstand vanaf top */
        right: 7.5%;
        width: 260px;
        max-width: 30%;
        text-align: left;
        z-index: 10;
        padding: 0;
        transform: none;       /* geen verticaal centreren */
    }
}

/* -----------------------------------------
   Smalle desktop: 1024px – 1400px, tekst boven eerste afbeelding, gecentreerd
----------------------------------------- */
@media (max-width: 1400px) and (min-width: 1024px) {
    .project-info-column {
        position: relative;        /* gewoon boven eerste beeld */
        width: 90%;                /* beperkt de breedte */
        max-width: 600px;          /* niet te breed */
        padding: 0 5%;             /* tablet-marges */
        margin: 0 auto 20px auto;  /* horizontaal gecentreerd, afstand onderaan */
        text-align: left;          /* tekst links uitgelijnd binnen container */
        z-index: 10;
    }
}

/* -----------------------------------------
   Tablet: <=1023px, tekst boven eerste afbeelding, gecentreerd
----------------------------------------- */
@media (max-width: 1023px) {
    .project-info-column {
        position: relative;
        width: 90%;
        max-width: 600px;
        padding: 0 5%;
        margin: 0 auto 20px auto;  /* horizontaal gecentreerd */
        text-align: left;
        z-index: 10;
    }
}

/* -----------------------------------------
   Mobile: <=767px, tekst boven eerste afbeelding, gecentreerd
----------------------------------------- */
@media (max-width: 767px) {
    .project-info-column {
        position: relative;
        width: 90%;
        max-width: 600px;
        padding: 0 5%;
        margin: 0 auto 100px auto; /* horizontaal gecentreerd */
        text-align: left;
        z-index: 10;
    }
}

/* -----------------------------------------
   Smalle desktop / tablet: minder marge tussen afbeeldingen
----------------------------------------- */
@media (max-width: 1400px) {
    .project-image {
        margin-bottom: 80px;
    }

    /* Eerste beeld: geen hero-min-height meer wanneer tekst erboven staat */
    .project-image.first-image {
        min-height: auto;
    }

    /* Laatste afbeelding: iets minder negatieve marge */
    .project-images-column .project-image:last-child {
        margin-bottom: -140px; 
    }
}

/* =========================
   Hamburger & Overlay – Projectpagina
========================= */

/* Hamburger */
.hamburger {
    display: none; /* standaard verborgen op desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 18px;
    height: 12px;
    cursor: pointer;
    position: relative;
    z-index: 2001;
}

.hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #000;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 50%;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 50%;
    bottom: auto;
}

/* Overlay menu */
.overlay {
    position: fixed;
    inset: 0;
    background: #fff;
    display: none;
    flex-direction: column;
    z-index: 1500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.overlay.show {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.overlay-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Logo linksboven in overlay */
.overlay-header {
    position: absolute;
    top: 25px;
    left: 3%;
}

.overlay-header img {
    height: 40px;
}

/* Overlay menu links gecentreerd */
.overlay-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.overlay-menu a {
    font-size: 16px;
    color: #888;
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.overlay-menu a.show {
    opacity: 1;
    transform: translateY(0);
}

.overlay-menu a:hover,
.overlay-menu a.active {
    color: #000;
}

/* =========================
   Responsive Breakpoints voor Hamburger
========================= */
@media (max-width: 1023px) {
    .main-nav { display: none; }       /* verberg desktop menu */
    .hamburger { display: flex; }      /* toon hamburger */
}

/* -----------------------------------------
   Tablet & kleiner: geen max-height op beelden
----------------------------------------- */
@media (max-width: 767px) {
    .project-image img,
    .project-image video {
        max-height: none;
    }
}

