/* ========================================
   RESET
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* ========================================
   BASE / ALGEMENE STIJL
======================================== */

body {
    font-family: 'Grossa_Display', 'Arial', sans-serif;
    line-height: 1.6;
    color: #788991;
    background-color: #E2D6C5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-bottom: 80px;
}

main.centered {
    display: flex;
    align-items: center;
    justify-content: center;
}


/* ========================================
   HEADER & NAVIGATIE
======================================== */

header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #AEB8AF;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
}

.logo {
    font-size: 1.25rem;
    font-weight: bold;
    text-decoration: none;
    color: #994150;
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav ul li a {
    text-decoration: none;
    color: #994150;
    transition: .3s;
}

nav ul li a:hover {
    color: #AEB8AF;
}


/* ========================================
   FOOTER
======================================== */

footer {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem;
    border-top: 1px solid #AEB8AF;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.socials {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.socials a {
    text-decoration: none;
    color: #994150;
    transition: .3s;
}

.socials a:hover {
    color: #AEB8AF;
}


/* ========================================
   HOME HERO SECTION
======================================== */

.hero {
    position: relative;
    height: calc(100vh - 140px);
    min-height: 75vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;

}

.hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.72);
    transform: scale(1.02);
}

.overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom,
            rgba(0, 0, 0, .15),
            rgba(0, 0, 0, .45));
}

.hero-text {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 700px;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .5);
}

.hero-subtitle {
    font-size: .75rem;
    letter-spacing: .3em;
    margin-bottom: 1rem;
    opacity: .8;
    text-transform: uppercase;
}

.hero-text h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1;
    margin-bottom: 1rem;
    animation: fadeUp 1s ease;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: .9;
}

.mini-text {
    font-size: .8rem;
    letter-spacing: .2em;
    opacity: .65;
    margin-bottom: 2rem;
    text-transform: uppercase;
}


/* ========================================
   HERO BUTTONS
======================================== */

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-button,
.hero-button-secondary {
    padding: .9rem 2rem;
    text-decoration: none;
    transition: .4s;
    border: 1px solid #E2D6C5;
    color: #E2D6C5;
}

.hero-button:hover,
.hero-button-secondary:hover {
    background: #E2D6C5;
    color: #994150;
}


/* ========================================
   HERO EXTRA DETAILS
======================================== */

.corner-info {
    position: absolute;
    bottom: 40px;
    font-size: .75rem;
    letter-spacing: .2em;
    opacity: .55;
    line-height: 1.8;
    z-index: 2;
    text-transform: uppercase;
}

.left-corner {
    left: 50px;
}

.right-corner {
    right: 50px;
    text-align: right;
}


/* ========================================
   GALLERY INTRO
======================================== */

.gallery-intro {
    max-width: 1600px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
    text-align: center;
}

.gallery-intro h1 {
    font-size: 2.5rem;
    margin-bottom: .5rem;
}

.gallery-intro p {
    color: #788991;
}


/* ========================================
   BASIC GALLERY GRID
======================================== */

.gallery {
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.gallery-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform .2s ease;
}

.gallery-item img:hover {
    transform: scale(1.02);
}

.gallery-caption {
    padding: 1rem 0;
}

.gallery-caption h2 {
    font-size: 1.25rem;
    margin-bottom: .25rem;
}

.gallery-caption p {
    color: #994150;
    font-size: .9rem;
}


/* ========================================
   CINEMATIC SPLIT GALLERY
======================================== */

.gallery-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: calc(100vh - 140px);
    overflow: hidden;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .6s ease;

}

.gallery-card img {
    width: 100%;
    height: calc(100vh - 140px);
    overflow: hidden;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 1s ease, filter 1s ease;
    filter: grayscale(.1) contrast(1.1);
}

.gallery-card:hover img {
    transform: scale(1.12);
    filter: grayscale(0);
}

.gallery-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom,
            rgba(0, 0, 0, .1),
            rgba(0, 0, 0, .55));
    opacity: .6;
    transition: .4s;
}

.gallery-card:hover::after {
    opacity: .2;
}

.photo {
    border-right: 1px solid rgba(226, 214, 197, .1);
}


/* ========================================
   HOVER LABELS
======================================== */

.hover-label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E2D6C5;
    font-size: 1rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    opacity: 0;
    transition: .5s ease;
    background: rgba(0, 0, 0, .25);
    backdrop-filter: blur(2px);
}

.gallery-card:hover .hover-label {
    opacity: 1;
}


/* ========================================
   ABOUT PAGE
======================================== */

.about {
    max-width: 900px;
    margin: auto;
    padding: 2rem;
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.about-portrait {
    width: 280px;
    height: 280px;
    object-fit: cover;
    flex-shrink: 0;
}

.about-text h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-text p {
    color: #788991;
    margin-bottom: 1rem;
}


/* ========================================
   RESUME / CV PAGE
======================================== */

.resume-page {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.resume-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.resume-header h1 {
    font-size: 2rem;
    color: #994150;
}

.pdf-button {
    text-decoration: none;
    color: #994150;
    border: 1px solid #994150;
    padding: .5rem 1.25rem;
    font-size: .9rem;
    transition: .3s;
}

.pdf-button:hover {
    background: #994150;
    color: #E2D6C5;
}

.resume-pdf {
    width: 100%;
    display: block;
    border: 1px solid #AEB8AF;
    margin-bottom: 3rem;
}

.resume-section {
    margin-bottom: 2.5rem;
}

.resume-section h2 {
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #994150;
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid #AEB8AF;
}

.resume-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.25rem;
}

.resume-year {
    width: 110px;
    color: #788991;
    font-size: .9rem;
}

.resume-item p,
.resume-list li {
    color: #788991;
}


/* ========================================
   CONTACT PAGINA
======================================== */

.contact-links {
    max-width: 600px;
    margin: 4rem auto;
    padding: 0 2rem;
    text-align: center;
}

.contact-links h1 {
    font-size: 2rem;
    margin-bottom: .5rem;
}

.contact-links p {
    color: #788991;
    margin-bottom: 2rem;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-btn {
    text-decoration: none;
    color: #994150;
    border: 1px solid #994150;
    padding: .6rem 1.5rem;
    font-size: .95rem;
    transition: .3s;
}

.contact-btn:hover {
    background: #994150;
    color: #E2D6C5;
}


/* ========================================
   PHOTOGRAPHY GRID
======================================== */

.photo-grid-page {
    padding: 2rem;
    max-width: 1200px;
    margin: auto;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.photo-item {
    cursor: pointer;
    overflow: hidden;
    border-radius: 10px;
    background: #E2D6C5;
    border: 1px solid rgba(120, 137, 145, .2);
    transition: .4s ease;
}

.photo-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform .6s ease, filter .6s ease;
    filter: grayscale(.1);
}

.photo-item:hover img {
    transform: scale(1.05);
    filter: grayscale(0);
}

.photo-info {
    padding: 1rem;
    color: #788991;
}

.photo-info h2 {
    font-size: 1rem;
    margin-bottom: .3rem;
    color: #994150;
}

.photo-info p {
    font-size: .85rem;
    opacity: .8;
    margin-bottom: .3rem;
}

.extra {
    font-size: .8rem;
    opacity: .6;
    line-height: 1.4;
}


/* ========================================
   PHOTOGRAPHY HOVER GRID
======================================== */

.photo-gallery-page {

    padding: 2rem;
    min-height: calc(100vh - 140px);
    overflow: visible;
}

.photo-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    display: block;
    height: 260px;
}

.photo-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: .5s;
}

.photo-card:hover img {
    transform: scale(1.05);
}

.photo-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 2rem;
    background:
        linear-gradient(transparent,
            rgba(0, 0, 0, .7));
    opacity: 0;
    transition: .4s;
    color: white;
}

.photo-card:hover .photo-overlay {
    opacity: 1;
}


/* ========================================
   VIDEO SECTION
======================================== */

.media-section {
    width: min(1120px, calc(100% - 4rem));
    margin: 0 auto 3rem;
    display: grid;
    gap: 2rem;
}

.video {
    width: 100%;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
}

.video iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}


/* ========================================
   RESPONSIVE TABLET
======================================== */

@media (max-width: 900px) {

    .gallery {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .about {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .corner-info {
        display: none;
    }
}


/* ========================================
   RESPONSIVE MOBILE
======================================== */

@media (max-width: 800px) {

    .gallery-page {
        grid-template-columns: 1fr;
    }

    .photo-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {

    nav {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .media-section {
        width: calc(100% - 2rem);
    }
}


/* ================================
   ABOUT PAGE CLEAN UPGRADE
================================ */

.about {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 6rem;
    align-items: start;
    max-width: 1100px;
    margin: auto;
}

.about-portrait {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 4px;
}

.about-text h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
    line-height: 1;
}

.about-small {
    font-size: .75rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    opacity: .6;
    margin-bottom: 1rem;
}

.intro-text {
    font-size: 1.2rem;
    color: #994150;
    max-width: 500px;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.9;
    max-width: 700px;
}

/* responsive */
@media (max-width: 900px) {
    .about {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .about-portrait {
        height: 400px;
    }
}

.photo-card h2 {
    font-weight: 400;
    letter-spacing: .05em;
}

.photo-overlay p {
    opacity: .7;
}


.gallery-item img {
    width: 100%;
    height: 300px;
    aspect-ratio: 4 / 3;
    object-fit: cover;

    display: block;
}


.media-section {
    max-width: 1000px;
    margin: auto;
    padding: 2rem;
    display: grid;
    gap: 2rem;
}

.video {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
}

.video iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* ABOUT - CLEAN FIX */

.about-text h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    line-height: 1;
    color: #994150;
}

.about-text p {
    margin-bottom: 2rem;
    line-height: 1.9;
    max-width: 650px;
}

.portret {
    object-fit: cover;
    width: 100%;
    height: 300px;
    /* voorbeeld */
}


.portret-top {
    object-position: center 20%;
}

.portret-bottom {
    object-position: center 80%;
}

.single-photo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.single-photo .gallery-item {
    width: 100%;
    max-width: 900px;
}

.single-photo .gallery-item img {
    width: 100%;
    height: auto;
    /* BELANGRIJK: breekt vaste hoogte */
    object-fit: contain;
    /* voorkomt crop */
}

.gallery-intro {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
    text-align: center;
}

.gallery-intro h1 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin-bottom: 0.5rem;
    color: #994150;
}

.gallery-intro .subtitle {
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    opacity: 0.6;
    margin-bottom: 2rem;
}

.gallery-intro .intro-text {
    text-align: left;
    font-size: 1.05rem;
    line-height: 1.9;
    color: #788991;
    margin-bottom: 1.5rem;
}