html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    margin: 0;
    font-family: "Helvetica Neue", Arial, sans-serif;
    color: #111;
    background-color: #2f4f4f;
}

/* NAVBAR */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #2f4f4f;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: white;
    font-size: 1.2rem;
}

.navbar ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

.navbar a {
    color: white;
    text-decoration: none;
}

/* INTRO */

.intro {
    background: #e6ece7;

    /* minder ruimte onderaan */
    padding: 120px 20px 25px;
}

.intro-container {
    max-width: 800px;
    margin: auto;
    text-align: center;
}

.centered-intro {
    display: flex;
    justify-content: center;
}

.intro-left img {
    width: 500px;
    max-width: 100%;
}

.intro-right h1 {
    font-size: 2.7rem;
    margin-bottom: 20px;
}

.intro-right span {
    color: #2f4f4f;
}

.intro-right p {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 650px;
    margin: auto;
}

.btn {
    display: inline-block;
    margin-top: 20px;
    background: #2f4f4f;
    color: white;
    padding: 14px 25px;
    border-radius: 8px;
    text-decoration: none;
}

/* PROJECTS */

.projects {
    background: #f3f3f3;
    padding: 40px 20px;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
}

.projects h2 {
    text-align: center;
    font-size: 2.3rem;
    margin-bottom: 50px;
}

.carousel-wrapper {
    position: relative;
    max-width: 1500px;
    margin: auto;
}

.carousel-container {
    overflow: visible;
}

.carousel-track {
    display: flex;
    gap: 35px;
    transition: transform 0.7s ease;
}

.project-card {
    flex: 0 0 calc(33.333% - 24px);
    background: white;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: black;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.project-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.contain-img {
    object-fit: contain !important;
    background: #f3f3f3;
}

.project-card h3 {
    padding: 25px;
    text-align: center;
}

.empty-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #dfe5e0;
}

.plus {
    font-size: 5rem;
    color: #2f4f4f;
}

/* BUTTONS */

.carousel-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: #2f4f4f;
    color: white;
    cursor: pointer;
    z-index: 10;
    font-size: 1.4rem;
}

.prev {
    left: -30px;
}

.next {
    right: -30px;
}

/* CONTACT */

.contact {
    background: #2f4f4f;
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.contact a {
    color: white;
}

/* RESPONSIVE */

@media (max-width: 900px) {

    .intro-container {
        flex-direction: column;
        text-align: center;
    }

    .project-card {
        flex: 0 0 85%;
    }

}

.page {
    background: #e6ece7;
    padding: 140px 20px 80px;
}

.page-container {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.page h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* ==================================== */
/* PROJECT DETAIL PAGINA */
/* ==================================== */

.project-detail-page {
    background: #e6ece7;
    padding: 140px 20px 80px;
}

.project-detail-container {
    max-width: 1300px;
    margin: auto;
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

/* LINKS FOTO'S */

.project-images {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.image-placeholder {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.image-placeholder img {
    width: 100%;
    display: block;
    object-fit: cover;
}

/* RECHTS TEKST */

.project-info {
    flex: 1;
    position: sticky;
    top: 140px;
}

.project-info h1 {
    font-size: 3rem;
    margin-bottom: 25px;
}

.project-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* ==================================== */
/* PROCES SECTION */
/* ==================================== */

.process-section {
    background: #f3f3f3;
    padding: 80px 20px 120px;
}

.process-section h2 {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 50px;
}

.process-carousel-wrapper {
    max-width: 1500px;
    margin: auto;
}

.process-card {
    background: white;
    justify-content: center;
    align-items: center;
}

.project-card.process-card img {
    height: 320px;
    width: 100%;
    object-fit: contain !important;
    background: white;
    display: block;
}

.process-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}


.process-placeholder {
    font-size: 1.5rem;
    color: #2f4f4f;
}

.project-card.process-card img {
    object-fit: contain !important;
    background: white;
}

/* ==================================== */
/* RESPONSIVE */
/* ==================================== */

@media (max-width: 1000px) {

    .project-detail-container {
        flex-direction: column;
        gap: 40px;
    }

    .project-info {
        position: relative;
        top: 0;
    }

}

.about-page {
    background: #e6ece7;
    padding: 140px 20px 80px;
}

.about-container {
    max-width: 1300px;
    margin: auto;

    display: flex;
    gap: 80px;

    align-items: center;
}

/* TEKST LINKS */

.about-text {
    flex: 1;
    max-width: 700px;
}


.about-text h1 {
    font-size: 3rem;
    margin-bottom: 25px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* FOTO RECHTS */


.about-image {
    flex: 0 0 45%;
}

.about-image img {
    width: 100%;
    border-radius: 20px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ==================================== */
/* ABOUT CAROUSEL */
/* ==================================== */

.about-carousel-section {
    background: #f3f3f3;
    padding: 80px 20px 120px;
}

.about-card img {
    width: 100%;
    height: 350px;
    object-fit: contain;
    background: white;
    display: block;
}

.about-carousel-section h2 {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 50px;
}

.about-card {
    background: white;
    height: 350px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.about-placeholder {
    font-size: 1.5rem;
    color: #2f4f4f;
}

/* ==================================== */
/* RESPONSIVE */
/* ==================================== */

@media (max-width: 1000px) {

    .about-container {
        flex-direction: column-reverse;
        gap: 40px;
    }

    .about-text {
        text-align: center;
    }

}

.image-placeholder {
    display: flex;
    justify-content: center;
}

.image-placeholder video {
    width: 50%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}