/* ===== GLOBAL ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Host Grotesk", Arial, sans-serif;
}

html, body {
    width: 100%;
    letter-spacing: 0.2px;
    font-weight: 400;
    scroll-behavior: smooth;
}

/* ===== NAVBAR ===== */
.nav-wrapper {
    position: fixed;
    top: 35px;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.nav-wrapper.visible {
    opacity: 1;
    pointer-events: auto;
}

.nav {
    background: #0b0b1a;
    border-radius: 999px;
    padding: 6px 20px;
    width: 92%;
    max-width: 900px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    background: white;
    color: black;
    padding: 5px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 30px;
    margin-left: -13px;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 34px;
    margin-right: 4px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: 0.2s ease;
}

.nav-menu a:hover {
    opacity: 0.7;
}

/* ===== HAMBURGER ===== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 2000;
}

.hamburger span {
    width: 28px;
    height: 2.5px;
    background: white;
    border-radius: 5px;
    transition: 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== MOBIEL NAV ===== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 85px;
        right: 20px;
        background: #2a2a2a;
        flex-direction: column;
        gap: 28px;
        padding: 28px 32px;
        border-radius: 22px;
        min-width: 220px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px) scale(0.96);
        transition: 0.3s ease;
    }

    .nav-menu.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }
}

/* ===== INTRO ===== */
.intro-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.intro-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: slideDownFast 0.6s ease-out forwards;
    z-index: 1;
}

.intro-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 2;
    pointer-events: none;
}

.intro-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 20%;
    padding-right: 5vw;
    text-align: left;
}

.intro-text {
    max-width: 600px;
    color: white;
    animation: slideUpFast 0.85s ease-out forwards;
    animation-delay: 0.15s;
    opacity: 0;
}

.intro-text h2 {
    font-size: 85px;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

.intro-text p {
    font-size: 30px;
    margin-bottom: 20px;
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}

.intro-text button {
    padding: 12px 20px;
    border: none;
    background: #0b0b1a;
    color: white;
    font-size: 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s ease;
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}

.intro-text button:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}

/* ===== RESPONSIVE INTRO ===== */
@media (max-width: 1290px) {
    .intro-overlay {
        padding-left: 13vw;
    }

}
@media (max-width: 1024px) {
    .intro-overlay {
        /* padding-left: 10%; */
        padding-right: 46.3vw;
    }
    .intro-bg {
    object-fit: cover;
    object-position: 60% center; /* 20% naar links, gecentreerd verticaal */
}
    .intro-text h2 { font-size: 55px; }
    .intro-text p { font-size: 20px; }
}

@media (max-width: 790px) {
    .intro-overlay {
        padding-left: 10vw;
    }
    .intro-text h2 { font-size: 42px; }
    .intro-text p { font-size: 18px; }
}

@media (max-width: 480px) {

    .intro-text h2 { font-size: 28px; }
    .intro-text p { font-size: 16px; }
    .intro-text button { font-size: 16px; padding: 10px 16px; }
}

/* ===== ANIMATIES ===== */
@keyframes slideUpFast {
    from { opacity: 0; transform: translateY(100px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDownFast {
    from { opacity: 0; transform: translateY(-100px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== SECTIES ===== */
.section { padding: 50px 40px; }

/* ===== OVER SECTIE ===== */
#over {
    background: white;
    position: relative;
    z-index: 5;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

#over h2 { font-size: 72px; font-weight: 700; }
#over p {
    font-size: 22px;
    line-height: 1.7;
    max-width: 720px;
    margin: 0 auto;
    opacity: 0.9;
}

@media (max-width: 1024px) {
    #over h2 { font-size: 56px; }
    #over p { font-size: 20px; }
}

@media (max-width: 768px) {
    #over h2 { font-size: 46px; }
    #over p { font-size: 18px; }
}

@media (max-width: 480px) {
    #over h2 { font-size: 36px; }
    #over p { font-size: 16px; }
}

/* ===== PROJECTEN SECTIE ===== */
#projecten {
    background: #0b0b1a;
    color: white;
    margin: 15vh auto 0 auto;
    padding: 80px 40px 100px 40px;
    border-radius: 60px;
    width: 75%;
    scroll-margin-top: 240px;
}

#projecten h2 { text-align: center; font-size: 84px; margin-bottom: 8px; }

.projects-intro {
    text-align: center;
    font-size: 20px; 
    opacity: 0.85;
    margin: 0 auto 12px auto;
    line-height: 1.4;
    max-width: 700px;
}

.projects-divider {
    width: 60px;
    height: 2px;
    background: white;
    opacity: 0.6;
    margin: 0 auto 50px auto;
    border-radius: 1px;
}

/* SPLIT LAYOUT */
.project-split {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.project-split img {
    width: 500px;
    height: 350px;
    border-radius: 16px;
    object-fit: cover;
}

.project-content {
    max-width: 500px;
    flex: 1;
    padding: 0;
    margin-left: 0;
    text-align: left;
}

.project-content h3 { font-size: 40px; margin-bottom: 12px; color: white; }
.project-content p { font-size: 22px; line-height: 1.4; margin-bottom: 20px; color: white; }

.btn-readmore {
    display: inline-block;
    padding: 10px 20px;
    background: white;
    color: black;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-readmore:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}

/* RESPONSIVE PROJECTEN */
@media (max-width: 1110px) {
    #projecten { width: 90%; padding: 60px 20px 80px 20px; }
    .project-split { flex-direction: column; gap: 20px; }
    .project-split img, .project-content { width: 100%; height: auto; text-align: center !important; }
    #projecten h2 { font-size: 46px; }
    .projects-intro { font-size: 18px; }
    .projects-divider { width: 50px; margin-bottom: 40px; }
    .project-content h3 { font-size: 32px; }
    .project-content p { font-size: 18px; }
}

@media (max-width: 480px) {
    #projecten h2 { font-size: 36px; }
    .projects-intro { font-size: 16px; }
    .project-content h3 { font-size: 24px; }
    .project-content p { font-size: 16px; }
}

/* ===== CONTACT BLOK ===== */
.contact-section {
    background: white;
    color: black;
    padding: 140px 40px;
    text-align: center;
    border-radius: 0 0 60px 60px;
}

.contact-divider {
    width: 80px;
    height: 2px;
    background: rgba(0,0,0,0.2);
    margin: 0 auto 60px auto;
}

.contact-title {
    font-size: 58px;
    margin-bottom: 14px;
    font-weight: 700;
    text-align: center;
}

.contact-intro {
    font-size: 20px;
    opacity: 0.85;
    margin-bottom: 50px;
    text-align: center;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    text-align: center;
}

.contact-links a {
    color: white;
    background: black;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 10px;
    transition: 0.3s ease;
    box-shadow: 0 10px 24px rgba(0,0,0,0.15);
}

.contact-links a:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 18px 36px rgba(0,0,0,0.2);
}

@media (max-width: 900px) {
    .contact-title { font-size: 40px; }
    .contact-intro { font-size: 18px; margin-bottom: 36px; }
    .contact-links { gap: 20px; }
    .contact-links a { width: 100%; max-width: 260px; text-align: center; }
}

@media (max-width: 480px) {
    .contact-title { font-size: 32px; }
    .contact-intro { font-size: 16px; margin-bottom: 24px; }
}

/* ===== FOOTER ===== */
footer {
    text-align: center;
    padding: 5px;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(80px);
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
/* ===== INTRO ARC ===== */
.intro-arc {
    position: absolute;
    left: 50%;
    bottom: -45vh;
    transform: translateX(-50%) scaleY(0);
    transform-origin: bottom center;
    width: 200vw;
    height: 90vh;
    background: white;
    border-radius: 50%;
    z-index: 3;
    pointer-events: none;
    box-shadow: 0 -20px 60px rgba(0,0,0,0.15);
}

/* RESPONSIVE ARC */
@media (max-width: 1024px) {
    .intro-arc {
        bottom: -40vh;
        height: 80vh;
    }
}

@media (max-width: 768px) {
    .intro-arc {
        bottom: -35vh;
        height: 70vh;
    }
}

@media (max-width: 480px) {
    .intro-arc {
        bottom: -30vh;
        height: 60vh;
    }
}






/* PROJECTPAGINA */
/* ===== PROJECT MAIN ===== */
.project-main {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px; /* extra padding voor mobiel */
}

/* ===== HERO ===== */
.project-hero img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    margin-bottom: 20px;
}

.project-hero h1 {
    font-size: 48px; /* iets kleiner voor betere responsiviteit */
    text-align: center;
    line-height: 1.2;
}

/* ===== PROJECT SECTIES ===== */
.project-section {
    margin: 24px auto;
    max-width: 720px;
    padding: 0 10px;
}

.project-section h2 {
    font-size: 28px;
    margin-bottom: 12px;
}

.project-section p {
    font-size: 16px;
    line-height: 1.5;
}

/* ===== SLIDERS ===== */
.slider-wrapper {
    position: relative;
    max-width: 100%; /* volledig breed */
    margin: 30px auto;
    overflow: hidden;
    border-radius: 16px;
    height: 400px;
}
iframe {
    position: relative;
    width: 100%; /* volledig breed */
    margin: 30px auto;
    overflow: hidden;
    border-radius: 16px;
    height: 400px;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    width: 100%;
    height: 100%;
    display: none;
    border-radius: 16px;
    object-fit: cover;
}

.slide.active {
    display: block;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    font-size: 28px;
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    z-index: 10;
}

.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }

.slider-btn:hover {
    background: rgba(0,0,0,0.8);
}

/* ===== BACK LINK ===== */
.back-link {
    color: black;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
}

.back-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: #0b0b1a;
    transition: width 0.3s ease;
}

.back-link:hover::after {
    width: 100%;
}

/* ===== TERUG KNOP ===== */
.project-back-bottom {
    margin-top: 80px;
    text-align: center;
}

.project-back-btn {
    display: inline-block;
    padding: 12px 20px;
    border: none;
    background: #0b0b1a;
    color: white;
    font-size: 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s ease;
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
    text-decoration: none;
}

.project-back-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 20px rgba(0,0,0,.25);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .project-main { padding: 30px 15px; }
    .project-hero h1 { font-size: 42px; }
    .project-section h2 { font-size: 26px; }
}

@media (max-width: 768px) {
    .slider-wrapper { height: 250px; }
    .slider-btn {
        font-size: 22px;
        padding: 6px 12px;
    }
    .project-hero h1 { font-size: 36px; }
    .project-section h2 { font-size: 24px; }
    .project-section p { font-size: 15px; }
}

@media (max-width: 480px) {
    .project-main { padding: 20px 10px; }
    .project-hero h1 { font-size: 28px; }
    .project-section h2 { font-size: 20px; }
    .project-section p { font-size: 14px; }
    .slider-wrapper { height: 200px; }
    .slider-btn { font-size: 18px; padding: 4px 10px; }
    .project-back-btn { font-size: 16px; padding: 10px 16px; }
}
