* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

/* Home page */
/* Hero section */

.hero {
    height: 90vh;
    background-image: url('src/img/hero.png'); 
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end; 
    justify-content: flex-start; 
    padding: 50px; 
    color: white;
}

.hero-text {
    display: flex;
    flex-direction: column; 
    gap: 10px; 
    font-size: 30px;
}


/* Navbar */

.navbar {
    /* position: fixed; */
    width: 100%;
    background: rgba(255, 255, 255);
    padding: 5px 0;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    border-bottom: 2px solid rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin: 0 20px;
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-size: 18px;
    font-weight: bold;
}

.logo{
    width: 200px;
}

/* Dropdown content */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgb(255, 255, 255);
    min-width: 160px;
    list-style: none;
    padding: 0;
    z-index: 1000;
    border: 1px solid #ddd; 
    border-radius: 5px;
    box-sizing: border-box; 
}

.dropdown-content li {
    width: 100%;
    margin: 0; 
}

.dropdown-content a {
    display: block;
    padding: 10px 20px; 
    color: rgb(0, 0, 0);
    text-align: left;
    font-weight: normal;
    font-size: 14px;
    transition: background-color 0.3s ease;
    box-sizing: border-box; 
    width: 100%; 
}

.dropdown-content a:hover {
    background-color: #f1f1f1; 
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-arrow {
    margin-left: 5px;
    transition: transform 0.3s ease;
    width: 18px;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropbtn {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}


/* Hamburger icon */
.hamburger {
    display: none; 
    font-size: 30px;
    cursor: pointer;
}

/* Off-canvas menu */
.off-canvas {
    position: fixed;
    top: 0;
    right: -250px; 
    width: 250px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: -3px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1001;
}

.off-canvas.open {
    right: 0; 
}

.off-canvas ul {
    list-style: none;
    padding: 20px;
}

.off-canvas li {
    margin: 15px 0;
}

.off-canvas a {
    text-decoration: none;
    color: black;
    font-size: 18px;
    font-weight: bold;
}

.off-canvas-dropdown:hover .off-canvas-dropdown-content {
    display: block;
}

.off-canvas-dropdown-content {
    display: none;
    list-style: none;
    padding-left: 10px; 
}

.off-canvas-dropdown-content li {
    margin: 10px 0;
}

.off-canvas-dropdown-content a {
    font-size: 16px;
    color: #555; 
}


.off-canvas-header {
    display: flex;
    justify-content: flex-end;
    padding: 20px;
}

.close-btn {
    font-size: 30px;
    cursor: pointer;
    color: black;
}


.off-canvas-dropdown-arrow {
    margin-left: 5px;
    transition: transform 0.3s ease;
    width: 18px;
}

.off-canvas-dropdown:hover .off-canvas-dropdown-arrow {
    transform: rotate(180deg); 
}

.dropbtn_off-canvas {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

/* Content Section */
.content-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 70px;
}

.content-text {
    max-width: 50%;
}

.content-text h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #B01717;
    margin-left: 5rem;
}

.content-text p {
    font-size: 1rem;
    color: #000000;

    margin-left: 5rem;

}

.content-image img {
    width: 100%;
    max-width: 400px; 
    height: auto;
    margin-top: 3rem;
    margin-right: 5rem;
    
}

/* Buttons section */

.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;

}
.button-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    grid-gap: 60px; 
    justify-items: center; 
}

.round-button {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000; 
    color: #fff; 
    text-decoration: none; 
    border: none;
    border-radius: 50px;
    width: 250px;  
    height: 60px; 
    padding: 5px;
    padding: 10px; 
    font-size: 16px; 
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    text-align: center;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3); 
}

.round-button:hover {
    transform: scale(1.1); 
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.6); 
}

/* Banner Section */
.banner {
    position: relative;
    width: 100%;
    height: 200px;
    background-image: url('src/img/banner.png'); 
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
}

.banner-content {
    position: absolute;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column; /* Stacks items vertically */
    justify-content: center;
    align-items: center;
}

/* Button styling */
.banner-button {
    padding: 10px 20px;
    background-color: #B01717;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.banner-button:hover {
    background-color: #B01717;
}

/* slideshow */

.projects {
    margin: 50px auto;
    text-align: center;
  }
  
  .title {
    font-size: 2rem;
    font-weight: bold;
    color: #B01717; 
    margin-bottom: 30px;
    font-family: 'Arial', sans-serif;
  }
  
  .slideshow-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
  }
  
  .slide {
    flex: 0 0 250px;
    height: 250px;
    margin: 0 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.5s ease;
  }
  
  .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .prev,
  .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1;
    color: black;
    font-weight: bold;
    padding: 5px 10px;
    user-select: none;
  }
  
  .prev:hover,
  .next:hover {
    color: #B01717;
  }
  
  .prev {
    left: 0;
  }
  
  .next {
    right: 0;
  }
  
  .dots-container {
    margin-top: 15px;
  }
  
  .dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #d9d9d9;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
  }
  
  .dot.active {
    background-color: #000000;
  }

  /* certficaten */

  .image-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
  }

  .image-left {
    width: 300px;
    height: 200px;
  }

  .image-right {
    width: 300px;
    height: 100px;
  }

  /* footer */
  footer {
    display: flex;
    justify-content: space-between;
    background-color: black;
    color: white;
    padding: 20px 100px;
    font-size: 14px;
  }
  
  .footer-row {
    display: flex;
    flex-direction: column;
  }
  
  .footer-row p {
    margin: 5px 0;
  }
  
  .footer-row a {
    color: white;
    text-decoration: none;
  }
  
  footer p, footer a {
    line-height: 1.5;
  }


/* services page */
/* Service container */
.service-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 8rem;
    margin-top: 0px;
    flex-direction: row-reverse;
}

.service-container h1 {
    color: #B01717;
    font-size: 28px;
    margin-bottom: 20px;
    flex: 1 1 100%;
    margin-top: 3em;
}

.service-container p {
    line-height: 1.6;
    font-size: 16px;
    color: #222;
    flex: 1 1 60%;
}

.service-img {
    width: 100%;
    max-width: 300px;
    border-radius: 5px;
    object-fit: cover;
    flex: 1 1 35%;
}

/* contact pagina */

.contact-banner img {
    width: 100%;
    height: 200px;
    display: block;
    object-fit: cover;
}

.contact-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
}

.contact-container h4 {
    color: #B01717;
    font-weight: bold;
    font-size: 16px;
    margin: 0 0 10px 0;
}

.contact-container h1 {
    color: #B01717;
    font-size: 32px;
    margin-bottom: 30px;
}

form input,
form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 16px;
    border: none;
    border-radius: 12px;
    background-color: #f3f3f3;
    font-size: 16px;
    box-sizing: border-box;
}

.input-row {
    display: flex;
    gap: 10px;
}

.input-row input {
    flex: 1;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.captcha {
    margin: 20px 0;
}

button {
    background-color: #B01717;
    color: white;
    padding: 12px 30px;
    font-size: 16px;
    border: none;
    border-radius: 24px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #B01717;
}

/* privacy verklaring */

.container_privacy {
    width: 80%;
    max-width: 900px;
    margin: 20px auto;
    background-color: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.container_privacy h1 {
    text-align: center;
    color: #000000;
    margin-bottom: 2em;
}

.container_privacy p {
    color: #040404;
    margin-bottom: 1em;
}

.container_privacy ul {
    margin-left: 20px;
    margin-bottom: 1em;
}

.container_privacy h2 {
    color: #0e0d0d;
    margin-bottom: 0.5em;
}


  /* Media queries for mobile view */
  @media (max-width: 1000px) {

    /* hamburger menu */
    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 10px 10px 0px;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    /* Content Section */
    .content-section {
        flex-direction: column;
        padding: 20px;
    }

    .content-text {
        max-width: 100%;
        margin-right: 35%;
    }
    .content-image img {
        max-width: 100%;
        margin-right: 0;
        margin-top: 20px;
    }

    /* Button Section */
    .button-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 20px; 
    }
    
    .round-button {
        width: 100%;
        font-size: 14px;
        padding: 15px;
    }
    

    /* Banner Section */
    .banner {
        height: 150px;
        padding: 20px;
    }

    /* Slideshow */
    .slideshow-container {
        max-width: 90%;
    }
    .slide {
        flex: 0 0 100%;
    }

    /* Footer */
    footer {
        flex-direction: column;
        padding: 20px;
    }
    .footer-row {
        align-items: center;
        width: 100%;
    }

    .image-row {
        flex-direction: column;
    }

    /* services page */

    .service-container {
        flex-direction: column;
        align-items: center;
        text-align: left;
    }

    .service-container p,
    .service-img {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .service-img {
        margin-top: 20px;
    }

}