*{
    margin: 0;
    padding: 0;
}
img{
    display: block;
    max-width: 100%;
}
body{
    font-family: Arial, Helvetica, sans-serif;
    background-color: black;
}
.logo img{
    width: 100px;
}
.press {
    padding: 12px 30px;
    background: #8a9b0f;
    border: none;
    border-radius: 30px;
    color: black;
    font-size: 16px;
    cursor: pointer;
}
.press:hover { 
    background: black; 
    color: white;
}

/* code voor menu */
.header ul {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
}

.header li a {
    display: block;
    padding: 20px 20px;
    border-right: 1px solid #f4f4f4;
    text-decoration: none;
    color: black;
}

.header li a:hover,
.header .menu-btn:hover {
    background-color: #f4f4f4;
}

.header .menu {
    clear: both;
    max-height: 0;
    transition: max-height .2s ease-out;
    position: absolute;
    left: 0;
    top: 56px;
    width: 100%;
    text-align: center;
    z-index: 9;
}
.navhamburger{
    display: flex;
    justify-content: space-between;
}

/* menu icon */

.header .menu-icon {
    cursor: pointer;
    display: inline-block;
    float: right;
    padding: 28px 20px;
    position: relative;
    user-select: none;
}

.header .menu-icon .navicon {
    background: white;
    display: block;
    height: 2px;
    position: relative;
    transition: background .2s ease-out;
    width: 18px;
}

.header .menu-icon .navicon:before,
.header .menu-icon .navicon:after {
    background: white;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}

.header .menu-icon .navicon:before {
    top: 5px;
}

.header .menu-icon .navicon:after {
    top: -5px;
}

/* menu btn */

.header .menu-btn {
    display: none;
}

.header .menu-btn:checked~.menu {
    max-height: 240px;
}

.header .menu-btn:checked~.menu-icon .navicon {
    background: transparent;
}

.header .menu-btn:checked~.menu-icon .navicon:before {
    transform: rotate(-45deg);
}

.header .menu-btn:checked~.menu-icon .navicon:after {
    transform: rotate(45deg);
}

.header .menu-btn:checked~.menu-icon:not(.steps) .navicon:before,
.header .menu-btn:checked~.menu-icon:not(.steps) .navicon:after {
    top: 0;
}
/* HERO AREA */
header{
    position: relative;
    height: 100vh;
    min-height: 500px;
    overflow: hidden;
}
.hero_video{
    position: absolute;
    top: 0;
    left: 0;
    width:100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -1;
}
.info{
    position: relative;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100%;
}
.info a{
    color: white;
    padding: 10px 20px;
    border: 2px solid white;
}
.usp_container{
    justify-content: center;
    text-align: center;
    padding-top: 30px;
    padding-bottom: 30px;
    color: white;
    background-color: black;
}
.usp_container p{
    font-size: 15%;
    padding-top: 30px;
    text-align: center;
    width: 70%;
    max-width: 800px;
    margin: auto;
}

/* slider*/
:root {
    --button-bg: rgba(0, 0, 0, 0.5);
    --button-color: #ccc;
    --button-hover-bg: rgba(0, 0, 0, 0.7);
    --transition-speed: 0.3s;
    --arrow-size: 2.5rem;
    --arrow-font-size: 1.5rem;
    --arrow-offset: 3.5rem;
  }
  
  .slider {
    position: relative;
    width: 70%;
    margin-left: 15%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    border-radius: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 100px;
  }
  
  .slider__background {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: -1;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: background-image var(--transition-speed) ease-in-out;
    border-radius: inherit;
  }
  
  .slider__controls {
    position: absolute;
    top: 50%;
    left: calc(-1 * var(--arrow-offset));
    right: calc(-1 * var(--arrow-offset));
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
  }
  
  .slider__button {
    color: var(--button-color);
    border: none;
    font-size: var(--arrow-font-size);
    background-color: transparent;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
  }
  
  .slider__button:focus-visible {
    outline: 2px solid #fff;
  }
  /* slider*/
  .model{
    background-image: url(images/audi\ 4.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 225px;
    position: relative;
    width: 100%;
    height: 100%;
    margin: auto;
    color: white;
    text-align: center;
  }
  .model h3{
    padding-bottom: 10px;
  }
  .model p{
    padding-bottom: 25px;
  }
  .model a{
    color: white;
    padding: 10px 20px;
  }
  .interior{
    background-image: url(images/audi\ 5.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 225px;
    position: relative;
    width: 100%;
    height: 100%;
    margin: auto;
    color: white;
    text-align: center;
  }
  .interior h4{
    padding-bottom: 10px;
  }
  .interior p{
    padding-bottom: 25px;
  }
  .interior a{
    color: white;
    padding: 10px 20px;
  }
  .represents{
    background-image: url(images/audi\ 6.png);
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 140px;
    position: relative;
    width: 100%;
    height: 100%;
    margin: auto;
    color: white;
  }
.represents p{
    text-align: left;
    padding-left: 40px;
    padding-bottom: 100px;
    font-size: 10px;
}
footer{
    color: white;
    text-align: center;
    padding-top: 30px;
}
.socials{
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}
footer h5{
    padding-bottom: 30px;
}
footer p{
    padding-top: 30px;
    padding-bottom: 30px;
}

.socials img{
    width: 30px;
    height: auto;
}


@media only screen and (min-width: 600px){
  .slider__controls {
        left: 0 !important;
        right: 0 !important;
    }

    .slider__background {
        z-index: 1 !important;
    }

    /* dESKTOP LAYOUT */
    .slider {
        width: 55%;
        margin: 80px auto; 
        aspect-ratio: 16 / 9;
        position: relative;
        overflow: hidden;
        border-radius: 10px;
        box-shadow: 0 6px 25px rgba(0,0,0,0.7);
    }
    .usp_container h2{
        margin-top: 120px;
        font-size: 2rem;
    }
    .usp_container p{
        font-size: 1rem;
    }

    

    .slider__background {
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center;
    }

    .slider__controls {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
        z-index: 2;
        pointer-events: none;
    }

    .slider__button {
        pointer-events: auto;
        width: 55px;
        height: 55px;
        border-radius: 50%;
        border: none;
        background: rgba(0,0,0,0.55);
        font-size: 2rem;
        color: white;
        cursor: pointer;
        transition: 0.2s;
    }

    .slider__button:hover {
        background: rgba(0,0,0,0.75);
    }
    main {
        display: flex;
        flex-wrap: wrap; /* allows stacking if needed */
        justify-content: center;
        gap: 0;
    }

    .model, .interior {
        width: 50%;             /* side by side */
        min-height: 500px;      /* ensures content is visible */
        padding-top: 240px;
        padding-bottom: 180px;
        background-size: cover;
        background-position: center;
        text-align: center;
        color: white;
        box-sizing: border-box;
        margin: 0;
    }

    .model h3, .interior h4 {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    .model p, .interior p {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }

    .model a, .interior a {
        display: inline-block;
        font-size: 1.1rem;
        border: 2px solid white;
        padding: 12px 28px;
        text-decoration: none;
        color: white;
    }
     /* ============ REPRESENTS SECTION ============ */
    .represents {
        background-position: center;
        background-size: cover;
        padding: 200px 0;
        color: white;
        text-align: left;
    }

    .represents p {
        width: 40%;
        font-size: 1rem;
        line-height: 1.8;
        margin-left: 8%;
    }


   footer {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        padding: 80px 120px;
        text-align: left;
        color: white;
        row-gap: 20px;
    }
    footer {
    max-width: 1200px;     /* keeps footer from being too wide */
    margin: 0 auto;        /* centers the whole footer block */
    justify-items: start;  /* keeps text aligned left inside columns */
}
footer {
    column-gap: 60px;
}
footer {
    justify-items: center;
}
    footer h5,
    footer h6,
    footer p {
        margin: 0;
        padding: 0;
    }

    /* ===== COLUMN 1 ===== */
    footer h5:nth-of-type(1) {
        grid-column: 1;
        grid-row: 1;
    }
    footer p:nth-of-type(1) {
        grid-column: 1;
        grid-row: 2;
    }

    /* ===== COLUMN 2 ===== */
    footer h6:nth-of-type(1) {
        grid-column: 2;
        grid-row: 1;
    }
    footer p:nth-of-type(2) {
        grid-column: 2;
        grid-row: 2;
    }

    /* ===== COLUMN 3 ===== */
    footer h6:nth-of-type(2) {
        grid-column: 3;
        grid-row: 1;
    }
    footer p:nth-of-type(3) {
        grid-column: 3;
        grid-row: 2;
    }

    /* ===== COLUMN 4 (SOCIALS) ===== */
    footer .socials {
        grid-column: 4;
        grid-row: 1 / span 2;
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin: 0;
    }

    .socials img {
        width: 40px;
        height: auto;
    }
}