:root {
  --primary-color: #3067a2;
  --secondary-color: #dee1e2;
  --text-color: #555;
}

/* Hero Banner */
.hero-diensten {
  background: url('../img/heroFoto.png') center/cover no-repeat;
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 0 20px;
  color: white;
}

.hero-diensten::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.hero-diensten h1,
.hero-diensten p,
.hero-diensten a {
  position: relative;
  z-index: 1;
}

.hero-diensten h1 {
  font-size: 4rem;
  font-weight: bold;
  color: var(--primary-color);
}

.hero-diensten p {
  font-size: 1.5rem;
  font-weight: bold;
}

.hero-btn {
  background-color: var(--primary-color) !important;
  color: #dee1e2;
  border: none;
  padding: 12px 25px;
  font-size: 1.3rem;
  cursor: pointer;
  margin-top: 20px;
  transition: 0.3s ease-in-out;
}

.hero-btn:hover {
  background-color: var(--primary-color-light);
}


/* Diensten Secties */
.diensten-container {
  max-width: 1100px;
  margin: auto;
  padding: 50px 20px;
}

.diensten-section {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 50px 0;
  flex-direction: row; /* Standaard normaal */
}

.diensten-section.reverse {
  flex-direction: row-reverse; /* Omgekeerde volgorde */
}

.diensten-img {
  flex: 1;
  text-align: center;
}

.diensten-img img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out;
}

.diensten-img img:hover {
  transform: scale(1.05);
}

.diensten-text {
  flex: 1;
}

.diensten-text h2 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 15px;
}

.diensten-text p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-color);
}

.contact-text h2 {
  color: var(--primary-color);
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.contact-text p {
  font-size: 1.4rem;
  line-height: 1.8;
  color: var(--text-color);
}

.diensten-btn {
  background-color: var(--primary-color) !important;
  color: var(--secondary-color) !important;
  border: none !important;
  padding: 12px 25px !important;
  font-size: 1.5rem !important;
  font-weight: bold !important;
  cursor: pointer !important;
  transition: all 0.3s ease-in-out;
}

.diensten-btn:hover {
  background-color: var(--primary-color-light) !important;
  transform: scale(1.05);
}

/* Responsive Fix voor Mobiel */
@media (max-width: 768px) {
  .diensten-section {
    flex-direction: column !important; /* Mobiel altijd onder elkaar */
    text-align: center;
  }

  .diensten-section.reverse {
    flex-direction: column !important; /* Reverse wordt ook gewoon normaal */
  }

  .diensten-img img {
    max-width: 80%; /* Beetje kleiner maken voor mobiel */
  }
}

