/* ==================================================
   BASIS
================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #ffffff;
    color: #000000;
    font-family: "Switzer", sans-serif;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}


/* ==================================================
   NAVIGATIE
================================================== */

.nav {
    width: 100%;
    padding: 14px 3.2vw;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.nav-logo {
    display: block;
    line-height: 0;
}

.nav-logo img {
    width: 40px;
    height: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.nav-links a {
    font-size: 10px;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-links a:hover {
    opacity: 0.5;
}

.nav-arrow {
    font-size: 14px !important;
    line-height: 1;
}


/* ==================================================
   PROJECT INTRO
================================================== */

.projects-intro {
    width: 93.6%;
    margin: 0 auto;

    min-height: 320px;

    display: grid;
    grid-template-columns: 1fr 220px;
    align-items: center;
    gap: 40px;

    border-bottom: 1px solid #dddddd;
}

.intro-title h1 {
    margin: 0;

    font-size: clamp(70px, 10vw, 145px);
    font-weight: 500;
    line-height: 0.9;
    letter-spacing: -0.07em;
}

.intro-text {
    align-self: center;
}

.intro-text p {
    max-width: 170px;

    margin: 0;

    font-size: 12px;
    line-height: 1.35;
    font-weight: 400;
    letter-spacing: -0.02em;
}


/* ==================================================
   PROJECTEN
================================================== */

.projects {
    width: 93.6%;
    margin: 0 auto;

    padding-top: 24px;
    padding-bottom: 100px;
}

.project-count {
    margin-bottom: 22px;

    font-size: 9px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}


/* ==================================================
   PROJECT GRID
================================================== */

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    column-gap: 6px;
    row-gap: 60px;
}


/* ==================================================
   PROJECT CARD
================================================== */

.project-card {
    display: block;

    color: #000000;
    text-decoration: none;
}

.project-card:hover .project-image img,
.project-card:hover .project-video video {
    transform: scale(1.025);
}

.project-card:hover .project-info h2 {
    opacity: 0.55;
}


/* ==================================================
   PROJECT AFBEELDING / VIDEO
   --------------------------------------------------
   Elke kaart gebruikt dezelfde container:
   - .project-image  -> afbeelding of gif
   - .project-video  -> video
   De inhoud vult de container volledig (cover).
================================================== */

.project-image,
.project-video {
    position: relative;

    width: 100%;
    aspect-ratio: 1.55 / 1;

    overflow: hidden;

    background: #eeeeee;
    border-radius: 6px;
}

.project-image img,
.project-video video {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}


/* ==================================================
   UITZONDERING: AFBEELDING NIET BIJSNIJDEN
   --------------------------------------------------
   Voeg .project-image-contain toe naast .project-image
   om de hele afbeelding te tonen (project 04).
================================================== */

.project-image-contain {
    background: #ffffff;
}

.project-image-contain img {
    object-fit: contain;
}


/* ==================================================
   CATEGORY LABEL
================================================== */

.project-category {
    position: absolute;

    right: 10px;
    bottom: 10px;

    padding: 4px 9px;

    background: rgba(0, 0, 0, 0.55);
    color: #ffffff;

    border-radius: 20px;

    font-size: 9px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
}


/* ==================================================
   PROJECT INFO
================================================== */

.project-info {
    padding-top: 8px;
}

.project-duration {
    display: block;

    margin-bottom: 7px;

    font-size: 10px;
    line-height: 1;
}

.project-info h2 {
    margin: 0;

    font-size: 16px;
    font-weight: 500;
    line-height: 1;

    letter-spacing: -0.035em;

    transition: opacity 0.2s ease;
}


/* ==================================================
   ABOUT / CONTACT
================================================== */

.simple-section {
    width: 93.6%;
    margin: 0 auto;

    padding: 32px 0 80px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "label label"
        "content photo";

    column-gap: 40px;
    row-gap: 40px;

    border-top: 1px solid #dddddd;
}


/* ABOUT */

.about-section .section-label {
    grid-area: label;
}

.about-section .section-content {
    grid-area: content;

    align-self: start;
}

.about-section .about-logo {
    grid-area: photo;

    align-self: start;
}

.about-section .about-logo img {
    display: block;

    width: 250px;
    height: auto;
}

.section-label {
    font-size: 10px;
    font-weight: 500;
}

.section-content {
    font-size: 14px;
    line-height: 1.5;
}

.section-content p {
    max-width: 500px;
    margin: 0;
}

.section-content a {
    text-decoration: none;
}

.section-content a:hover {
    opacity: 0.5;
}


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

footer {
    width: 93.6%;
    margin: 0 auto;

    padding: 20px 0 30px;

    display: flex;
    justify-content: space-between;

    border-top: 1px solid #dddddd;

    font-size: 9px;
    font-weight: 400;
}


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

@media (max-width: 800px) {

    .projects-intro {
        min-height: 250px;

        grid-template-columns: 1fr 170px;
    }

    .intro-title h1 {
        font-size: clamp(55px, 11vw, 95px);
    }

    .project-grid {
        row-gap: 45px;
    }

}


/* ==================================================
   MOBIEL
================================================== */

@media (max-width: 600px) {

    .nav {
        padding: 14px 4vw;
    }

    .nav-links {
        gap: 12px;
    }

    .nav-links a {
        font-size: 9px;
    }


    .projects-intro {
        width: 92%;

        min-height: 260px;

        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;

        gap: 25px;
    }

    .intro-title h1 {
        font-size: 19vw;
        line-height: 0.85;
    }

    .intro-text p {
        max-width: 230px;
        font-size: 11px;
    }


    .projects {
        width: 92%;
        padding-top: 20px;
        padding-bottom: 70px;
    }


    .project-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .project-image,
    .project-video {
        aspect-ratio: 1.45 / 1;
    }


    .simple-section {
        width: 92%;

        grid-template-columns: 1fr;
        grid-template-areas:
            "label"
            "photo"
            "content";

        gap: 25px;

        padding-bottom: 60px;
    }

    .about-section .about-logo img {
        width: 250px;
        max-width: 100%;
    }


    footer {
        width: 92%;

        flex-direction: column;
        gap: 8px;
    }

}
