/* Fonts */
@font-face {
    font-family: 'Elza';
    src: url(font/Elza.otf);
  }
  @font-face {
    font-family: 'Elza-bold';
    src: url(font/Elza\ bold.otf);
  } 
  @font-face {
    font-family: 'miguel';
    src: url(font/Miguel\ Regular.ttf);
  } 
  html {
    scroll-behavior: smooth;
}

/* Zorgt dat de sectie wat ademruimte heeft aan de bovenkant na het scrollen */
#specialisaties, #contact {
    scroll-margin-top: 80px; 
}
* {
    margin: 0;
    padding: 0;
}
.header{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),url(images/meriem\ home.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}
nav {
    display: flex;
    padding: 2% 5%;
    justify-content: space-between;
    align-items: center;
    background-color: #fff; /* Witte achtergrond toegevoegd */
}

nav img {
    width: 190px;
}

.nav-links {
    flex: 1;
    text-align: right;
}
.nav-links a.active {
    color: #9abebc; 
    font-weight: bold;
}

.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a {
    color: #333; 
    text-decoration: none;
    font-size: 13px;
    font-family: Elza;
}

.nav-links ul li::after {
    content: '';
    width: 0%;
    height: 2px;
    background: #9abebc;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links ul li:hover::after {
    width: 100%;
}
.text-box{
    width: 65%;
    color: #FFF;
    position: absolute;
    top: 59%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}
.text-box h1{
    font-size: 73px;
    font-family: miguel;
}
.text-box p{
    margin: 10px 0 40px;
    font-size: 17px;
    color: #fff;
    font-family: elza;
}
.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 15px;
    background: transparent;
    position: relative;
    cursor: pointer;
    font-family: elza;
}
.hero-btn:hover{
    border: 1px solid #9abebc;
    background: #9abebc;
    transition: 1s;
}
.about-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 90px;                /* ruimte tussen foto en tekst */
    padding: 60px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .image-container {
    flex: 1;
    max-width: 500px;
    overflow: hidden;
  }
  
  .image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  
  .text-container {
    flex: 1;
    font-family: "Poppins", sans-serif;
    color: #333;
    max-width: 60vh;
  }
  
  .text-container h2 {
    margin-top: 10%;
    font-size: 2rem;
    margin-bottom: 20px;
    font-family: miguel;
    color: #9abebc;
  }
  
  .text-container p {
    line-height: 1.6;
    font-size: 1rem;
    color: #333;
  }
  .hero-buttons {
    display: flex;
    gap: 20px;       /* ruimte tussen de knoppen */
    margin-top: 20px; /* ruimte boven de knoppen */
  }
  
  .hero-btn {
    padding: 10px 25px;
    background-color: #9abebc; /* passend bij je kleurenpalet */
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
  }
  
  .hero-btn:hover {
    background-color: #7daaa3; /* iets donkerder bij hover */
  }
  .diensten-section {
    font-family: elza;
    background-color: #f5f5f5;
    padding: 80px 60px; /* ruimte links en rechts toegevoegd */
    box-sizing: border-box;
  }
  .diensten-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 1500px;
    max-height: 1100px;
    margin: 0 auto;
    overflow: hidden;
  }
  
  .dienst-card {
    flex: 1;
    text-align: center;
    padding: 40px 25px 30px; /* extra onderruimte */
    border: none;
    border-radius: 0;
    display: flex;
    flex-direction: column; /* zodat we de knop onderaan kunnen plaatsen */
    justify-content: space-between; /* spreidt inhoud */
    box-sizing: border-box;
    position: relative;
  }
  
  /* --- TITELS (voor mooi uitlijnen bij 1 of 2 regels) --- */
  .dienst-card h3 {
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.3;
    margin-bottom: 20px;
    min-height: 45px; /* zorgt dat 1-regelige titels evenveel ruimte innemen als 2-regelige */
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Elza-bold;
  }
  
  /* --- TEKST --- */
  .dienst-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: auto; /* duwt knop omlaag */
    min-height: 60px; /* zorgt dat alle teksten ongeveer dezelfde hoogte hebben */
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* --- KNOP & PIJL ONDERAAN --- */
  .meer-btn {
    background-color: transparent;
    border: 1.5px solid currentColor;
    color: inherit;
    padding: 10px 35px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 30px;
    align-self: center;
    text-decoration: none;
  }
  
  .arrow {
    display: block;
    margin-top: 20px;
    font-size: 1.2rem;
    opacity: 0.7;
    align-self: center;
  }
  
  /* --- KLEURVARIANTEN --- */
  .white-card {
    background-color: #ffffff;
    color: #333;
  }
  
  .blue-card {
    background-color: #9abebc;
    color: #ffffff;
  }
  
  /* blauwe knop in witte card */
  .white-card .meer-btn.blue-btn {
    background-color: #9abebc;
    border: none;
    color: #fff;
  }
  
  .white-card .meer-btn.blue-btn:hover {
    background-color: #7daaa3;
  }
  
  .blue-card .meer-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
  }
  
  /* --- DOT BOVENAAN --- */
  .dot {
    display: block;
    width: 10px;
    height: 10px;
    background-color: #9abebc;
    border-radius: 50%;
    margin: 0 auto 20px auto;
  }
  
  .blue-card .dot {
    background-color: #ffffff;
  }
  
  /* --- RUIIMTE TUSSEN KAARTEN --- */
  .dienst-card + .dienst-card {
    border-left: 2px solid #f5f5f5;
  }

  /* ============================= */
/* HAMBURGER MENU */
/* ============================= */

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: #333;
  border-radius: 3px;
  transition: 0.3s ease;
}

/* Animatie naar kruis */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}
  .footer {
    background-color: #fff;
    color: #333;
    padding: 40px 0 20px;
    font-family: elza;
}

.footer-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px; /* afstand eerste en laatste kolom tot schermranden */
    align-items: flex-start;
}

/* eerste en laatste kolom normaal */
.footer-column {
    min-width: 200px;
}
.footer-column img{
    width: 150px;
}
/* middle kolom krijgt grote afstand links */
.middle-column {
    margin-left: 350px; /* enorme ruimte tussen kolom 1 en 2 */
    margin-right: 50px;
}

.footer-logo {
    width: 150px;
    margin-bottom: 15px;
}

.footer-column h4 {
    margin-bottom: 10px;
    font-size: 18px;
    font-family: miguel;
    color: #9abebc;
}

.footer-column p {
    margin: 5px 0;
    font-size: 14px;
    font-family: poppins;
}

.footer-column a {
    color: #333;
    text-decoration: none;
}

.footer-column a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 12px;
    color: #9abebc;
    font-family: poppins;
}

/* ============================= */
/* MOBILE STYLING */
/* ============================= */

@media (max-width: 768px) {

  /* NAVIGATION */
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #333;
    border-radius: 3px;
    transition: 0.3s ease;
}

.nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right 0.4s ease;
    z-index: 999;
}

.nav-links.active {
    right: 0;
}

.nav-links ul {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
    width: 100%;
}
nav img {
  width: 140px;
}
.nav-links ul li a {
    font-size: 18px;
    color: #333;
    text-decoration: none !important;
}

.nav-links ul li a:hover {
    color: #9abebc;
    text-decoration: none !important;
}

  /* HEADER */
  .header{ 
    min-height: 60vh;
  }
  .text-box h1 {
      font-size: 48px;
  }

  .text-box p {
      font-size: 15px;
  }

  .hero-btn {
      font-size: 14px;
      padding: 10px 22px;
  }

  /* ABOUT SECTION */
  .about-section {
      flex-direction: column;
      padding: 40px 20px;
      gap: 30px;
      text-align: center;
  }

  .text-container h2 {
      margin-top: 0;
      font-size: 1.6rem;
  }

  .hero-buttons {
      justify-content: center;
      flex-direction: column;
      gap: 15px;
      margin-top: 40px;
  }
  .nav-links ul li a {
    text-decoration: none;  /* verwijdert onderlijn */
    color: #333;            /* zorg dat de kleur correct blijft */
    transition: color 0.3s;
}

/* Optioneel: kleine hover effect zonder underline */
.nav-links ul li a:hover {
    color: #9abebc;
    text-decoration: none;
}

  /* DIENSTEN */
 
  .diensten-container {
    flex-direction: column;
    flex-wrap: nowrap;
    max-height: none !important;   /* reset */
    overflow: visible !important;  /* reset */
    height: auto;
}

.dienst-card {
    width: 100%;
    max-width: 100%;
    border-left: none !important;
        border-bottom: 2px solid #eeeeee;
}

  .dienst-card + .dienst-card {
      border-left: none;
  }

  /* FOOTER */
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.footer-column {
    width: 100%;
    max-width: 400px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.middle-column {
    margin: 0; /* reset die 350px */
}

.footer-column img {
    margin: 0 auto 15px;
    display: block;
}
.footer-bottom{
  margin-top: 10px;
}
}
