* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
}

a {
    color: #ffffff;
    text-decoration: none;
}

header {
    position: relative;
    background-image: url('../img/pvc-vloer.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 200px;
}

/* Overlay toevoegen */
header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

header .logo {
    margin-left: 20px;
    z-index: 2;
}

header .logo-img {
    width: 350px;
    height: auto;
}

nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    z-index: 2;
}

nav .nav-links {
    list-style: none;
    display: flex;
    margin-right: 20px;
}

nav .nav-links li {
    margin-left: 20px;
}

nav .nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
}

.top-bar {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    font-size: 16px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-right: 20px;
}

.hamburger .line {
    width: 20px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
}

main {
    padding: 2rem;
}

section {
    padding: 20px;
    margin-bottom: 3rem;
}

h2 {
    color: #333;
    margin-top: 20px;
    margin-bottom: 20px;
}

h3 {
    color: #333;
    margin-top: 20px;
}

.services-list {
    list-style-type: none;
    padding: 20px;
}

.services-list li {
    padding: 2px 0;
}

.slider {
    width: 80%;
    max-width: 800px;
    margin: 0 auto;
    height: auto;
    overflow: hidden;
    position: relative;
}

.slides {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.slide {
    flex-shrink: 0;
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: center;
    max-width: 100%;
    height: auto;
}

button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 24px;
    z-index: 10;
}

button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

footer {
    text-align: center;
    padding: 2rem;
    background-color: #333;
    color: #fff;
}

footer p {
    margin: 5px 0;
}

@media screen and (max-width: 768px) {
    nav .nav-links {
        display: none;
        width: 100%;
        text-align: center;
        position: absolute;
        top: 30px;
        left: 0;
        background-color: #333;
        padding: 10px 0;
    }

    nav .nav-links.active {
        display: block;
    }

    .hamburger {
        display: flex;
        margin-right: 20px;
    }

    .hamburger.open .line {
        background-color: #fff;
    }

    .slider {
        height: auto;
        width: 100%;
    }

    .slide {
        object-fit: cover;
        max-width: 100%;
        height: auto;
    }
}