
  .title {
    background-image: url('../images/diensten-achtergrond.jpg');
  }
        
  /* Services grid */
  .services-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .service-box {
    flex: 1 1 300px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
  }
  
  .service-box:hover {
    transform: translateY(-5px);
  }
  
  .service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
  
  .service-box img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
  }
  
  .service-description {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #555;
  }
  
  .service-button {
    background-color: #2c3335;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
  }
  
  .service-button:hover {
    background-color: #555555;
  }
  







  .projecten-container {
    text-align: center;
  }
  
  .projecten-title {
    position: relative;
    width: 100%;
    padding: 3em;
    margin-bottom: 30px;
    box-sizing: border-box;
    border-radius: 6px;
  
    background-image: url('../images/projecten-achtergrond.jpg'); /* Of andere passende afbeelding */
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-color: transparent;
    color: #2c3335;
  }
  
  .projecten-title::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.35);
    border-radius: 6px;
    z-index: 1;
  }
  
  .projecten-title h2 {
    position: relative;
    z-index: 2;
    color: white;
    font-size: 2rem;
  }
  
  .projecten-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .project-box {
    flex: 1 1 300px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: left;
    box-sizing: border-box;
  }
  
  .project-naam {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
  
  .project-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
  }
  
  .project-content img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
  
    /* Voeg dit toe: */
    margin: 0 auto;  /* horizontaal centreren in zijn container */
    display: block;
  }  
.project-tekst {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  align-items: center; /* centreren van de inhoud horizontaal */
  text-align: center;  /* tekst ook centreren */
}

.project-tekst p {
  margin-bottom: 1em;
  color: #555;
  font-size: 1rem;
}

.project-button {
  background-color: #2c3335;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  display: inline-block;
  margin-top: auto; /* optioneel: duwt knop naar onder als je wilt */
}
  
  .project-button:hover {
    background-color: #555555;
  }
  
  .project-box {
    /* jouw bestaande styles */
    transition: transform 0.3s ease;
  }
  
  .project-box:hover {
    transform: translateY(-5px);
  }
  



.intro-title {
  position: relative;
  width: 100%;
  padding: 3em;
  margin-bottom: 30px;
  box-sizing: border-box;
  border-radius: 6px;

  background-image: url('../images/intro-achtergrond.jpg'); 
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-color: transparent;
  color: #2c3335;
  text-align: center;
}

.intro-title::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.6); /* donkerdere overlay */
  border-radius: 6px;
  z-index: 1;
}

.intro-title h1,
.intro-title .intro-subtext {
  position: relative;
  z-index: 2;
  color: white;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.intro-title h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 0.5em;
}


.intro-title .intro-subtext {
  font-size: clamp(1rem, 3vw, 1.2rem);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

