/* ================= GLOBAL ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: #f5f5f5;
    color: #222;
}

.header-slogan {
    font-family: 'Caveat', cursive; /* Het handgeschreven lettertype */
    font-size: 32px;
    color: #d10000; /* Passend bij je DK-T rood */
    position: absolute;
    left: 350px; /* Pas dit getal aan om de tekst naar links/rechts te schuiven */
    top: 50%;
    transform: translateY(-50%) rotate(-5deg); /* Lichtjes schuin voor een speels effect */
    white-space: nowrap;
}

/* Op kleine schermen verbergen we de slogan om overlap met het menu te voorkomen */
@media (max-width: 1100px) {
    .header-slogan {
        display: block;        /* Maak hem weer zichtbaar */
        position: relative;    /* Haal hem uit de vaste positie */
        left: 0;              /* Reset de verschuiving naar links */
        top: 0;               /* Reset de hoogte */
        transform: none;      /* Haal de rotatie weg voor leesbaarheid */
        font-size: 16px;      /* Maak de tekst een stuk kleiner */
        text-align: center;   /* Centreer de tekst */
        margin-top: 5px;      /* Beetje ruimte onder het logo */
    }
}

/* ================= DROPDOWN MENU VOLLEDIGE FIX ================= */
.dropdown {
    position: relative;
    display: inline-flex; /* Belangrijk: de container is nu precies zo breed als de tekst */
    align-items: center;
}

.dropdown > a {
    text-decoration: none;
    color: #222;
    font-weight: 500;
    padding: 0; /* Verwijder alle padding rondom de link */
    margin: 0;  /* Verwijder marges */
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    /* top: 100% zorgt dat hij direct onder de tekst begint */
    top: 100%; 
    /* left: 0 zorgt dat de witte box exact uitlijnt met de eerste letter (W) */
    left: 0; 
    background-color: white;
    min-width: 220px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 0 0 6px 6px; /* Alleen hoeken onderaan afronden voor strakke look */
    z-index: 200;
    padding: 10px 0; /* Ruimte binnen de witte box boven/onder */
}

.dropdown-content a {
    display: block;
    padding: 10px 20px; /* Hier mag wel padding, dit is de ruimte in de box zelf */
    color: #222 !important;
    text-decoration: none;
    margin: 0 !important; /* Reset marges uit de header nav */
    font-weight: normal;
}

.dropdown-content a:hover {
    background-color: #f4f4f4;
    color: #d10000 !important;
}

/* Toon menu bij hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* ================= FEUTURES SECTIE ================= */
/* ================= USP SECTIE ================= */
.usp-section {
    background: #F5F5F5;
    padding: 30px 40px;
    border-bottom: 1px solid #eee;
}

.usp-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.usp-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.usp-icon {
    font-size: 24px;
    background-color: #d10000; /* Rode achtergrond */
    color: #ffffff;            /* Wit vinkje */
    margin-bottom: 10px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.usp-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #222;
}

.usp-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Responsiviteit: op mobiel alles onder elkaar */
@media (max-width: 768px) {
    .usp-container {
        flex-direction: column;
        gap: 40px;
    }
}

/* ================= HEADER ================= */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 120px; /* verhoogd van 70px naar 120px */
    background: white;
    display: flex;
    align-items: center; /* verticaal centreren van items */
    justify-content: flex-start; /* tekst naast logo houden */
    padding: 0 60px;
    z-index: 100;
    gap: 20px; /* ruimte tussen logo embleem en tekst */
}

.header img {
    width: 100px; /* vergroot het logo embleem, pas eventueel aan */
    height: auto;
}

.logo {
    font-size: 28px; /* grotere tekst naast logo */
    font-weight: bold;
}

.logo span {
    color: #d10000;
}

.header nav {
    margin-left: auto; /* nav schuift naar rechts */
}

.header nav a {
    margin-left: 30px;
    text-decoration: none;
    color: #222;
    font-weight: 500;
}

/* ================= HOVER EFFECT MENU LINKS ================= */

/* Zorg dat de links in de nav een relatieve positie hebben voor het streepje */
.header nav a:not(.nav-whatsapp) {
    position: relative;
    text-decoration: none;
    padding-bottom: 5px; /* Ruimte voor het streepje */
}

/* Het onzichtbare streepje (de basis) */
.header nav a:not(.nav-whatsapp)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #d10000; /* Jouw DK-T rood */
    transition: width 0.3s ease-in-out;
}

/* Het streepje schuift uit naar rechts bij hover */
.header nav a:not(.nav-whatsapp):hover::after {
    width: 100%;
}

/* Optioneel: Als je wilt dat de tekst zelf ook rood wordt bij hover */
.header nav a:not(.nav-whatsapp):hover {
    color: #d10000;
}
/* ================= HERO ================= */
.hero {
    height: 80vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 100px;
}

.hero-content {
    background: rgba(255,255,255,0.9);
    padding: 40px;
    max-width: 500px;
    /* === Nieuw: plaats iets lager === */
    margin-top: 0px; /* pas dit aan naar wens */
    
    /* === Nieuw: afgeronde rechteronderhoek === */
    border-bottom-right-radius: 70px; /* hoek rechts onder afronden */
    border-bottom-left-radius: 70px; /* hoek rechts onder afronden */
    border-top-right-radius: 0px; /* hoek rechts onder afronden */
    border-top-left-radius: 0px; /* hoek rechts onder afronden */
}

/* TEKSTVAK ACHTERGROND VIA IMG (HERBRUIKBAAR) */
.block-text {
    position: relative;
    overflow: hidden;
}

.block-text .text-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* tekst boven de achtergrond */
.block-text > *:not(.text-bg) {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 42px;
    color: #d10000;
}

.hero p {
    margin: 15px 0 25px;
}

.logo-accent {
    position: absolute;
    right: 0;
    bottom: 60px;
}

.logo-accent img {
    width: 160px;
    opacity: 0.9;
}

.expertise-section .block-text {
    padding: 40px;
}

/* EXPERTISE SECTIE KLEINER MAKEN */
.expertise-section {
    padding: 40px 80px;
}

.expertise-section .block-text {
    padding: 20px;
}

/* ================= EXPERTISE FOTO DESKTOP FIX ================= */
@media (min-width: 1024px) {
    .expertise-section {
        display: flex;
        align-items: flex-start; /* Zorgt dat we weer kunnen 'plakken' */
        gap: 60px;
        padding: 80px 100px;
    }

    .expertise-image {
        flex: 1;
        position: sticky;      /* Hierdoor scrollt hij weer NIET mee */
        top: 150px;            /* Afstand vanaf de bovenkant bij het plakken */
        z-index: 10;
    }

    .expertise-image img {
        width: 100%;
        height: auto;
        min-height: 500px;     /* DIT maakt hem hoger op desktop */
        max-height: 80vh;      /* Voorkomt dat hij groter wordt dan het scherm */
        object-fit: cover;     /* Zorgt dat de foto mooi blijft */
        border-radius: 60px;
        max-width: 100% !important; /* Overschrijft de oude 640px limiet */
    }

    .block-text {
        flex: 1.2;             /* Geeft de tekst iets meer ruimte */
    }
}

/* Mobiel reset (belangrijk zodat hij daar niet blijft plakken) */
@media (max-width: 1023px) {
    .expertise-image {
        position: relative !important;
        top: 0 !important;
    }
    .expertise-image img {
        min-height: auto !important;
        max-height: 350px;
    }
}

/* ================= BLOCKS ================= */
.block {
    display: flex;
    height: 520px;
    background: white;
    margin-top: 0;
    overflow: hidden; /* NODIG voor ronde afsnijding */
}

.block.reverse {
    flex-direction: row-reverse;
}

.block-image {
    flex: 1;
    background-size: cover;
    background-position: center;
}

/* ===== HERO2 SPECIFIEK ===== */
.block-image.hero2 {
    border-top-right-radius: 300px;
    border-bottom-right-radius: 300px;
    transform: translateX(-120%);
    transition: transform 1.1s ease-out;
}

.fade-in.show .block-image.hero2 {
    transform: translateX(0);
}

/* ===== HERO4 SPECIFIEK ===== */
.block-image.hero4 {
    border-top-left-radius: 300px;
    border-bottom-left-radius: 300px;
    overflow: hidden;
    transform: translateX(120%); /* start rechts buiten beeld */
    transition: transform 1.1s ease-out;
}

.fade-in.show .block-image.hero4 {
    transform: translateX(0); /* schuift naar normale positie */
}

.block-image.hero4 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Achtergrond voor Hero4 tekstblok */
/* HERO4 SPECIFIEK */
.block-text.hero4-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px;
    position: relative;
    background: url('../img/hero7background.png') center/cover no-repeat;
}

/* ================= PROJECTEN ================= */
.projects-section {
    padding: 20px 100px;
    background: #f9f9f9;
}

.projects-section h2 {
    font-size: 36px;
    color: #d10000;
    margin-bottom: 50px;
    text-align: center;
    font-weight: 700;
}

.projects-wrapper {
    position: relative;
}

.projects-container {
    display: flex;
    gap: 25px;
    overflow: hidden; /* scrollbalk weg */
    scroll-behavior: smooth;
}

.project-item {
    flex: 0 0 calc(33.333% - 16.66px); /* 3 items zichtbaar met gap */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    background: white;
}

.project-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.project-item:hover img {
    transform: scale(1.05);
}

.project-item:hover {
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* ================= KNOPPEN ================= */
.project-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;              /* kleiner */
    height: 50px;             /* smal en langwerpig */
    background: rgba(0,0,0,0.2); /* subtiel, doorzichtig */
    color: white;
    border: none;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;       /* zachte afgeronde hoeken */
    transition: background 0.3s;
    z-index: 10;
}

.project-nav:hover {
    background: rgba(0,0,0,0.5); /* iets duidelijker bij hover */
}

.project-nav.left { left: 5px; }
.project-nav.right { right: 5px; }


.project-nav.right {
    right: -10px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
    .project-item {
        flex: 0 0 calc(50% - 12.5px); /* 2 zichtbaar */
    }
}

@media (max-width: 768px) {
    .projects-section {
        padding: 60px 20px;
    }
    .project-item {
        flex: 0 0 100%; /* 1 zichtbaar */
    }
    .project-nav {
        font-size: 24px;
        padding: 10px 14px;
    }
}

/* ================= BLOCK TEXT ================= */
.block-text {
    flex: 1;
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.block-text h2 {
    color: #d10000;
    font-size: 32px;
}

/* ================= EXPERTISE ================= */
.expertise-section {
    display: flex;
    align-items: center;
    gap: 60px;              /* was 100px */
    padding: 70px 120px;    /* was 140px 120px */
    background: #f4f4f4;
}

.expertise-image {
    flex: 1;
}

.expertise-image img {
    width: 100%;
    max-width: 640px;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: 140px 60px 140px 60px / 120px 80px 120px 80px; /* organische vorm */
}

.expertise-text {
    flex: 1;
    max-width: 520px;
}

.expertise-text h2 {
    font-size: 30px;
    line-height: 1.3;
    margin-bottom: 30px;
    color: #0b2a4a;
}

.expertise-text h2 span {
    font-weight: 700;
}

.expertise-text p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

/* ================= ANIMATIONS ================= */
.fade-in {
    opacity: 0;
    transform: translateY(60px);
    transition: 0.8s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* ================= BUTTONS ================= */
/* ================= BUTTONS (RONDE STIJL) ================= */
.btn {
    display: inline-block;
    background: #d10000;
    color: white;
    padding: 12px 30px; /* Iets breder gemaakt voor betere verhouding bij ronde hoeken */
    text-decoration: none;
    border-radius: 50px !important; /* Dwingt de ronde vorm af */
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-outline {
    display: inline-flex;     /* Veranderd van inline-block naar inline-flex voor betere centrering */
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    border: 2px solid #d10000;
    padding: 10px 25px;       /* Iets minder breed dan de gevulde knoppen voor balans */
    color: #d10000;
    text-decoration: none;
    border-radius: 50px !important; 
    font-weight: 600;
    transition: all 0.3s ease;
    width: fit-content;       /* DIT IS DE BELANGRIJKSTE REGEL: De knop past zich aan de tekst aan */
}

.btn-outline:hover {
    background: #d10000;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(209, 0, 0, 0.2);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: #d10000;
    color: white;
    border: none;
    border-radius: 50px !important; /* Nu ook de verzendknop in dezelfde stijl */
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    font-size: 16px;
}

/* Hover effecten behouden hun logica */
.btn:hover, .btn-submit:hover {
    background: #b00000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(209, 0, 0, 0.2);
}

.btn-outline:hover {
    background: #d10000;
    color: white;
    transform: translateY(-2px);
}

/* --- DE WHATSAPP HARD RESET --- */
/* ================= WHATSAPP OPTIMALISATIE ================= */

/* 1. Reset: Sluit alle onzichtbare vlakken uit van eerdere pogingen */
.nav-whatsapp::before, 
.nav-whatsapp::after {
    content: none !important;
    display: none !important;
}

/* 2. Desktop Styling */
.nav-whatsapp {
    display: inline-flex !important;
    background-color: #25D366 !important; /* WhatsApp Groen */
    color: white !important;
    padding: 10px 22px !important;
    margin-left: 25px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    transition: all 0.3s ease !important;
    border: none !important;
}

.nav-whatsapp img {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
    background: transparent !important;
}

/* Hover effect voor desktop */
.nav-whatsapp:hover {
    background-color: #128C7E !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
}

/* 3. MOBIEL: ALLEEN LOGO (Gecentreerd zonder witvlak) */
@media (max-width: 1024px) {
    .nav-whatsapp {
        width: 55px !important;       /* Vaste maat voor cirkel */
        height: 55px !important;
        padding: 0 !important;        
        margin: 20px auto !important; /* Horizontaal in het midden van menu */
        display: flex !important;     /* Gebruik flex voor centreren icoon */
        align-items: center !important; 
        justify-content: center !important;
        border-radius: 50% !important;
        background-color: #25D366 !important;
        box-shadow: none !important;
    }

    .nav-whatsapp span {
        display: none !important;     /* Verberg de tekst 'WhatsApp' */
    }

    .nav-whatsapp img {
        width: 32px !important;      /* Maat van het icoon in de cirkel */
        height: 32px !important;
        margin: 0 !important;        /* Reset marges voor perfecte centrering */
        background: transparent !important;
    }
}

/* De donkergroene footer sectie */
.dk-end {
    background: linear-gradient(180deg, #0f2f2a, #102824);
    color: #e8f1ee;
    padding: 80px 60px 20px; /* Onderkant van 100 naar 20 voor minder ruimte */
    position: relative;
}

/* De container voor de 3 kolommen */
.dk-end-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* De copyright balk onderaan */
.dk-bottom {
    grid-column: 1 / -1; /* Zorgt dat hij over alle kolommen heen spant (belangrijk voor centreren) */
    text-align: center;  /* Zet tekst in het midden */
    margin-top: 60px;    /* Ruimte tussen kolommen en de tekst */
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1); /* Subtiel lijntje boven copyright */
    font-size: 13px;
    color: #a8c5be;
    width: 100%;
}

/* Mobiel fix voor de kolommen en copyright */
@media (max-width: 768px) {
    .dk-end-inner {
        grid-template-columns: 1fr; /* Alles onder elkaar op mobiel */
        gap: 40px;
        text-align: center; /* Optioneel: alles op mobiel centreren */
    }
    .dk-bottom {
        margin-top: 30px;
    }
}

/* CHECKLIST */
.dk-checks {
    list-style: none;
    padding: 0;
}

/* Zoek je bestaande .dk-checks li op en voeg dit toe/pas aan: */
.dk-checks li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    color: #d7ebe5; /* De kleur die je al had */
}

/* VOEG DIT TOE: Hiermee dwing je de links om de kleur van het lijstitem te volgen */
.dk-checks li a {
    color: inherit; /* Neemt #d7ebe5 over */
    text-decoration: none; /* Verwijdert de blauwe onderstreping */
}

.dk-end a:hover {
    color: #ffffff !important;
}

.dk-checks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4fd1b0, #2fa88f);
}

/* BOTTOM */
.dk-bottom {
    margin-top: 20px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.15);
    text-align: center;
    font-size: 14px;
    color: #a8c5be;
    width: 100%;
}

/* ================= ABOUT SECTION ================= */
.about-section {
    padding: 100px 60px;
    background: white;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-text {
    flex: 1;
}

.about-text h4 {
    color: #d10000;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.about-text h2 span {
    color: #d10000;
}

.about-text p {
    margin: 20px 0;
    line-height: 1.8;
    color: #555;
}

/* De Statistieken onder de tekst */
.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.stat-item strong {
    display: block;
    font-size: 32px;
    color: #222;
}

.stat-item span {
    color: #d10000;
    font-weight: bold;
    font-size: 14px;
}

/* De Afbeelding met de badge */
.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 20px 20px 0px #f4f4f4; /* Subtiele achtergrondvorm */
}

.image-experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: #d10000;
    color: white;
    padding: 20px;
    border-radius: 10px;
    font-weight: bold;
    box-shadow: 0 10px 20px rgba(209, 0, 0, 0.3);
}

/* MOBIEL VRIENDELIJK */
@media (max-width: 1024px) {
    .about-section {
        padding: 60px 20px;
    }
    .about-content {
        flex-direction: column;
        gap: 40px;
    }
    .about-image {
        order: -1; /* Foto boven tekst op mobiel */
    }
    .image-experience-badge {
        left: 10px;
        bottom: 10px;
    }
}

/* ================= MOBILE OPTIMIZATION (Max 768px) ================= */
@media (max-width: 768px) {
    
    /* 1. Header compacter maken */
    .header {
        height: 80px; /* Lager op mobiel */
        padding: 0 20px;
        justify-content: space-between;
    }

    .header img {
        width: 50px; /* Kleiner logo embleem */
    }

    .logo {
        font-size: 20px; /* Kleinere tekst */
    }

    /* Slogan verbergen op mobiel (neemt te veel ruimte in) */
    .header-slogan {
        display: none;
    }

    /* 2. Hero sectie aanpassen */
    .hero {
        padding-left: 20px;
        padding-right: 20px;
        height: auto;
        min-height: 100vh;
        padding-top: 100px; /* Ruimte voor de fixed header */
        justify-content: center;
    }

    .hero-content {
        max-width: 100%;
        padding: 30px 20px;
        text-align: center;
        border-radius: 40px; /* Iets subtielere ronding op mobiel */
    }

    .hero h1 {
        font-size: 32px;
    }

    /* 3. De Blocks (Hero2 & Hero4) onder elkaar zetten */
    .block, .block.reverse {
        flex-direction: column; /* Stapelen in plaats van naast elkaar */
        height: auto;
    }

    .block-image {
        height: 250px; /* Vaste hoogte voor de foto op mobiel */
        width: 100%;
    }

    /* De animatie-transformaties uitzetten op mobiel voor betere performance */
    .block-image.hero2, .block-image.hero4 {
        transform: none !important;
        border-radius: 0; /* Ronde hoeken weg op mobiel voor strakke look */
    }

    .block-text {
        padding: 40px 20px;
    }

    /* 4. Expertise Sectie */
    .expertise-section {
        flex-direction: column;
        padding: 40px 20px;
        gap: 30px;
    }

    .expertise-image img {
        border-radius: 40px; /* Simpelere vorm op mobiel */
    }

    /* 5. Footer (DK-End) */
    .dk-end-inner {
        grid-template-columns: 1fr; /* Alles in 1 kolom */
        gap: 40px;
        padding: 0 20px;
    }

    .dk-end {
        padding: 60px 20px 30px;
    }
}

/* Standaard verbergen we de toggle op desktop */
.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.bar {
    width: 30px;
    height: 3px;
    background-color: #222;
    transition: 0.3s;
}

/* MOBIELE STYLING (Max 1024px) */
@media (max-width: 1024px) {
    .header-slogan { display: none !important; }

    /* Zorg dat de hamburger zichtbaar is rechts */
    .menu-toggle { 
        display: flex !important; 
        margin-left: auto; /* Duwt hem naar rechts */
        z-index: 1001;
    }

    /* Het menu dat openschuift */
    .nav-menu {
        position: fixed;
        top: 0; 
        right: -100%; /* Start volledig rechts buiten beeld */
        width: 50%; /* Iets smaller dan het hele scherm is chiquer */
        height: 55vh;
        background: white;
        display: flex; /* Forceer flexbox voor verticale lijst */
        flex-direction: column;
        justify-content: center; /* Alles in het midden van het scherm */
        align-items: center;
        transition: 0.5s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        z-index: 1000;
        margin: 0; /* Reset margins van desktop */
    }

    .nav-menu.active {
        right: 0; /* Schuift in vanaf rechts */
    }

    /* Styling van de tekst-links op mobiel */
    .nav-menu a {
        margin-left: 0 !important; /* Reset desktop margin */
        padding: 15px 0;
        font-size: 22px; /* Iets groter voor leesbaarheid */
        width: 100%;
        text-align: center;
        background: none !important; /* Geen grijze vlakken */
        border: none !important;
    }

/* Zorg dat de dropdown container de volledige breedte pakt */
    .dropdown {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    /* De hoofdlink 'Wat wij doen' */
    .dropdown > a {
        font-weight: bold;
        margin-bottom: 10px !important;
    }

    /* De box met de 4 opties */
    .dropdown-content {
        display: flex !important; /* Maak zichtbaar */
        flex-direction: column;   /* Zet ze onder elkaar, niet naast elkaar */
        align-items: center;      /* Centreer de tekst */
        position: static !important; /* Haal uit de zwevende stand */
        background: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        width: 100%;
    }

    /* De 4 sub-opties (Elektra, Data, etc.) */
    .dropdown-content a {
        font-size: 16px !important;  /* Iets kleiner */
        color: #d10000 !important;   /* Kleuraccent voor de diensten */
        padding: 5px 0 !important;   /* Minder witruimte tussen de kleine letters */
        margin: 0 !important;
        opacity: 0.8;                /* Iets subtieler dan de hoofdlinks */
    }

    /* De Animatie van de streepjes */
    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (max-width: 768px) {
    .usp-section {
        padding: 30px 10px;
        background: #F5F5F5; /* Zelfde als desktop */
        overflow-x: auto;    /* Zorg dat het swipable blijft als het scherm te smal is */
    }

    .usp-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between; /* Verdeel ze netjes over de breedte */
        gap: 10px;
        padding: 0;
    }

    .usp-item {
        flex: 1;             /* Zorg dat ze alle 4 evenveel ruimte pakken */
        background: none !important; /* Haal het witte vakje weg */
        box-shadow: none !important; /* Haal de schaduw weg */
        padding: 0;
        min-width: 85px;     /* Voorkom dat ze té klein worden op smalle telefoons */
    }

    .usp-icon {
        background-color: #d10000 !important; /* Zorg dat de cirkel rood blijft */
        color: #ffffff !important;           /* Forceer het vinkje op wit */
        width: 40px;
        height: 40px;
        font-size: 18px;
        margin: 0 auto 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }

    .usp-item h3 {
        font-size: 12px;     /* Iets kleiner om naast elkaar te passen */
        white-space: normal; /* Laat tekst eventueel verspringen naar 2 regels */
        margin-bottom: 4px;
    }

    .usp-item p {
        display: none;       /* Verberg de kleine tekst op mobiel voor een strakke look */
    }
}

@media (max-width: 768px) {
    /* 1. Maak de header compacter op mobiel */
    .header {
        height: 70px !important; /* Lager, zodat er meer ruimte overblijft voor de content */
    }

    /* 2. Verlaag de Hero hoogte en padding */
    .hero {
        height: auto !important;
        min-height: 650px !important; /* Niet meer het hele scherm vullend */
        padding-top: 90px !important; /* Ruimte onder de header */
        padding-bottom: 20px !important;
        background-position: center top !important; /* Zorg dat het gezicht/focuspunt v/d foto bovenin blijft */
    }

    .hero-content {
        margin-top: 0 !important;
        padding: 20px !important;
        border-radius: 20px !important; /* Iets minder lomp op mobiel */
    }

    .hero h1 {
        font-size: 26px !important; /* Iets kleiner om ruimte te winnen */
        margin-bottom: 10px !important;
    }

    .hero p {
        font-size: 14px !important;
        margin-bottom: 15px !important;
        line-height: 1.4 !important;
    }

    /* 3. Zorg dat de USP-sectie strak aansluit */
    .usp-section {
        padding: 15px 10px !important;
        margin-top: 0 !important;
    }
}

/* Zorg dat secties stoppen onder de header in plaats van erachter */
section[id] {
    scroll-margin-top: 120px; /* Dit moet gelijk zijn aan de hoogte van je header */
}

/* Op mobiel is de header lager (70px), dus passen we de marge daar aan */
@media (max-width: 1024px) {
    section[id] {
        scroll-margin-top: 70px; 
    }
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none; /* Geen streep onder het logo */
    color: inherit;        /* Behoud de zwarte/rode kleuren */
    gap: 20px;             /* Ruimte tussen embleem en tekst */
}

.logo-link:hover {
    opacity: 0.9;          /* Subtiele feedback als je eroverheen gaat */
}

/* Zorg dat de scroll-behavior op smooth staat voor een fijn effect */
html {
    scroll-behavior: smooth;
}

@media (max-width: 1024px) {
    .about-image img {
        width: 100% !important;
        height: auto !important;
        max-width: 100%;
        display: block;
    }
    .about-content {
        flex-direction: column; /* Foto boven tekst op mobiel */
    }
}
@media (max-width: 1024px) {
    .about-image img {
        width: 100% !important;
        height: auto !important;
        max-width: 100%;
    }
}

.contact-section { padding: 80px 60px; background: #fff; }
.contact-container { 
    max-width: 1200px; margin: 0 auto; 
    display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px;
}

.contact-info h2 span { color: #d10000; }
.info-item { display: flex; align-items: center; gap: 15px; margin-top: 20px; }
.info-icon { background: #f4f4f4; padding: 10px; border-radius: 50%; }

/* Formulier Styling */
.contact-form-wrapper { background: #f9f9f9; padding: 40px; border-radius: 25px; position: relative; }
.form-group { margin-bottom: 20px; }
.form-group input, .form-group textarea {
    width: 100%; padding: 15px; border: 1px solid #ddd; border-radius: 10px;
    font-size: 16px; outline: none; transition: 0.3s;
}
.form-group input:focus, .form-group textarea:focus { border-color: #d10000; }

.btn-submit {
    width: 100%; padding: 15px; background: #d10000; color: white;
    border: none; border-radius: 10px; font-weight: bold; cursor: pointer; transition: 0.3s;
}
.btn-submit:hover { background: #b00000; transform: translateY(-2px); }

/* Succes melding */
.hidden { display: none; }
#form-response { text-align: center; padding: 20px; }
.success-icon { 
    font-size: 40px; color: white; background: #28a745; 
    width: 80px; height: 80px; line-height: 80px; 
    border-radius: 50%; margin: 0 auto 20px; 
}

@media (max-width: 768px) {
    .contact-container { grid-template-columns: 1fr; gap: 40px; }
    .contact-section { padding: 60px 20px; }
}


/* Logo in de linker kolom van de footer */
/* Logo centreren in de linker kolom */
.footer-col-logo {
    width: 140px;          /* Iets groter gemaakt voor de zichtbaarheid */
    height: auto;
    display: block;        /* Nodig om margin: auto te laten werken */
    margin: 25px auto 0;   /* 25px ruimte boven, 'auto' links en rechts voor centrering */
    opacity: 0.9;
}

/* Op mobiel centreert de hele kolom vaak, dus dan ook het logo */
@media (max-width: 768px) {
    .footer-col-logo {
        margin-left: auto;
        margin-right: auto;
        width: 100px;      /* Iets kleiner op mobiel scherm */
    }
}

/* ================= MERKEN SLIDER ================= */
.brands-section {
    background: #f9f9f9;
    padding: 20px 0;
    border-top: 1px solid #eee;
    overflow: hidden;
}

.brands-title {
    text-align: center;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 40px;
    font-weight: 600;
}

.brands-slider {
    display: flex;
    width: 100%;
}

.brands-track {
    display: flex;
    width: calc(250px * 12); /* Pas dit aan op basis van aantal logo's */
    animation: scroll 40s linear infinite;
}

.brand-item {
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}

.brand-item img {
    max-width: 150px;
    max-height: 50px;
    filter: grayscale(100%);
    opacity: 0.6; /* Iets transparanter maakt het nog rustiger */
    transition: all 0.4s ease-in-out;
}

.brand-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1); /* Het logo wordt ook ietsje groter als je eroverheen gaat */
}

/* De animatie die de balk laat schuiven */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 6)); } /* De helft van de track breedte */
}

/* Mobiel: Iets sneller scrollen of minder logo's zichtbaar */
@media (max-width: 768px) {
    .brands-section { padding: 40px 0; }
    .brand-item { width: 150px; padding: 0 20px; }
    @keyframes scroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-150px * 6)); }
    }
}

/* SPECIFIEKE STYLING VOOR DROPDOWN (GEEN RONDE HOEKEN) */
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 4px !important; /* Subtiele hoek in plaats van rond */
    font-size: 16px;
    color: #555;
    background-color: white;
    outline: none;
    appearance: none; /* Verwijdert standaard browser pijltje */
    cursor: pointer;
    
    /* Voegt een subtiel rood pijltje toe aan de rechterkant */
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="%23d10000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg>');
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;
}

.form-group select:focus {
    border-color: #d10000;
}

/* Contact Knoppen Styling */
/* De container voor de knoppen */
/* Contact Knoppen DK-T */
/* De container */
.contact-action-wrapper {
    margin: 30px 0;
}

.contact-action-buttons {
    display: flex;
    gap: 15px;
}

/* De algemene stijl voor de bollen */
.c-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 30px;
    transition: all 0.3s ease;
    border: none;
}

/* Specifieke kleuren per knop (gebaseerd op je plaatje) */

/* Mail - Roodachtig */
.c-mail { 
    background-color: #ffe5e5; /* Zacht rood */
    color: #ff4d4d;            /* Fel rood */
}

/* Telefoon - Blauwachtig */
.c-phone { 
    background-color: #e5f1ff; /* Zacht blauw */
    color: #007bff;            /* Fel blauw */
}

/* Locatie - Oranje/Geelachtig */
.c-location { 
    background-color: #fff4e5; /* Zacht oranje */
    color: #ff9800;            /* Fel oranje */
}

/* WhatsApp - Groenachtig */
.c-whatsapp { 
    background-color: #e5f9e9; /* Zacht groen */
    color: #25D366;            /* Fel groen */
}

/* Hover effecten */
.c-btn:hover {
    transform: translateY(-5px);
    filter: brightness(0.95);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* WhatsApp Icoon styling */
.c-btn img {
    width: 32px; /* Iets groter dan de tekst-icoontjes voor balans */
    height: 32px;
    object-fit: contain;
}

/* ================= CONTACT INFO TUNING ================= */
.contact-info h4 {
    color: #d10000;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px; /* Iets minder ruimte naar de H2 */
    font-weight: 600;
    font-size: 16px;
    display: block;
}

.contact-visual {
    width: 300px;           /* Ietsje smaller gemaakt voor betere verhouding */
    height: auto;
    margin-bottom: 15px;    /* Korter op het woord CONTACT */
    margin-left: 0;         /* Zet hem strak links, gelijk met het woord CONTACT */
    display: block;
    position: relative;
    z-index: 1;
}

.contact-visual img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    animation: floatSoft 5s ease-in-out infinite;
}

/* ================= CONTACT VISUAL OPVULLER ================= */
/* De container voor de foto */
/* ================= CONTACT VISUAL OPVULLER ================= */
.contact-visual {
    width: 350px;           /* Jouw gewenste breedte */
    height: auto;           /* DIT IS DE FIX: De hoogte past zich aan de foto aan */
    margin-bottom: 25px;
    margin-left: 40px;     
    display: block;
    position: relative;
    z-index: 1;
}

.contact-visual img {
    width: 100%;            /* Vult de 350px breedte */
    height: auto;           /* Behoudt de originele verhouding van de foto */
    display: block;         
    object-fit: contain;    /* Garandeert dat de hele foto zichtbaar is */
    border-radius: 25px;    
    
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    animation: floatSoft 5s ease-in-out infinite;
}

/* Animatie voor het rustige zweven */
@keyframes floatSoft {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Op mobiel: iets smaller maken om op het scherm te passen */
@media (max-width: 768px) {
    .contact-visual {
        margin-left: auto;
        margin-right: auto;
        width: 85%;         /* Neemt 85% van de breedte van het scherm in */
        max-width: 280px;
}
    
    p, h2, h4 {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}


.expertise-grid {
    display: grid;
    grid-template-columns: 1fr; /* Onder elkaar op mobiel */
    gap: 20px;
    margin: 25px 0;
}

.expertise-item h5 {
    color: #d10000;
    font-size: 18px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.expertise-item h5 {
        white-space: nowrap;       /* Dwingt de tekst op één regel */
        font-size: 16px !important; /* Maakt de tekst iets kleiner zodat hij past */
        letter-spacing: -0.5px;    /* Zet de letters iets dichter op elkaar */
    }

    .block-text {
        padding: 40px 15px !important; /* Iets minder zij-ruimte geeft de tekst meer plek */
    }
}

.expertise-item p {
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
}

.expertise-footer {
    border-top: 1px solid #ddd;
    padding-top: 20px;
    margin-top: 10px;
}

/* Voor grotere schermen: de items naast elkaar of in twee kolommen */
@media (min-width: 768px) {
    .expertise-grid {
        grid-template-columns: 1fr; /* Je kunt dit op 1fr laten als de ruimte smal is, of 1fr 1fr voor twee kolommen */
    }
}

@media (max-width: 768px) {
    .hero-content .btn {
        display: block;      /* Zorgt dat ze onder elkaar komen staan */
        margin-bottom: 15px; /* Geeft de ruimte tussen de knoppen */
        width: 100%;         /* Optioneel: maakt de knoppen even breed, wat rustiger oogt op mobiel */
    }

    .hero-content .btn:last-child {
        margin-bottom: 0;    /* De laatste knop heeft geen ruimte eronder nodig */
    }
    .projects-container {
        overflow-x: auto; /* Zorgt dat je met je vinger kunt schuiven */
        scroll-snap-type: x mandatory; /* Zorgt dat foto's 'vastklikken' in het midden */
        -webkit-overflow-scrolling: touch; /* Maakt het soepel op iPhones */
    }
    
    .project-item {
        scroll-snap-align: center; /* De foto die je swiped stopt precies in het midden */
    }

    .project-nav {
        display: none; /* Op mobiel hebben swipende mensen geen pijltjes nodig, dat oogt rustiger */
    }
}

html, body {
    cursor: default; /* Dwingt de normale pijl af op de achtergrond */
    -webkit-user-select: none; /* Optioneel: voorkomt dat mensen per ongeluk tekst selecteren bij het swipen */
    user-select: none;
}

p, h1, h2, h3, h4, h5, span, input, textarea {
    cursor: auto; /* Alleen bij tekst en invoervelden mag de cursor veranderen */
    user-select: text; /* Hier mag tekst wel geselecteerd worden */
}

/* Verfijnde Hamburger naar X Animatie */
@media (max-width: 1024px) {
    /* De streepjes iets dunner maken voor een elegantere look */
    .bar {
        height: 2px; /* Was 3px, dunner is chiquer */
        width: 25px; /* Iets minder breed */
        background-color: #333; /* Iets zachter zwart */
    }

    /* De animatie zelf */
    .menu-toggle.is-active .bar:nth-child(2) { 
        opacity: 0; 
        transform: translateX(10px); 
    }

    .menu-toggle.is-active .bar:nth-child(1) { 
        transform: translateY(8px) rotate(45deg); 
        background-color: #d10000; /* De X wordt rood bij activatie */
    }

    .menu-toggle.is-active .bar:nth-child(3) { 
        transform: translateY(-8px) rotate(-45deg); 
        background-color: #d10000;
    }
}
