/* Zorg dat de tekst in de carousel altijd perfect gecentreerd staat */
.middle-caption {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    background: transparent !important;
    width: 100%;
    padding: 0;
    margin: 0;
    color: #fff;
}
body {
    margin: 0;
    font-family: 'Oxygen', Arial, sans-serif;
    background: #3b3b3b;
    color: #333;
}
header {
    background: #3b3b3b;
    color: white;
    height: 114px;
    padding: 0; /* Ensuring padding remains unchanged */
    text-align: left;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-bottom: 5px solid #ed564b;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}
.logo {
    font-size: 48px;
    font-family: 'Great Vibes', cursive;
    font-weight: normal;
    letter-spacing: 0.5px;
    margin-bottom: 0;
    margin-top: 18px;
    text-align: left;
    width: fit-content;
    margin-left: 0;
    margin-right: 20px;
}
main {
    background: #fffafc;
    min-height: 300px;
    padding: 40px 20px;
    text-align: left;
}
footer {
    background: #3b3b3b;
    color: white;
    padding: 2rem;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-top: 5px solid #ed564b;
}

/* Dienst-foto overlay en klikbare stijl */
.dienst-link {
  position: relative;
  display: block;
}
.dienst-img {
  transition: filter 0.2s;
}
.dienst-link:hover .dienst-img,
.dienst-link:focus .dienst-img {
  filter: brightness(0.7);
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
  background: rgba(0,0,0,0.3);
  border-radius: 0.5rem;
}
.dienst-link:hover .overlay,
.dienst-link:focus .overlay {
  opacity: 1;
}
.overlay span {
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  background: rgba(220,53,69,0.85);
  padding: 0.5em 1em;
  border-radius: 0.5em;
}
.copyright-footer {
  text-align: center;
  font-size: 0.95em;
  color: #bbb;
  margin-top: 0.5em;
}
