:root {
    --dark-bg: #09131b;
    --dark-panel: #101d28;
    --green: #83b81a;
    --white: #ffffff;
    --gray: #b7c0c7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--dark-bg);
    color: var(--white);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
}

/* NAVBAR */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(9, 19, 27, 0.97);
    border-bottom: 1px solid rgba(131, 184, 26, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    color: var(--green);
    font-size: 28px;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 600;
}

.nav-links a:hover {
    color: var(--green);
}

/* HERO */

.hero-banner {
    min-height: 250px;

    background-image: linear-gradient(
            to right,
            rgba(9, 19, 27, 0.92) 30%,
            rgba(9, 19, 27, 0.55) 60%,
            rgba(9, 19, 27, 0.20) 100%
    ),
    url("../images/BGE_banner_site.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
}

.hero-content {
    width: 90%;
    max-width: 1400px;
    margin: auto;
    padding-left: 60px;
}

.hero-text {
    max-width: 650px;
}

.hero-text h2 {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 4px;
    color: white;
}

.hero-text h1 {
    font-size: 6rem;
    line-height: 1;
    color: #83b81a;
    margin: 15px 0;
}

.services-list {
    font-size: 2rem;
    letter-spacing: 4px;
    color: white;
}

.hero-content {
    text-align: center;
    max-width: 900px;
}

.hero-logo {
    width: 300px;
    margin-bottom: 25px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    color: var(--gray);
    margin-bottom: 30px;
    font-size: 1.2rem;
}

/* BUTTON */

.btn-primary {
    display: inline-block;
    background: var(--green);
    color: black;
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

.btn-primary:hover {
    opacity: 0.9;
}

/* SECTIONS */

.section {
    padding: 80px 0;
}

.section h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--green);
    letter-spacing: 2px;
}

/* CARDS */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.card {
    background: var(--dark-panel);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(131, 184, 26, 0.2);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    color: var(--green);
    margin-bottom: 15px;
}

/* PROJECTS */

.dark-section {
    background: #0b171f;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--dark-panel);
    overflow: hidden;
    border-radius: 10px;
}

.project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.project-content {
    padding: 20px;
}

.project-content h3 {
    color: var(--green);
    margin-bottom: 10px;
}

/* ABOUT */

.about-text {
    max-width: 900px;
    margin: auto;
    text-align: center;
    color: var(--gray);
}

/* CONTACT */

.contact-box {
    text-align: center;
}

.contact-box p {
    margin-bottom: 10px;
}

/* FOOTER */

footer {
    padding: 25px;
    text-align: center;
    background: #050b10;
    color: #8a96a0;
}

/* ==========================================
   CONTACT PAGE
========================================== */


.quote-form {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.quote-form label {
    display: block;
    margin-bottom: 6px;
    color: white;
    font-weight: 600;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    padding: 12px 12px;
    background: #1e1f22;
    border: 1px solid rgba(131, 184, 26, .25);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
}

.submit-btn {
    width: 250px;
    margin: 10px auto 0;
    padding: 16px;
    background: #00fd42;
    color: #09131b;
    border: 0;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
}

.submit-btn:hover {
    filter: brightness(1.05);
}

.contact-grid {
    max-width: 1000px;
    margin: 30px auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact-button {
    background: #101d28;
    border: 1px solid rgb(73, 0, 253);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    text-decoration: none;
    transition: .2s ease;
}

.contact-button:hover {
    transform: translateY(-3px);
    border-color: #fd003c;
}

.contact-button span {
    display: block;
    color: #b7c0c7;
}

.contact-button strong {
    display: block;
    margin-top: 8px;
    color: #83b81a;
    font-size: 1.2rem;
}

@media (max-width: 768px) {

    .form-row.two,
    .form-row.three {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 25px;
        margin: 20px;
        max-width: 100px;
    }
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.location-grid {
    display: grid;
    grid-template-columns: 150px 1fr 150px;
    gap: 20px;
    margin-bottom: 20px;
}

.field {
    display: flex;
    flex-direction: column;
}

.field label {
    margin-bottom: 6px;
    font-weight: 600;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 12px 15px;
}

@media (max-width: 900px) {

    .form-grid,
    .location-grid {
        grid-template-columns: 1fr;
    }
}

.hero-banner {
    min-height: 500px;
}

.hero-overlay {
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .35);
}

.services-section {
    padding: 60px 0;
}

.services-grid {
    display: grid;
    grid-template-columns:repeat(2, 1fr);
    gap: 25px;
}

.service-card {
    background: #101d28;
    border: 1px solid rgba(131, 184, 26, .15);
    border-radius: 12px;
    padding: 25px;
}

.service-card h3 {
    margin-top: 10px;
    color: #0065fd;
}

.contact-section {
    padding: 60px 0;
}

.contact-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

/* ==========================================
   images
========================================== */

/* De hoofdgrid van de pagina: zet de projectkaarten netjes naast elkaar */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Maakt automatisch 2 of 3 kolommen afhankelijk van schermgrootte */
    gap: 24px; /* Ruimte tussen de projectkaarten */
    padding: 20px 0;
}

/* De projectkaart zelf */
.project-card {
    background-color: #0f172a; /* De donkere achtergrond uit je screenshot */
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%; /* Zorgt dat alle kaarten even hoog zijn */
}

/* De afbeeldingen-container binnen één project */
.project-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Zet de meerdere foto's strak in 2 kolommen naast elkaar */
    gap: 4px; /* Subtiele, strakke tussenruimte tussen de foto's */
    background-color: #0f172a;
}

/* Als er maar 1 foto is, pakt deze de volledige breedte.
   Als er meerdere zijn, worden ze netjes verdeeld. */
.project-gallery img {
    width: 100%;
    height: 180px; /* Compacte, vaste hoogte zodat het overzichtelijk blijft */
    object-fit: cover; /* Snijdt de foto's netjes bij zonder ze te vervormen of uit te rekken */
    display: block;
}

/* Als een project 3 foto's heeft, laat de eerste dan groot bovenin staan */
.project-gallery img:first-child:nth-last-child(3) {
    grid-column: span 2;
    height: 220px;
}

/* De tekstruimte onder de foto's */
.project-content {
    padding: 20px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-type {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8; /* Zachte grijze kleur voor de categorie */
    margin-bottom: 4px;
}

.project-content h3 {
    font-size: 1.25rem;
    color: #a3e635; /* De gifgroene/limoen kleur uit je screenshot voor de titel */
    margin-bottom: 8px;
}

.project-content p {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.5;
}

/* ==========================================
   lightbox
========================================== */

/* De achtergrond van de lightbox (standaard verborgen) */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000; /* Zorgt dat het overal bovenop ligt */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Donkere transparante achtergrond */
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

/* De vergrote afbeelding zelf */
.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.25s ease-out; /* Subtiele animatie bij openen */
}

/* De sluitknop (het kruisje) */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.lightbox-close:hover {
    color: #a3e635; /* Kleurt limoengroen bij hoveren */
}

/* Zorg dat de normale galerij-afbeeldingen een handje tonen als je erover klikt */
.project-gallery img {
    cursor: zoom-in;
    transition: transform 0.2s ease;
}

.project-gallery img:hover {
    transform: scale(1.02); /* Subtiel effect bij hoveren */
}

/* Animatie voor het openen */
@keyframes zoomIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Foto-indeling op de detailpagina */
.detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Basis indeling van 3 kolommen */
    gap: 16px !important;
}

.detail-grid img {
    width: 100% !important;
    height: 160px !important; /* Hoogte voor de kleinere detailfoto's */
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #1e293b;
}

/* HET TRUCJE: Dit zorgt dat de allereerste foto (de hoofdfoto)
   volledig over alle 3 de kolommen uitstrekt en groter is! */
.detail-grid img:first-child {
    grid-column: span 3;
    height: 400px !important; /* Prachtige grote hoogte voor de hoofdfoto */
    margin-bottom: 8px;
}

/* Responsiviteit: op mobiel alles netjes onder elkaar */
@media (max-width: 480px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .detail-grid img:first-child {
        grid-column: span 1;
        height: 250px !important;
    }
}

/* titel kleur van realisaties h3:*/
.project-specs h3,
.project-detail-images h3 {
    color: #00fd2a; /* Maakt de tussentitels blauw */
}

/* Hoofdindeling van de detailpagina: 2 kolommen op desktop */
.project-detail-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 0 60px 0;
}

@media (min-width: 992px) {
    .project-detail-container {
        grid-template-columns: 1fr 1fr; /* Zet tekst en foto's 50/50 strak naast elkaar */
    }
}

/* Tekst en titels styling */
.project-info h1 {
    font-size: 2.2rem;
    color: #ffffff;
    margin: 10px 0 20px 0;
}

.project-description {
    color: #cbd5e1;
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: 30px;
}

/* Gecorrigeerd specificatieblok */
.project-specs {
    background-color: #0f172a; /* Donkere achtergrond */
    border: 1px solid #1e293b;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 30px;
}

/* Groene titels uit je screenshot */
.project-specs h3,
.project-detail-images h3 {
    font-size: 1.3rem;
    color: #a3e635; /* Jouw gifgroene kleur */
    margin-top: 0;
    margin-bottom: 16px;
}

/* Zorgt dat de lijstjes netjes binnen het blok vallen */
.project-specs ul {
    list-style-type: disc;
    padding-left: 20px; /* Geeft ruimte aan de stipjes aan de linkerkant */
    margin: 0;
}

.project-specs li {
    color: #cbd5e1;
    padding: 8px 0;
    font-size: 1rem;
}

.project-specs strong {
    color: #ffffff; /* Maakt de labels wit voor een rustiger contrast */
}

/*titel van de specifieke projecten */
.project-type-badge {
    display: inline-block;
    font-family: inherit; /* Zorgt dat het hetzelfde lettertype gebruikt als de grote titel */
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: rgba(163, 230, 53, 0.15); /* Subtiele limoengroene achtergrond */
    color: #a3e635; /* Limoengroene tekstkleur */
    padding: 6px 14px;
    border-radius: 20px; /* Maakt er een mooi rond labeltje van */
    margin-bottom: 12px;
}

/* =========================================================
   DIENSTEN DROPDOWN
   ========================================================= */

.nav-links .nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

/* Bovenste knop: Diensten + chevron */
.nav-links .dropdown-toggle {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    height: 100%;
}

.nav-links .dropdown-toggle .mdi-chevron-down {
    color: var(--green);
    font-size: 18px;
    line-height: 1;
    margin: 0;
    transition: transform 0.25s ease;
}

.nav-links .nav-dropdown:hover .mdi-chevron-down,
.nav-links .nav-dropdown:focus-within .mdi-chevron-down {
    transform: rotate(180deg);
}


/* Dropdown container */
.nav-links .dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    z-index: 2000;

    width: 330px;

    margin: 0 !important;
    padding: 10px !important;

    list-style: none !important;

    background: var(--dark-panel);

    border: 1px solid rgba(131, 184, 26, 0.28);
    border-top: 3px solid var(--green);

    border-radius: 0 0 8px 8px;

    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);

    opacity: 0;
    visibility: hidden;

    transform: translateY(8px);

    transition: opacity 0.22s ease,
    visibility 0.22s ease,
    transform 0.22s ease;
}


/* Dropdown openen */
.nav-links .nav-dropdown:hover .dropdown-menu,
.nav-links .nav-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* BELANGRIJK:
   bestaande li/list styling uitschakelen */
.nav-links .dropdown-menu li {
    display: block !important;

    width: 100%;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}

.nav-links .dropdown-menu li::before,
.nav-links .dropdown-menu li::after {
    content: none !important;
    display: none !important;
}


/* Dropdown links */
.nav-links .dropdown-menu li a {
    display: flex !important;
    align-items: center;

    width: 100%;

    gap: 14px;

    padding: 12px 14px !important;

    color: var(--white) !important;

    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;

    text-decoration: none !important;

    border-radius: 6px;

    transition: color 0.18s ease,
    background-color 0.18s ease,
    transform 0.18s ease;
}


/* Hover */
.nav-links .dropdown-menu li a:hover,
.nav-links .dropdown-menu li a:focus {
    color: var(--green) !important;

    background: rgba(131, 184, 26, 0.10);

    transform: translateX(3px);
}


/* Iconen */
.nav-links .dropdown-menu li a .mdi {
    display: inline-flex;

    flex: 0 0 26px;

    width: 26px;

    align-items: center;
    justify-content: center;

    margin: 0;

    color: var(--green);

    font-size: 21px;
    line-height: 1;
}


/* Onderste link */
.nav-links .dropdown-menu .dropdown-all {
    margin-top: 8px !important;
    padding-top: 8px !important;

    border-top: 1px solid rgba(183, 192, 199, 0.15);
}

.nav-links .dropdown-menu .dropdown-all a {
    color: var(--green) !important;
    font-weight: 800;
}

.nav-links .dropdown-menu .dropdown-all a:hover {
    background: rgba(131, 184, 26, 0.10);
}


/* Mobiel */
@media (max-width: 800px) {

    .nav-links .nav-dropdown {
        position: static;
    }

    .nav-links .dropdown-menu {
        left: 50%;

        width: min(330px, 90vw);

        transform: translate(-50%, 8px);
    }

    .nav-links .nav-dropdown:hover .dropdown-menu,
    .nav-links .nav-dropdown:focus-within .dropdown-menu {
        transform: translate(-50%, 0);
    }
}

/* =========================================================
   SERVICE CARDS + PROCESS ICONS
   ========================================================= */
.project-card.service-card {
    text-decoration: none;
    color: inherit;
    min-height: 330px;
    border: 1px solid rgba(131, 184, 26, 0.22);
    border-top: 3px solid var(--green);
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.project-card.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--green);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .22);
}

.service-icon {
    display: block;
    color: var(--green);
    font-size: 5.5rem;
    line-height: 1;
    margin: 30px 0;
    transition: transform .3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.08);
}

.process-icon {
    display: block;
    color: var(--green);
    font-size: 5rem;
    line-height: 1;
    margin: 5px 0 24px;
    transition: transform .3s ease;
}

.process-step:hover .process-icon {
    transform: scale(1.08);
}
/* BGE CSS VERSION 2026-11-01-01 */

body::after {
    content: "CSS TEST";
    position: fixed;
    bottom: 5px;
    right: 5px;
    z-index: 99999;
    background: red;
    color: white;
    padding: 5px;
    font-size: 10px;
}