/* ================================
   SERVICE PAGINA SPECIFIEK
   ================================ */

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 20px 5%;
  margin: 32px auto 0 auto;
  max-width: 1980px;
}

.hero-content {
  width: 100%;
  max-width: 1980px;
  display: flex;
  align-items: stretch;
  gap: 40px;
}

.hero-image-row {
  width: 100%;
  height: 400px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  margin-bottom: 30px;
  overflow: hidden;
}

.section-divider {
  border-top: 1px solid #e0e0e0; /* lichtgrijs, zacht */
  margin: 1rem auto; /* ruimte boven en onder */
  width: 85%;
  align-items: center;
}


/* Service detail layout */
.service-detail {
  padding: 20px 5%;
  margin: 50px auto 0 auto;
  max-width: 1980px;
  width: 100%;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.text h2 {
  font-size: var(--font-scale-lg);
  margin-top: 20px;
  margin-bottom: 15px;
}

.text p {
  font-size: var(--font-scale-base);
  line-height: 1.6;
  margin-bottom: 10px;
}

.text ul {
  list-style-type: none;
  padding: 0;
  font-size: var(--font-scale-base);
  line-height: 1.6;
  margin-bottom: 15px;
}

.text ul li::before {
  content: "Ã¢â‚¬â€ ";
  margin-right: 5px;
}

.text li {
  font-size: var(--font-scale-base);
  margin-bottom: 8px;
}

.image img {
  max-width: 75%; 
  border-radius: 10px;
  box-shadow: 0 4px 10px var(--shadow-color);
}

/* --- ALIGNMENT FIX FOR SERVICES INTRO IMAGE (FIGURE) --- */
/* Maak het grid-item zo breed als de inhoud en duw het naar rechts */
.services-intro-image {
  width: fit-content;        /* voorkom kolombreedte/stretch */
  margin-left: auto;         /* RIGHT align in column */
  align-self: center;        /* verticaal uitlijnen in de rij */
}

/* Opties: center of left via extra class */
.services-intro-image.center {
  margin-left: auto;
  margin-right: auto;        /* CENTER in column */
}
.services-intro-image.left {
  margin-left: 0;            /* LEFT expliciet */
  margin-right: 0;
}

/* Zorg dat de img zelf netjes rendert */
.services-intro-image img {
  display: block;
  max-width: 100%;
  height: 340px;            /* vaste hoogte voor uniformiteit */
  object-fit: cover;        /* vult zonder te vervormen */
  border-radius: 10px;
  display: block;
}

/* ------------------------------------------------------- */

/* Versies (desktop vs mobile) */
.detailed-version { display: block; }
.simple-version { display: none; }

.desktop-only { display: block; }
.mobile-only  { display: none; }

/* Contact sectie */
.contact-section {
  grid-column: 1 / 2;
  margin: 20px 0 70px;
  text-align: left;
  order: var(--order);
}

.contact-icons {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 15px;
}

.social-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 8px var(--shadow-color);
  transition: transform 0.3s, box-shadow 0.3s;
}

.social-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px var(--shadow-color);
}

.social-icon img {
  width: 50%;
  height: 50%;
}

/* ==========================
   CTA Buttons
   ========================== */
.cta-button-serv {
  display: inline-block;
  background-color: #007BFF; 
  color: #fff;
  font-size: var(--font-scale-base);
  font-weight: 600;
  margin-top: 20px;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.cta-button-serv:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.cta-button-serv:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.cta-button-serv:focus-visible {
  outline: 3px dashed #0056b3;
  outline-offset: 4px;
}



.faq-section {
    padding: 60px 5%;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s, color 0.3s;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin: 100px auto;
}

.faq-desktop-only-break {
    display: inline;
}

#faq {
    scroll-margin-top: 100px;
}

.faq-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 50px;
}

.faq-intro {
    align-self: start;
}

.faq-intro h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--text-color);
}

.faq-intro p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.5;
}

.faq-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.faq-question {
    background: none;
    border: none;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: left;
    width: 100%;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--accent-color);
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    margin-top: 10px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--secondary-text-color);
}

.faq-item.active .faq-answer {
    display: block;
}








/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 992px) {
  .hero,
  .hero-content,
  .hero-image-row {
    display: none;
  }

  .grid {
    display: flex;
    flex-direction: column;
    margin: 0 10px 0;
  }

  .service-detail {
    margin-top: 20px;
  }

  .text .intro-p1 {
    order: 2;
    font-size: var(--font-scale-base);
    line-height: 1.5;
    text-align: left;
    margin: 15px 0 15px;
  }

  .text .mobile-intro-image {
    display: block;
    order: 3;
  }

  .mobile-intro-image img {
    margin: 40px 0;
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .text .intro-p2,
  .text .intro-p3 {
    order: 4;
    font-size: var(--font-scale-base);
    line-height: 1.5;
    margin: 5px 0 30px;
  }

  .services-intro-image { display: none; }

  .services-image img {
    width: 100%;
    max-width: 100% !important;
    border-radius: 0;
    order: 5;
  }

  .text h2 {
    font-size: var(--font-scale-md);
    line-height: 1.3;
  }

  .detailed-version { display: none; }
  .simple-version  { display: block; }

  .contact-section {
    order: 7;
    margin: 0;
  }
  
  .cta-button-serv { display: none; }
  }

    .faq-section {
        margin-top: 0;
        margin-bottom: 50px;
    }

    .faq-container {
        grid-template-columns: 1fr;
        margin: 0 10px;
    }

    .faq-desktop-only-break {
        display: none;
    }

    #faq {
        scroll-margin-top: 120px;
    }

    .faq-content {
        margin-top: 20px;
    }

    .faq-intro,
    .faq-content {
        max-width: 100%;
    }

    .faq-intro {
        margin-bottom: 20px;
    }

    .faq-intro h2 {
        font-size: 1.5rem;
    }

    .faq-intro p {
        font-size: 1.1rem;
    }

    .faq-question {
        font-size: 1rem;
    }

    .faq-answer {
        font-size: 0.9rem;
    }

    .faq-section {
        padding: 40px 5%;
    }

    .faq-container {
        gap: 10px;
    }

 


/* Hero image itself */
.hero-image-row {
  position: relative;
  overflow: hidden;        /* clippen aan de afgeronde hoeken */
  border-radius: 12px;     /* jouw gewenste radius */
}

/* Zorg dat de afbeelding netjes past en wordt geclipt */
.hero-image-row img,
.hero-image-row picture,
.hero-image-row picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;       /* vullend, zonder vervormen */
  border-radius: 12px;     /* fallback; helpt bij sommige browsers */
}

/* Forceer uitlijning van de services-intro-image in de gridkolom */
.services-intro-image {
  margin: 0;                /* reset default figure margins */
  width: 100%;              /* laat het grid-item kolombreedte pakken */
  display: flex;            /* align de inhoud (de img) met flex */
  align-items: center;      /* verticaal centreren in de rij */
  justify-content: flex-end;/* --> RECHTS uitlijnen */
}

/* Varianten: gebruik extra class in HTML */
.services-intro-image.center { justify-content: center; }   /* centreren */
.services-intro-image.left   { justify-content: flex-start; }/* links */

/* Afbeelding zelf blijft 75% en blok-element */
.services-intro-image img {
  display: block;
  max-width: 75%;
  height: auto;
}


@media (max-width: 600px) {
.services-intro-image img {
  display: block;
  max-width: 100%;
  height: auto;
}


