
/* ===================== VCA SECTIE ===================== */
#vca {
    padding: 40px 20px 80px 20px; /* top | rechts | bottom | links */
    text-align: center;
    transition: padding 0.5s ease; /* soepele overgang bij schermverandering */
}

/* VCA titels en paragrafen */
#vca h2 {
    color: #FFD700;
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: bold;
    transition: font-size 0.5s ease;
}

#vca h3 {
    color: #FFD700;
    transition: font-size 0.5s ease;
}

#vca p {
    color: white;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 20px;
    transition: font-size 0.5s ease, line-height 0.5s ease;
}

/* MOBIEL (portrait) */
@media (max-width: 768px) and (orientation: portrait) {
    #vca {
        padding: 0 20px 160px 20px; /* verlaag top-padding soepel naar 0 */
    }

    #vca h2 {
        font-size: 2rem;
    }

    #vca h3 {
        font-size: 1.5rem;
    }

    #vca p {
        font-size: 1rem;
        line-height: 1.4;
    }
}

/* Tablet & smal desktop */
@media (max-width: 992px) {
    #vca {
        padding-bottom: 120px;
        margin-bottom: 60px;
    }
}





/* ===================== Onderhoud.nl Blok ===================== */
.onderhoud-logo-blok {
    text-align: center;
    margin-top: 60px;
}

.onderhoud-logo {
    height: 60px;
    margin-bottom: 20px;
}

.onderhoud-ondertekst h2 {
    margin-bottom: 5px;
    font-size: 1.5rem;
    color: #FFD700;
    transition: font-size 0.5s ease;
}

.onderhoud-ondertekst h1 {
    color: #FFD700;
    margin-bottom: 5px;
    font-size: 1.8rem;
    transition: font-size 0.5s ease;
}

.onderhoud-ondertekst p {
    margin-top: 0;
    font-size: 1rem;
    line-height: 1.4;
    color: white;
    transition: font-size 0.5s ease, line-height 0.5s ease;
}

/* ===================== Onderhoud-ondertekst breedte ===================== */
/* Mobiel: full width */
.onderhoud-ondertekst {
    width: 90%;
    max-width: 100%;
    margin: 0 auto;
    font-family: "Lato", sans-serif;
    line-height: 1.5em;
    box-sizing: border-box;
    transition: width 0.5s ease;
}

/* Desktop: smaller en gecentreerd */
@media (min-width: 992px) {
    .onderhoud-ondertekst {
        width: 60%;
    }
}


/* ===================== SLIDES ===================== */
#home {
    position: relative;
    width: 100%;
    height: calc(100vh - 60px); /* schuift niet onder navbar */
    overflow: hidden;
}

.mySlides {
    display: none;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
}

.animate-opacity {
    animation: fade 1.5s;
}

@keyframes fade {
    from { opacity: 0.4; }
    to   { opacity: 1; }
}

.slide_1 { background-image: url('../images/caroucel/car_01.jpg'); }
.slide_2 { background-image: url('../images/caroucel/car_02.jpg'); }
.slide_3 { background-image: url('../images/caroucel/car_03.jpg'); }
.slide_4 { background-image: url('../images/caroucel/car_04.jpg'); }




/* ===================== BEDRIJF SECTIE ===================== */
.bedrijf-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 30px;
}

.bedrijf-item {
    text-align: center;
    max-width: 300px;
    flex-shrink: 0;
}

.bedrijf-item-img {
    width: 100%;
    max-width: 360px;
    height: auto;
    border: 2px solid #FFD700;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0 auto;
}

.bedrijf-item-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.bedrijf-item p {
    color: #FFD700;
    font-size: 1.2rem;
    margin-top: 10px;
}

/* TITEL EN TEKST */
.bedrijf-titel {
    text-align: center;
    color: #FFD700;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.bedrijf-tekst {
    text-align: center;
    color: white;
    font-size: 1.1rem;
    max-width: 1000px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

.bedrijf-tekst-groot {
    font-size: 1.5rem;
    line-height: 1.8;
    color: white;
    margin-bottom: 1rem;
}

#bedrijf {
    margin-top: 30px;
    padding: 40px 30px;
}

/* ===================== MOBIEL (portrait) ===================== */
@media (max-width: 768px) and (orientation: portrait) {
    .bedrijf-item {
        width: 106% !important;
        max-width: 360px;
        margin: 0 auto;
    }

    /* Alle afbeeldingen responsive */
    .bedrijf-item-img {
        max-width: 95%;
    }

    .bedrijf-item-img img {
        width: 100% !important;
        height: auto !important;
    }

    /* Specifieke afbeeldingen bdr_1 en bdr_2 breder maken */
    .bedrijf-item-img.bredere-img {
        max-width: 100% !important;
    }
}






/* ===================== PROJECTEN ===================== */
#projecten {
    padding: 30px 20px;
}

#projecten .row-padding {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px; /* in auto vult de gehele breedte betreft 4 foto's */
    margin: 0 auto;
}

.photo-box-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.photo-box {
    border: 2px solid #FFD700; /* border lijnen projecten pagina over 4 foto's */
    overflow: hidden;
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #002366;
}

.photo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
    cursor: pointer;
}

.photo-box img:hover {
    transform: scale(1.05);
}

.project-title {
    color: #FFD700;
    font-weight: 500;
    font-size: 1.1rem;
    margin-top: 5px;
    text-align: center;
    letter-spacing: 0.5px;
}

/* ===================== TEKST BOVENAAN PROJECTEN ===================== */
.projecten-intro {
    text-align: center;
    color: white;
    font-size: 1rem;
    max-width: 1000px;
    margin: 120px auto 80px auto;
    line-height: 1.6;
}

/* ===================== COPYRIGHT TEKST ===================== */
.projecten-copy,
.projecten-copyright {
    text-align: center;
    margin-top: 20px;
    padding: 5px 0;
    font-size: 1.1rem;
    color: white;
}

/* ===================== RESPONSIVE GRID ===================== */
@media (max-width: 992px) {
    #projecten .row-padding {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    #projecten .row-padding {
        grid-template-columns: 1fr;
    }
}

/* ===================== MODAL ===================== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background-color: #1c1c1c !important; /* volledig antraciet */
    justify-content: center;
    align-items: center;
    z-index: 3000;
    overflow: hidden;
}

.modal.active {
    display: flex;
}

.modal-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90vw;
    max-width: 90vw;
    overflow: hidden;
    position: relative;
    background-color: #1c1c1c !important;
}

.modal-track {
    display: flex;
    width: 100%;
    transition: transform 0.3s ease;
    background-color: #1c1c1c !important;
}

.modal-track img {
    flex: 0 0 100%;
    max-height: 90vh;
    object-fit: contain;
    border: 3px solid #FFD700;
}

/* ===================== FOTO STYLING ===================== */
.modal-inner img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    box-sizing: border-box;
    border: 3px solid #FFD700; /* alleen desktop */
}

/* Geen gele rand op mobiel */
@media (max-width: 900px) {
    .modal-inner img {
        border: none;
    }
}

/* ===================== KRUISJE ===================== */
.close {
    position: fixed !important;
    top: 38px !important;
    right: 96px !important;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    background-color: rgba(255, 0, 0, 0.7);
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    z-index: 9999;
    transition: color 0.3s, background-color 0.3s;
}

.close:hover,
.close:active {
    color: #FFD700;
    background-color: rgba(128, 128, 128, 0.2);
}

/* Verberg kruisje op mobiel */
@media (max-width: 900px) {
    .close {
        display: none !important;
    }

    .mobile-close {
        display: flex !important;
        position: fixed;
        top: 20px;
        right: 20px;
        width: 34px;
        height: 34px;
        background-color: rgba(255, 0, 0, 0.7);
        color: white;
        align-items: center;
        justify-content: center;
        z-index: 9999;
        font-size: 1.2rem;
        cursor: pointer;
    }
}

/* ===================== PIJLTJES ===================== */
.modal .prev,
.modal .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: white;
    padding: 8px 12px;
    cursor: pointer;
    user-select: none;
    z-index: 3001;
    background-color: rgba(211, 211, 211, 0.1);
    border-radius: 0;
    transition: background-color 0.3s, color 0.3s;
}

.modal .prev { left: 100px; }
.modal .next { right: 100px; }

.modal .prev:hover,
.modal .next:hover,
.modal .prev:active,
.modal .next:active {
    background-color: rgba(128, 128, 128, 0.5);
    color: #FFD700;
}

/* Verberg pijltjes op mobiel */
@media (max-width: 900px) {
    .modal .prev,
    .modal .next {
        display: none !important;
    }
}

/* ===================== COPYRIGHT KLEIN ===================== */
.projecten-copyright {
    margin-top: 0;
    text-align: center;
    color: white;
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .projecten-copyright {
        margin-top: 5px;
        font-size: 0.9rem;
    }
}
/* ===================== ALGEMENE GLOBAL STIJLEN ===================== */
* {
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: "Lato", sans-serif;
    line-height: 1.5;
    background: #002366; /* standaard achtergrond */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    color: #fff;
    padding-top: 0;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
}

section {
    padding: 60px 20px;
    scroll-margin-top: 70px;
    text-align: center;
}

h1, h2, h3 {
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* ===================== NAVIGATION ===================== */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #001f4d;
    border-bottom: 3px solid gold;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    padding: 0 20px;
    height: 60px;
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
}

.nav-left {
    justify-content: center;
    flex: 1;
    gap: 15px;
    font-size: 16px;
}

.nav-right {
    gap: 15px;
}

.nav-right a {
    color: #fff;
    text-decoration: none;
    padding: 15px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.3s;
    font-size: 18px;
}

.nav-right a:hover {
    background: gold;
    color: #000;
    border-radius: 4px;
    padding: 10px 12px;
}

.mobile-icons, .nav-logo {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
}

.hamburger div {
    width: 100%;
    height: 3px;
    background: #fff;
}

.logo {
    position: absolute;
    top: 70px;
    left: 20px;
    width: 300px;
    height: auto;
    z-index: 1000;
}

@media (max-width: 992px) {
    .logo {
        width: 250px;
    }
}

@media (max-width: 980px) {
    .nav-left { display: none !important; }

    .mobile-icons {
        display: flex !important;
        gap: 15px;
        align-items: center;
        margin: 0 15px;
        color: #fff !important;
    }

    .mobile-icons i { font-size: 20px; color: #fff !important; }
    .mobile-icons a { text-decoration: none; }
}

@media (max-width: 968px) and (orientation: portrait) {
    .mobile-icons { margin-top: 20px; }
}

@media (max-width: 378px) and (orientation: portrait) {
    .mobile-icons { display: none !important; }
}

@media (max-width: 768px) {
    .nav-logo { display: block; height: 190px; margin: 120px 0 0 -48px; }
    .logo, .nav-left { display: none; }

    .nav-right a {
        font-size: 15px;
        padding: 10px;
        border-bottom: 2px solid gold;
    }

    .hamburger { display: flex; margin: 0 5px 0 auto; }

    .nav-left, .nav-right { display: none; }

    .nav-right {
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 20px;
        background: #001f4d;
        border: 2px solid gold;
        padding: 10px;
        border-radius: 4px;
    }

    .hamburger, .nav-right.show { display: flex; }
    .nav-right a:last-child { border-bottom: none; }
}

@media (min-width: 769px) {
    #navMenu a[href="#vca"] { display: none; }
}

/* ===================== VCA SECTIE ===================== */
#vca {
    padding: 40px 20px 80px 20px;
    text-align: center;
    transition: padding 0.5s ease;
}

#vca h2 {
    color: #FFD700;
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: bold;
    transition: font-size 0.5s ease;
}

#vca h3 {
    color: #FFD700;
    transition: font-size 0.5s ease;
}

#vca p {
    color: white;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 20px;
    transition: font-size 0.5s ease, line-height 0.5s ease;
}

@media (max-width: 768px) and (orientation: portrait) {
    #vca {
        padding: 20px 15px 160px 15px;
    }

    #vca h2 { font-size: 1.8rem; line-height: 1.3; }
    #vca h3 { font-size: 1.3rem; line-height: 1.2; }
    #vca p  { font-size: 0.95rem; line-height: 1.4; margin-bottom: 15px; }
}

@media (max-width: 992px) {
    #vca { padding-bottom: 120px; margin-bottom: 60px; }
}

/* ===================== ONDERHOUD BLOC ===================== */
.onderhoud-logo-blok { text-align: center; margin-top: 60px; }
.onderhoud-logo { height: 60px; margin-bottom: 20px; }

.onderhoud-ondertekst h2 { margin-bottom: 5px; font-size: 1.5rem; color: #FFD700; transition: font-size 0.5s ease; }
.onderhoud-ondertekst h1 { color: #FFD700; margin-bottom: 5px; font-size: 1.8rem; transition: font-size 0.5s ease; }
.onderhoud-ondertekst p { margin-top: 0; font-size: 1rem; line-height: 1.4; color: white; transition: font-size 0.5s ease, line-height 0.5s ease; }

.onderhoud-ondertekst {
    width: 90%;
    max-width: 100%;
    margin: 0 auto;
    font-family: "Lato", sans-serif;
    line-height: 1.5em;
    box-sizing: border-box;
    transition: width 0.5s ease;
}

@media (min-width: 992px) {
    .onderhoud-ondertekst { width: 60%; }
}

/* ===================== SLIDES ===================== */
#home {
    position: relative;
    width: 100%;
    height: calc(100vh - 60px);
    overflow: hidden;
}

.mySlides {
    display: none;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
}

.animate-opacity { animation: fade 1.5s; }

@keyframes fade {
    from { opacity: 0.4; }
    to   { opacity: 1; }
}

.slide_1 { background-image: url('../images/caroucel/car_01.jpg'); }
.slide_2 { background-image: url('../images/caroucel/car_02.jpg'); }
.slide_3 { background-image: url('../images/caroucel/car_03.jpg'); }
.slide_4 { background-image: url('../images/caroucel/car_04.jpg'); }

/* ===================== BEDRIJF SECTIE ===================== */
.bedrijf-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 30px;
}

.bedrijf-item {
    text-align: center;
    max-width: 300px;
    flex-shrink: 0;
}

.bedrijf-item-img {
    width: 100%;
    max-width: 360px;
    height: auto;
    border: 2px solid #FFD700;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0 auto;
}

.bedrijf-item-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.bedrijf-item p {
    color: #FFD700;
    font-size: 1.2rem;
    margin-top: 10px;
}

.bedrijf-titel {
    text-align: center;
    color: #FFD700;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.bedrijf-tekst {
    text-align: center;
    color: white;
    font-size: 1.1rem;
    max-width: 1000px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

.bedrijf-tekst-groot {
    font-size: 1.5rem;
    line-height: 1.8;
    color: white;
    margin-bottom: 1rem;
}

#bedrijf {
    margin-top: 30px;
    padding: 40px 30px;
}

/* Mobiel portrait */
@media (max-width: 768px) and (orientation: portrait) {
    .bedrijf-item { width: 95% !important; margin: 0 auto; }
    .bedrijf-item-img { max-width: 100%; }
    .bedrijf-item-img img { width: 100% !important; height: auto !important; }
    .bedrijf-item-img.bredere-img { max-width: 100% !important; }
    .bedrijf-titel { font-size: 2rem; }
    .bedrijf-tekst { font-size: 1rem; line-height: 1.5; }
    .bedrijf-tekst-groot { font-size: 1.2rem; line-height: 1.6; }
}

/* ===================== PROJECTEN ===================== */
#projecten { padding: 30px 20px; }

#projecten .row-padding {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.photo-box-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.photo-box {
    border: 2px solid #FFD700;
    overflow: hidden;
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #002366;
}

.photo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
    cursor: pointer;
}

.photo-box img:hover { transform: scale(1.05); }

.project-title {
    color: #FFD700;
    font-weight: 500;
    font-size: 1.1rem;
    margin-top: 5px;
    text-align: center;
    letter-spacing: 0.5px;
}

.projecten-intro {
    text-align: center;
    color: white;
    font-size: 1rem;
    max-width: 1000px;
    margin: 120px auto 80px auto;
    line-height: 1.6;
}

.projecten-copy, .projecten-copyright {
    text-align: center;
    margin-top: 20px;
    padding: 5px 0;
    font-size: 1.1rem;
    color: white;
}

@media (max-width: 992px) { #projecten .row-padding { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { #projecten .row-padding { grid-template-columns: 1fr; } }
