.title {
  background-image: url('../images/grond-en-rioolwerk-achtergrond.jpg');
}

.dienst-intro {
  max-width: 900px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  text-align: center;
}

.dienst-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.dienst-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;
  transition: transform 0.3s ease;
}

.dienst-box:hover {
  transform: translateY(-5px);
}

.dienst-naam {
  font-size: 1.5rem;
  margin-bottom: 15px;
  text-align: center;
}

.dienst-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}

.dienst-content img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

.dienst-tekst {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.dienst-tekst p {
  margin-bottom: 1em;
  color: #555;
  font-size: 1rem;
}

.dienst-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;
}

.dienst-button:hover {
  background-color: #555555;
}

/* Nieuwe sectie Onze aanpak */

.dienst-aanpak {
  max-width: 1250px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.dienst-aanpak h2 {
  font-size: 1.5rem;
  margin-bottom: 40px;
  text-align: center;
}

.aanpak-grid {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.aanpak-item {
  flex: 1 1 300px;
  max-width: 350px;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.aanpak-item:hover {
  transform: translateY(-5px);
}

.aanpak-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.aanpak-item p {
  font-size: 1rem;
  color: #555;
  margin: 0;
  flex-grow: 1;
}

/* Responsive fix voor kleinere schermen */
@media (max-width: 800px) {
  .aanpak-grid {
    justify-content: center;
  }
}
