/* --- ALGEMEEN & RE-SET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333333;
    line-height: 1.6;
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- 1. ANTRACIET MENUBALK --- */
.main-header {
    background-color: #2b2b2b;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #3d3d3d;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 45px;
    display: block;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav ul li {
    margin-left: 25px;
}

.main-nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: #cccccc;
}

/* De Hamburger Menuknop (standaard verborgen op PC) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* --- 2. HERO SECTIE (Met Foto & Tekst) --- */
.hero-section {
    position: relative;
    background: url('Afbeeldingen/Besturingstechniek.png') no-repeat center center/cover;
    padding: 100px 0;
    color: #ffffff;
}

/* Donkere overlay zodat witte tekst altijd perfect leesbaar is (SEO proof!) */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); 
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-intro {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #e0e0e0;
}

.hero-body {
    font-size: 16px;
    margin-bottom: 30px;
    color: #cccccc;
}

/* Call to action knop */
.btn {
    display: inline-block;
    padding: 12px 28px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.btn-primary {
    background-color: #ffffff;
    color: #2b2b2b;
}

.btn-primary:hover {
    background-color: #e6e6e6;
}

/* --- 3. KERNPUNTEN MET IN-VIEW ANIMATIE --- */
.features-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 50px;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #fdfdfd;
    padding: 30px 20px;
    border-radius: 6px;
    text-align: center;
    border: 1px solid #eeeeee;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.feature-icon-wrapper {
    margin-bottom: 20px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #2b2b2b;
}

.feature-card p {
    font-size: 14px;
    color: #666666;
}

.contact-icon {
    width: 15px;
    height: 15px;
    object-fit: contain;
}

/* CSS Animatie: Schuift subtiel 30px omhoog en fade-in bij laden */
@keyframes slideUpIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated-card {
    animation: slideUpIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

/* Staggered delay zodat de blokken één voor één in beeld komen */
.features-grid .feature-card:nth-child(1) { animation-delay: 0.1s; }
.features-grid .feature-card:nth-child(2) { animation-delay: 0.3s; }
.features-grid .feature-card:nth-child(3) { animation-delay: 0.5s; }
.features-grid .feature-card:nth-child(4) { animation-delay: 0.7s; }

/* --- 4. CONTACTBALK FOOTER --- */
.main-footer {
    background-color: #2b2b2b;
    color: #ffffff;
    padding: 50px 0;
    border-top: 4px solid #3d3d3d;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-cta {
    /*max-width: 650px;
    new*/
    flex: 2;
    min-width: 300px;
    max-width: 500px;
}

.footer-cta h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-cta p {
    color: #cccccc;
    font-size: 15px;
}

.footer-employee {
    flex: 1;
    min-width: 150px;
    max-width: 180px; /* Houd de foto compact en subtiel */
    display: flex;
    justify-content: center;
}

.footer-img {
    width: 100%;
    height: auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    object-fit: cover;
}


.footer-info {
    font-size: 15px;
    line-height: 1.8;
    flex: 1;
    min-width: 220px;
}

.footer-info a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-info a:hover {
    color: #cccccc;
}

/* --- FOOTER CTA-KNOP & COPYRIGHT --- */
.footer-cta .footer-btn {
    margin-top: 20px;
    display: inline-block;
}

.copyright {
    width: 100%;
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #3d3d3d;
    color: #999999;
    font-size: 13px;
}


/* --- SMARTPHONE & TABLET STYLING (RESPONSIVE) --- */
@media (max-width: 768px) {
    /* Activeer de mobiele menuknop */
    .menu-toggle {
        display: flex;
    }

    /* Verberg het standaard menu en zet het klaar als dropdown */
    .main-nav {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #2b2b2b;
        border-top: 1px solid #3d3d3d;
        padding: 20px 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    }

    /* Klap het menu verticaal uit als de .open klasse actief is */
    .main-nav.open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .main-nav ul li {
        margin: 12px 0;
    }

    /* Transformeer hamburger-streepjes naar een 'X' bij opengeklapt menu */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Tekstversmalling voor mobiele schermen */
    .hero-section {
        padding: 80px 0;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .footer-flex {
        flex-direction: column;
        text-align: center;
    }
      .footer-employee {
        margin: 10px 0;
    }
}


/* --- DIENSTENPAGINA STYLING --- */
.services-header {
    background-color: #f1f1f1;
    padding: 60px 0;
    border-bottom: 1px solid #e0e0e0;
}

.services-header h1 {
    font-size: 32px;
    color: #2b2b2b;
    margin-bottom: 10px;
}

.services-header p {
    font-size: 16px;
    color: #666666;
    max-width: 700px;
}

.services-detail-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.service-row {
    padding: 40px 0;
    border-bottom: 1px solid #eeeeee;
}

.service-row:last-child {
    border-bottom: none; /* Verwijdert de lijn bij het laatste item */
}

.service-text {
    max-width: 800px;
    position: relative;
}

.service-number {
    font-size: 14px;
    font-weight: 700;
    color: #999999;
    display: block;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.service-text h2 {
    font-size: 24px;
    color: #2b2b2b;
    margin-bottom: 15px;
}

.service-text p {
    font-size: 15px;
    color: #555555;
    margin-bottom: 15px;
    line-height: 1.7;
}

.service-text p strong {
    color: #2b2b2b;
}

/* Mobiele responsive aanpassing voor diensten */
@media (max-width: 768px) {
    .services-header {
        padding: 40px 0;
        text-align: center;
    }
    .service-row {
        padding: 30px 0;
    }
}

/* --- INTRALOGISTIEK PAGINA STYLING --- */
.intro-section {
    padding: 60px 0 30px 0;
    background-color: #ffffff;
}

.intro-text h2 {
    font-size: 26px;
    color: #2b2b2b;
    margin-bottom: 15px;
}

.intro-text p {
    font-size: 16px;
    color: #555555;
    max-width: 900px;
}

.logistics-features {
    padding: 40px 0 60px 0;
    background-color: #ffffff;
}

.sub-title {
    font-size: 24px;
    color: #2b2b2b;
    margin-bottom: 35px;
    text-align: left;
}

.logistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(45%, 1fr));
    gap: 30px;
}

.logistics-card {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 6px;
    border-left: 4px solid #2b2b2b; /* Antraciet accentlijn */
    border-top: 1px solid #eeeeee;
    border-right: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
}

.logistics-card h3 {
    font-size: 19px;
    color: #2b2b2b;
    margin-bottom: 12px;
}

.logistics-card p {
    font-size: 14px;
    color: #555555;
    line-height: 1.6;
}

.wide-approach-section {
    padding: 60px 0;
    background-color: #f1f1f1;
}

.approach-box {
    max-width: 900px;
}

.approach-box h2 {
    font-size: 24px;
    color: #2b2b2b;
    margin-bottom: 20px;
}

.approach-box p {
    font-size: 15px;
    color: #555555;
    margin-bottom: 15px;
    line-height: 1.7;
}

/* Responsive voor mobiel */
@media (max-width: 768px) {
    .logistics-grid {
        grid-template-columns: 1fr;
    }
    .intro-text h2, .sub-title, .approach-box h2 {
        font-size: 22px;
    }
}

/* --- PROJECTENPAGINA STYLING --- */
.projects-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.project-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

.project-card:last-child {
    margin-bottom: 0;
}

.project-content-flex {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.project-image-wrapper {
    flex: 1;
    max-width: 380px;
    min-width: 280px;
}

.project-img-main {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #eeeeee;
}

.project-details {
    flex: 2;
}

.project-tag {
    display: inline-block;
    background-color: #2b2b2b; /* Huisstijl Antraciet */
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-details h2 {
    font-size: 24px;
    color: #2b2b2b;
    margin-bottom: 12px;
}

.project-intro {
    font-size: 15px;
    color: #555555;
    margin-bottom: 25px;
    line-height: 1.6;
}

.project-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    border-top: 1px solid #eeeeee;
    padding-top: 20px;
}

.project-specs-grid h4 {
    font-size: 14px;
    color: #2b2b2b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.project-specs-grid p {
    font-size: 13.5px;
    color: #666666;
    line-height: 1.6;
}

.project-carousel .carousel-btn:focus-visible {
    opacity: 1;
}

/* Subtiele in-fade voor de projectkaarten */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-project {
    animation: fadeIn 0.6s ease-out both;
}

/* --- INTRALOGISTIEK & MACHINEBOUW CAROUSEL --- */
.project-carousel {
    position: relative;
    width: 100%;
    height: 250px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #eeeeee;
}

.carousel-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    z-index: 1;
}

/* De actieve foto die getoond moet worden */
.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Navigatieknoppen styling */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(43, 43, 43, 0.7); /* Antraciet met transparantie */
    color: #ffffff;
    border: none;
    font-size: 18px;
    padding: 10px 14px;
    cursor: pointer;
    border-radius: 4px;
    z-index: 10;
    opacity: 0; /* Standaard onzichtbaar voor een rustige look */
    transition: opacity 0.3s ease, background-color 0.2s ease;
}

/* Knoppen worden pas zichtbaar als je met de muis over de kaart beweegt */
.project-carousel:hover .carousel-btn {
    opacity: 1;
}

.carousel-btn:hover {
    background-color: rgba(43, 43, 43, 0.9);
}

.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

/* Mobiele responsive aanpassing: pijltjes altijd subtiel zichtbaar op touchscreens */
@media (max-width: 768px) {
    .project-carousel {
        height: 200px;
    }
    .carousel-btn {
        opacity: 0.6;
        padding: 8px 12px;
        font-size: 16px;
    }
}


/* Responsive voor tablets en smartphones */
@media (max-width: 992px) {
    .project-content-flex {
        flex-direction: column;
        gap: 25px;
    }
    
    .project-image-wrapper {
        max-width: 100%;
        width: 100%;
    }
    
    .project-img-main {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .project-specs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .project-details h2 {
        font-size: 20px;
    }
}

/* --- CONTACTPAGINA STYLING --- */
   .contact-section {
            padding: 60px 0;
            background-color: #ffffff;
        }

        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1.2fr;
            gap: 50px;
            align-items: start;
        }

        .contact-info h2 {
            font-size: 26px;
            color: #2b2b2b;
            margin-bottom: 15px;
        }

        .contact-info-intro {
            font-size: 15px;
            color: #555555;
            margin-bottom: 30px;
            line-height: 1.7;
        }

        .contact-method {
            display: flex;
            align-items: flex-start;
            gap: 15px;
            background: #f9f9f9;
            padding: 18px 22px;
            border-left: 4px solid #2b2b2b;
            border-top: 1px solid #eeeeee;
            border-right: 1px solid #eeeeee;
            border-bottom: 1px solid #eeeeee;
            border-radius: 0 6px 6px 0;
            margin-bottom: 20px;
            transition: background 0.3s ease;
        }

        .contact-method:hover {
            background: #f1f1f1;
        }

        .contact-method img {
            width: 22px;
            height: 22px;
            object-fit: contain;
            margin-top: 3px;
        }

        .contact-method-label {
            display: block;
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: #999999;
            margin-bottom: 4px;
        }

        .contact-method-value {
            font-size: 16px;
            font-weight: 600;
            color: #2b2b2b;
        }

        .contact-method a.contact-method-value {
            text-decoration: none;
        }

        .contact-method a.contact-method-value:hover {
            color: #555555;
        }

        /* Formulier */
        .contact-form-card {
            background: #f9f9f9;
            border: 1px solid #eeeeee;
            border-radius: 6px;
            padding: 35px;
        }

        .contact-form-card h2 {
            font-size: 24px;
            color: #2b2b2b;
            margin-bottom: 8px;
        }

        .contact-form-sub {
            font-size: 14px;
            color: #666666;
            margin-bottom: 25px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            font-size: 14px;
            font-weight: 600;
            color: #2b2b2b;
            margin-bottom: 6px;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 12px 14px;
            border: 1px solid #dddddd;
            border-radius: 4px;
            font-family: 'Inter', sans-serif;
            font-size: 14px;
            color: #333333;
            background-color: #ffffff;
            transition: border-color 0.3s ease;
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #2b2b2b;
        }

        .form-group textarea {
            resize: vertical;
            min-height: 140px;
        }

        .form-row-2 {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .btn-submit {
            display: inline-block;
            width: 100%;
            padding: 14px 32px;
            background-color: #2b2b2b;
            color: #ffffff;
            border: none;
            border-radius: 4px;
            font-family: 'Inter', sans-serif;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.3s ease;
        }

        .btn-submit:hover {
            background-color: #3d3d3d;
        }

        .form-check {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            margin-bottom: 25px;
        }

        .form-check input {
            margin-top: 3px;
            width: 15px;
            height: 15px;
            accent-color: #2b2b2b;
            flex-shrink: 0;
        }

        .form-check label {
            font-size: 13px;
            color: #666666;
            line-height: 1.5;
        }

        .form-check label a {
            color: #2b2b2b;
        }

        /* Honeypot: onzichtbaar veld tegen spam */
        .hp-field {
            position: absolute;
            left: -9999px;
            opacity: 0;
            height: 0;
            width: 0;
        }

        /* Footer: CTA-knop en copyright (zelfde regels als de toevoeging aan style.css) */
        .footer-cta .footer-btn {
            margin-top: 20px;
            display: inline-block;
        }

        .copyright {
            width: 100%;
            text-align: center;
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid #3d3d3d;
            color: #999999;
            font-size: 13px;
        }

        .copyright a {
            color: #999999;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .copyright a:hover {
            color: #ffffff;
        }

        /* Bevestiging na verzending */
        .form-success {
            background: #e8f5e9;
            border: 1px solid #a5d6a7;
            border-left: 4px solid #2e7d32;
            color: #2e7d32;
            font-size: 14px;
            font-weight: 600;
            padding: 14px 18px;
            border-radius: 4px;
            margin-bottom: 20px;
        }

        .form-error {
            background: #fdecea;
            border: 1px solid #f5c6cb;
            border-left: 4px solid #c62828;
            color: #c62828;
            font-size: 14px;
            font-weight: 600;
            padding: 14px 18px;
            border-radius: 4px;
            margin-bottom: 20px;
        }

        /* Wat u kunt verwachten */
        .steps-section {
            padding: 60px 0;
            background-color: #f1f1f1;
        }

        .steps-title {
            font-size: 24px;
            color: #2b2b2b;
            margin-bottom: 35px;
            text-align: left;
        }

        .steps-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }

        .step-card {
            background: #ffffff;
            padding: 30px 25px;
            border-radius: 6px;
            border: 1px solid #eeeeee;
            box-shadow: 0 4px 6px rgba(0,0,0,0.02);
        }

        .step-number {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: #2b2b2b;
            color: #ffffff;
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 15px;
        }

        .step-card h3 {
            font-size: 17px;
            color: #2b2b2b;
            margin-bottom: 8px;
        }

        .step-card p {
            font-size: 14px;
            color: #666666;
            line-height: 1.6;
        }

        /* Responsive */
        @media (max-width: 992px) {
            .contact-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }
        }

        @media (max-width: 768px) {
            .contact-section {
                padding: 40px 0;
            }
            .steps-grid {
                grid-template-columns: 1fr;
            }
            .form-row-2 {
                grid-template-columns: 1fr;
                gap: 0;
            }
            .contact-form-card {
                padding: 25px 20px;
            }
            .steps-title,
            .contact-info h2 {
                font-size: 22px;
            }
        }
        
/* --- PRIVACYPAGINA STYLING --- */

             .privacy-update {
            font-size: 13px;
            color: #999999;
            margin-bottom: 35px;
        }

        .service-text ul {
            margin: 0 0 15px 20px;
        }

        .service-text ul li {
            font-size: 15px;
            color: #555555;
            line-height: 1.7;
            margin-bottom: 4px;
        }

        .copyright a {
            color: #999999;
            text-decoration: none;
        }

        .copyright a:hover {
            color: #ffffff;
        }