body {
    font-family: Arial, sans-serif;
    padding-top: 80px;
    width: 100%;
    max-width: none;
    margin: 0px;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/*navbar*/

.navbar {
    width: 100%;
    background-color: #1e1e1e;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
  }
  
  .navbar-container {
    width: 60%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .navbar-container img {
    height: 60px;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
  }
  
  .nav-links li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
  }
  
  .nav-links li a:hover {
    color: #00d8ff;
  }
  
  /* Hamburger knop - standaard verborgen */
  .hamburger {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 1100;
  }
  
  /* Mobile layout */
  @media (max-width: 768px) {
    .navbar-container {
      width: 90%;
    }
  
    .nav-links {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      background-color: #1e1e1e;
      text-align: center;
      padding: 1rem 0;
      z-index: 999;
    }
  
    .nav-links.active {
      display: flex;
    }
  
    .nav-links li {
      margin: 1rem 0;
    }
  
    .nav-links a {
      font-size: 1.2rem;
    }
  
    .hamburger {
      display: block;
    }
  }

/*header*/

.carousel-header {
    position: relative;
    height: 800px;
    width: 100%;
    max-width: none;
    margin: 0;
    overflow: hidden;
}

.slides {
    position: absolute;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

.carousel-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 2;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
    padding: 0 1rem;
}

.carousel-text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.carousel-text p {
    font-size: 1.2rem;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

@media (max-width: 768px) {
    .carousel-header {
        height: 400px;
    }

    .carousel-text h1 {
        font-size: 2rem;
    }

    .carousel-text p {
        font-size: 1rem;
    }
}

/*projecten*/

.projects {
    background-color: #e4e4e4;
    padding: 4rem 2rem;
    text-align: center;
}

.projects-container {
    max-width: 1200px;
    margin: 0 auto;
}

.projects h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
    text-align: center;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.project {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    background-color: rgb(255, 255, 255);
}

.project:hover {
    transform: scale(1.05);
}

.project img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-info {
    padding: 1rem;
    background-color: #fff;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.project-info p {
    font-size: 1rem;
    color: #666;
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/*over ons*/

.over-ons {
    background-color: #f9f9f9;
    padding: 4rem 2rem;
    text-align: center;
}

.over-ons-container {
    max-width: 1200px;
    margin: 0 auto;
}

.over-ons h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #222;
}

.over-ons-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    text-align: left;
}

.over-ons-text {
    flex: 1 1 500px;
    font-size: 1.1rem;
    color: #444;
    line-height: 1.6;
}

.over-ons-afbeelding {
    flex: 1 1 400px;
}

.over-ons-afbeelding img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/*contact*/

.contact {
    background-color: #f0f0f0;
    padding: 4rem 2rem;
    text-align: center;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #222;
}

.contact p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #555;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 100%;
}

.contact-form button {
    padding: 1rem;
    font-size: 1rem;
    background-color: #1e1e1e;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background-color: #00d8ff;
    color: #000;
}

/*footer*/

.footer {
    background-color: #1e1e1e;
    color: white;
    padding: 3rem 2rem 1rem;
    font-size: 0.95rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-info, .footer-contact, .footer-map {
    flex: 1 1 300px;
}

.footer h3, .footer h4 {
    margin-bottom: 1rem;
    color: #00d8ff;
}

.footer a {
    color: white;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer-map iframe {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    border: none;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    border-top: 1px solid #333;
    padding-top: 1rem;
    font-size: 0.85rem;
    color: #aaa;
}

.social-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    filter: invert(100%);
    transition: transform 0.2s ease;
}

.social-icon:hover {
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-map iframe {
        height: 250px;
    }
}