/* NIEUWE KOOP PAGINA 21/06/2026 */
/* DIT IS VOOR DE HELE PAGINA, GEEN HORIZONTALE SCROLL EN SMOOTH NAAR ANCHORS */
html, body{
    min-height: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

*{
    box-sizing: border-box;
}

body{
    margin: 0;
    padding: 0;
    background-color: black;
}

/* GROTE WRAPPER ROND HEEL DE KOOP PAGINA */
.section-wrap-kopen{
    width: 100%;
    min-height: 100vh;
    background-color: black;
}

/* NAVIGATIE ZELFDE DINGENS ONGEVEER, MAAR NIEUWE CSS */
.navigation-bar{
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    width: 100%;
    height: 5em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4em;
    background-color: rgba(0, 0, 0, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navigation-buttons-left-side,
.navigation-buttons-right-side{
    width: 42%;
}

.navigation-buttons-left-side ul,
.navigation-buttons-right-side ul{
    display: flex;
    align-items: center;
    gap: 2.8em;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    font-size: 1em;
}

/* RECHTER NAVIGATIE WORDT MAX HARD NAAR RECHTS GEDUWD */
.navigation-buttons-right-side ul{
    justify-content: flex-end;
}

/* ALGEMENE STIJL VOOR LINKS IN LIJSTEN */
ul li a{
    color: rgba(245, 245, 245, 0.66);
    text-decoration: none;
}

.navigation-buttons-left-side ul li a,
.navigation-buttons-right-side ul li a{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3em;
    padding: 0 0.35em;
    border-bottom: 1px solid transparent;
    transition: color 0.35s ease, border-color 0.35s ease;
}

/* HOVER EN ACTIVE LINK, ZO JE ZIE WELKE PAGINA JE ZIT */
.navigation-buttons-left-side ul li a:hover,
.navigation-buttons-right-side ul li a:hover,
.active-link{
    color: whitesmoke;
    border-color: rgb(0, 117, 163);
}

/* LOGO IN HET MIDDEN VAN DE NAVIGATIE */
.navigation-center-logo{
    position: absolute;
    left: 50%;
    top: 0.9em;
    width: 5em;
    height: 3.2em;
    transform: translateX(-50%); /* Deze da centreert de element horizontaal */
}

.navigation-center-logo img,
.logo-foot img{
    object-fit: contain;
}

/* HERO WAAR DE PERSOON METEEN KAN KOPEN */
/* HERO BETEKEN DIE GROTE FOTO DA DE PERSOON EERST ZIE */
.kopen-hero{
    position: relative;
    width: 100%;
    min-height: 48em;
    padding-top: 5em;
    overflow: hidden;
    background-image:
        linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.62) 38%, rgba(0, 0, 0, 0.15) 100%),
        url("img/grada.png"),
        url("img/final-background.jpeg");
    background-size: cover, cover, cover;
    background-position: center, center, center;
}

.kopen-hero-tekst-case{
    width: min(46em, calc(100% - 3em));
    padding-top: 7em;
    margin-left: 7.4em;
}

.navigation-article-header h1,
.main-title-case h1,
.koop-form-info h1{
    margin: 0;
    font-family: "Imperial Script", cursive;
    font-weight: 500;
    font-style: normal;
    color: white;
    font-size: 4em;
}

.navigation-article-paragraph p{
    width: min(36em, 100%);
    margin: 1em 0 0;
    font-family: "Roboto Serif", serif;
    font-weight: 400;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.86);
}

/* PLAATS TUSSEN HERO TEKST EN HERO KNOPPEN */
.navigation-article-button-case{
    margin-top: 2em;
}

/* DAN DE TWEE HERO KNOPPEN NAAST ELKAAR */
.navigation-button-choices ul{
    display: flex;
    align-items: center;
    gap: 1em;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ALGEMENE KNOP STIJL VOOR HERO, KAARTEN EN FORMULIER */
.navigation-button-choices ul li a,
.koop-card-buttons a,
.koop-form button{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 10em;
    height: 3.2em;
    padding: 0 1.25em;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    border-radius: 1px;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

/* SECUNDAIRE KNOPPEN MET KLEIN RAND */
.navigation-button-choices ul li:first-child a,
.koop-card-buttons a:last-child{
    border: 1px solid gray;
    color: rgba(255, 255, 255, 0.76);
}

.navigation-button-choices ul li:first-child a:hover,
.koop-card-buttons a:last-child:hover{
    background-color: rgba(255, 255, 255, 0.08);
    color: white;
}

.navigation-button-choices ul li:last-child a,
.koop-card-buttons a:first-child,
.koop-form button{
    border: 0;
    background-color: rgb(0, 117, 163);
    color: rgba(255, 255, 255, 0.9);
}

.navigation-button-choices ul li:last-child a:hover,
.koop-card-buttons a:first-child:hover,
.koop-form button:hover{
    background-color: rgb(0, 97, 136);
    color: rgba(255, 255, 255, 0.7);
}

.logo-foot{
    position: absolute;
    left: 50%;
    bottom: 1em;
    width: 18em;
    height: 12em;
    transform: translateX(-50%);
}

/* MAIN DINGENS MET WAGENS */
.main-article-case{
    width: 100%;
    min-height: 100vh;
    padding: 5em 0 6em;
    background-color: rgb(247, 247, 247);
    background-image:
        url("img/background-fade.png"),
        url("img/top-gradient.png"),
        url("img/under-gradient.png");
    background-size: cover;
    background-position: center;
}

/* MAIN DINGENS BLIJFT IN HET MIDDEN EN NIET TE BREED */
.main-case{
    width: min(110em, calc(100% - 4em));
    margin: 0 auto;
}

.main-title-case h1{
    margin-bottom: 0.5em;
    color: black;
}

/* DE GRID VOOR DE AUTO KAARTEN */
.koop-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2em;
}

/* AUTO CARD MET AFBEELDING EN TEKST ONDERAAN */
.koop-card{
    position: relative;
    min-height: 34em;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-radius: 11px;
    background-color: rgb(20, 20, 20);
    background-size: 100% 100%;
    background-position: center;
    box-shadow: 0 1.5em 3em rgba(0, 0, 0, 0.18);
    transition: background-size 0.6s ease, transform 0.35s ease;
}

/* HOVER EFFECT, FOTO ZOOMT IN EN CARD GAAT KLEIN BEETJE OMHOOG */
.koop-card:hover{
    background-size: 110% 110%;
    transform: translateY(-0.25em);
}

/* EERSTE KAART GROTER VOOR MOOIE DESIGN */
.koop-card-wide{
    grid-column: span 2;
}

.gadam-a{
    background-image:
        linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.9) 82%),
        url("img/Gadam-AClass.png");
}

.gadam-c{
    background-image:
        linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.9) 82%),
        url("img/Gadam-Cline.png");
}

.gadam-glb{
    background-image:
        linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.9) 82%),
        url("img/Gadam_GLB.png");
}

.gadam-amg{
    background-image:
        linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.9) 82%),
        url("img/Gadam-AMG.png");
}

/* TEKST IN EEN AUTO KAART */
.koop-card-content{
    width: 100%;
    padding: 2em;
    color: white;
}

/* KLEIN BLAUW DING BOVEN DE AUTO NAAM */
.koop-label{
    margin: 0 0 0.8em;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    letter-spacing: 0;
    color: rgb(0, 159, 221);
}

/* TITELS IN KAARTEN EN STAPPEN */
.koop-card h2,
.stap-case h2{
    margin: 0;
    font-family: "Roboto Serif", serif;
    font-weight: 300;
    color: white;
    font-size: 2em;
}

/* PRIJS VAN DE AUTO */
.koop-price{
    margin: 0.55em 0;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
}

/* BESCHRIJVING IN DE AUTO KAART */
.koop-card-content p:last-of-type{
    max-width: 32em;
    margin-bottom: 1.6em;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.6;
}

/* DE KNOPPEN IN DE AUTO KAART */
.koop-card-buttons{
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
}

/* STAPPEN VOOR KOPEN */
.koop-stappen{
    margin-top: 5em;
}

.small-title h1{
    font-size: 3.4em;
}

/* GRID VOOR DE DRIE STAPPEN */
.stappen-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5em;
}

/* ELKE STAP IS EEN ZWARTE BOX */
.stap-case{
    min-height: 14em;
    padding: 2em;
    border-radius: 11px;
    background-color: black;
    color: white;
}

/* NUMMER VAN DE STAP */
.stap-case span{
    display: inline-block;
    margin-bottom: 1.5em;
    font-family: "Roboto", sans-serif;
    font-weight: 800;
    color: rgb(0, 159, 221);
}

/* TEKST IN DE STAP */
.stap-case p{
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* FORMULIER OM TE KOPEN */
.koop-form-case{
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 3em;
    margin-top: 5em;
    padding: 3em;
    border-radius: 11px;
    background-color: black;
    background-image:
        linear-gradient(120deg, rgba(0, 117, 163, 0.28), rgba(0, 0, 0, 0) 45%),
        url("img/undergradient.png");
    background-size: cover;
    background-position: center;
}

/* KLEIN UITLEG LINKS IN DE FORMULIER */
.koop-form-info p{
    width: min(28em, 100%);
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.8;
    font-family: "Roboto Serif", serif;
}

/* FORMULIER GRID MET TWEE KOLOMMEN */
.koop-form{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2em;
}

/* LABELS STAAN BOVEN HUN INPUT */
.koop-form label{
    display: flex;
    flex-direction: column;
    gap: 0.55em;
    color: rgba(255, 255, 255, 0.78);
    font-family: "Roboto", sans-serif;
    font-weight: 700;
}

/* INPUTS, SELECTS EN TEXTAREA KRIJGEN DEZELFDE DONKER AURA JE WEET */
.koop-form input,
.koop-form select,
.koop-form textarea{
    width: 100%;
    min-height: 3.3em;
    padding: 0.95em 1em;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 1px;
    outline: none;
    background-color: rgba(255, 255, 255, 0.08);
    color: white;
    font-family: "Roboto", sans-serif;
}

/* FOCUS RAND DA WORDT BLAUW ALS JE IN EEN VELD KLIKT */
.koop-form input:focus,
.koop-form select:focus,
.koop-form textarea:focus{
    border-color: rgb(0, 159, 221);
}

.koop-form select option{
    color: black;
}

.koop-form textarea{
    min-height: 8em;
    resize: vertical;
}

/* LAATSTE LABEL EN KNOP GAAN OVER DE HELE FORMULIER BREEDTE */
.koop-form label:last-of-type,
.koop-form button{
    grid-column: 1 / -1;
}

.koop-form button{
    width: min(18em, 100%);
    cursor: pointer;
}

.footer-banner{
    width: 100%;
    min-height: 4em;
    background-color: black;
    color: white;
}

.footer-banner h1{
    margin: 0;
    padding: 1em 0;
    text-align: center;
    font-family: "Roboto Serif", serif;
    font-weight: 300;
    font-size: 0.62em;
}

/* RESPONSIVE VOOR TABLET EN KLEINERE SCHERMEN (met help van greg)*/
@media (max-width: 1050px){
    .navigation-bar{
        height: auto;
        min-height: 5em;
        padding: 1em 1.5em;
        align-items: flex-start;
    }

    .navigation-buttons-left-side,
    .navigation-buttons-right-side{
        width: 45%;
    }

    .navigation-buttons-left-side ul,
    .navigation-buttons-right-side ul{
        flex-wrap: wrap;
        gap: 0.8em 1.4em;
        font-size: 0.92em;
    }

    .kopen-hero-tekst-case{
        margin-left: 2em;
    }

    .koop-grid,
    .stappen-grid,
    .koop-form-case{
        grid-template-columns: 1fr;
    }

    .koop-card-wide{
        grid-column: span 1;
    }
}

@media (max-width: 700px){
    .navigation-bar{
        position: relative;
        display: block;
    }

    .navigation-center-logo{
        position: relative;
        left: auto;
        top: auto;
        margin: 0.2em auto 1em;
        transform: none;
    }

    .navigation-buttons-left-side,
    .navigation-buttons-right-side{
        width: 100%;
    }

    .navigation-buttons-left-side ul,
    .navigation-buttons-right-side ul{
        justify-content: center;
    }

    .kopen-hero{
        padding-top: 0;
        min-height: 42em;
    }

    .kopen-hero-tekst-case{
        width: calc(100% - 2em);
        margin-left: 1em;
        padding-top: 4em;
    }

    .navigation-article-header h1,
    .main-title-case h1,
    .koop-form-info h1{
        font-size: 3.2em;
    }

    .navigation-button-choices ul,
    .koop-card-buttons{
        align-items: stretch;
        flex-direction: column;
    }

    .main-case{
        width: calc(100% - 2em);
    }

    .koop-card{
        min-height: 32em;
    }

    .koop-form-case{
        padding: 2em 1em;
    }

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