
main,
body > main,
.flex-grow-1 { margin-left: 0 !important; padding-left: 0 !important; }

/* Witte menubalk met donkere tekst */
.navbar-light .navbar-nav .nav-link { color: bg-dark-red !important; font-size: 15pt; font-weight: bold; opacity: 1 !important; padding-left: .8rem !important; padding-right: .8rem !important; }
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus { color: #000 !important; background-color: rgba(0,0,0,0.15) !important; border-radius: 0.25rem; }

.dropdown-menu .dropdown-item { font-size: 1.1rem; }
/* Hamburger-icon donker maken (voor mobiel) */
.navbar-light .navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important; }

.info-narrow      { max-width: 860px; }
.right15          { margin-right: -20%; }

footer            { font-size: 1rem; color: #ddd; background: linear-gradient(135deg, #b11d24 0%, #7d0d13 100%); }

.dropdown-header { color: #999; font-weight: 700; font-size: 1.1rem; letter-spacing: 0.5px; padding-top: 1rem; padding-bottom: 0.5rem; margin-top: 0.5rem; border-top: 1px solid #eee; }

/* smartphone */
@media (max-width: 992px) {
    .info-narrow  { max-width: 100% !important; margin-left: 1rem !important; margin-right: 1rem !important; padding: 0 1rem; }
    .right15      { margin-right: 0; }
    .notonmobile  { display:none; }
}

/* desktop */
@media (min-width: 768px) {
    footer        { font-size: 1.25rem !important; }
    .notondesktop {display:none;}
}


/* ********** Plaatjes ********** */

/* ============================================= */
/* =============== ALGEMENE BASIS =============== */
/* ============================================= */

figure.img-figure {
  position: relative;
  margin: 2rem 0;
  padding: 0;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  box-sizing: border-box;
}

/* PNG-variant zonder achtergrond, schaduw of ronde hoeken */
figure.transparent-png {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

/* Basis voor alle afbeeldingen */
figure.img-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 12px;           /* past mooi bij de figure */
}

/* Optionele fotograaf-credit (rechtsboven) */
.img_photo {
  position: absolute;
  top: 12px;
  right: 16px;
  background: rgba(0,0,0,0.3);
  color: white;
  font-size: 0.85rem;
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  z-index: 10;
  font-weight: 500;
  backdrop-filter: blur(4px);
}

/* Optioneel onderschrift */
.img_capt {
  text-align: center;
  font-size: 0.92rem;
  color: #777;
  padding: 1rem 1.25rem 1.25rem;
  background: #f9f9f9;
  margin: 0;
}

/* ============================================= */
/* =============== DESKTOP VARIANTEN =============== */
/* ============================================= */

figure.img-left-minus,
figure.img-left {
  float: left;
  clear: left;
  max-width: 360px;
  width: auto;
  margin: 0.75rem 2rem 1.5rem 0;
}

figure.img-left-minus {
  margin-left: -180px;           /* laat het uitsteken aan de linkerkant */
}

figure.img-right,
figure.img-right-minus {
  float: right;
  clear: right;
  max-width: 420px;
  width: auto;
  margin: 0.5rem 0 1.5rem 2.5rem;
}

figure.img-right-minus {
  margin-right: -180px;          /* laat het uitsteken aan de rechterkant */
}

figure.img-full {
  clear: both;
  max-width: 100% !important;
  margin: 2rem auto;
}

/* ============================================= */
/* =============== MOBIEL (max 767px) =============== */
/* ============================================= */

@media (max-width: 767px) {

  figure.img-figure {
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 1.8rem auto !important;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  }

  /* Left en Right varianten worden op mobiel allemaal blok-elementen */
  figure.img-left-minus,
  figure.img-left,
  figure.img-right,
  figure.img-right-minus {
    float: none !important;
    clear: both !important;
    width: 90% !important;           /* iets smaller dan volledig scherm */
    max-width: 320px !important;     /* maximale breedte op mobiel */
    margin: 1.5rem auto !important;  /* mooi gecentreerd */
  }

  /* Extra optie: als je img-right-minus echt rechts wil plakken op mobiel */
  /* figure.img-right-minus {
       margin: 1.5rem 0 1.5rem auto !important;
       width: 85% !important;
     } */

  /* Zeer strenge regels voor de afbeelding zelf op mobiel */
  figure.img-figure img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    border-radius: 12px;
    margin: 0 auto;
    display: block;
  }

  /* Kleinere tekst op mobiel */
  .img_photo {
    font-size: 0.78rem;
    padding: 0.35rem 0.7rem;
    top: 10px;
    right: 12px;
  }

  .img_capt {
    font-size: 0.88rem;
    padding: 0.9rem 1rem;
  }

  /* Voorkom rare overflow problemen */
  body, main, .container, .row {
    overflow-x: hidden;
    box-sizing: border-box;
  }
}

/* gebruik in html: 
<figure class="img-figure img-left-minus">
    <img src="images/foto1.jpg" alt="Beschrijving">
    <figcaption class="img_photo">Foto: Anna Jansen</figcaption>
    <figcaption class="img_capt">Jaarlijkse nieuwjaarsontmoeting 2025</figcaption>
</figure>
*/



/* ********** Photoserie ********** */

.photoserie .row       { --bs-gutter-x: 1.25rem; }
.photoserie img        { transition: transform 0.25s ease; }
.photoserie img:hover  { transform: scale(1.04); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }



/* ********** Wie is wie ********** */

.team-card { transition: all 0.3s ease; border: none; border-radius: 16px; overflow: hidden; background: white; box-shadow: 0 12px 40px rgba(0,0,0,0.12); }
.team-card:hover { transform: translateY(-12px); box-shadow: 0 25px 60px rgba(0,0,0,0.18); }
.team-img { width: 100%; height: 100%; object-fit: cover; }
.team-name { font-weight: 700; font-size: 1.5rem; margin-bottom: 0.35rem; color: #222; }
.team-role { color: #b10017; font-weight: 600; font-size: 1.1rem; margin-bottom: 0.5rem; }
.team-org { color: #555; font-size: 0.95rem; margin-bottom: 1rem; }
.team-bio { color: #444; font-size: 1rem; line-height: 1.7; margin-bottom: 1.25rem; }

.linkedin-btn { background: #0a66c2; color: white; border: none; border-radius: 50px; padding: 0.5rem 1.25rem; font-weight: 600; transition: all 0.25s; }

/* Mobiel: stapel kaarten */
@media (max-width: 991px) {
    .team-img { height: 220px; }
}



/* ********** FAQ ********** */

.faq-accordion { max-width: 900px; margin: 2rem auto; }
.faq-item { margin-bottom: 1rem; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.08); background: white; }
.faq-question { display: block; padding: 1.25rem 1.5rem; font-weight: 600; font-size: 1.1rem; color: #333; background: #f8f9fa; cursor: pointer; user-select: none; transition: background 0.2s ease; margin: 0; }
.faq-question::after { content: '+'; float: right; font-size: 1.5rem; line-height: 1; color: #777; transition: transform 0.3s ease; }
.faq-answer { max-height: 0; overflow: hidden; padding: 0 1.5rem; background: white; transition: max-height 0.4s ease, padding 0.3s ease; color: #444; line-height: 1.65; }
.faq-question:hover { background: #e9ecef; }

/* Wanneer het antwoord open is (door JS) */
.faq-item.open .faq-answer { max-height: 1000px; padding: 1.5rem; }
.faq-item.open .faq-question::after { content: '-'; transform: rotate(180deg); }

/* Mobiel */
@media (max-width: 576px) {
    .faq-question { font-size: 1rem; padding: 1rem 1.25rem; }
    .faq-answer { padding: 1rem 1.25rem; }
}



/* ********** Kaarten ********** */

/* Moderne service cards */
.service-card {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  border-radius: 16px;
  overflow: hidden;
  background: white;
  opacity: 90%;
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.12) !important;
}

.service-card .card-title {
  font-size: 1.65rem;
  font-weight: 700;
  color: #1a1a1a;
  position: relative;
  padding-bottom: 10px;
}

.service-card .card-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: #dc3545;          /* pas aan naar je huisstijl-kleur, nu rood */
  border-radius: 4px;
  transition: width 0.4s ease;
}

.service-card:hover .card-title::after {
  width: 100px;
}

.card-link {
  display: block;
  height: 100%;
}

.card-link:hover {
  color: inherit;               /* voorkomt blauwe tekst */
}

/* Kleine verbeteringen voor tekst en knop */
.card-text {
  color: #555;
  line-height: 1.6;
  font-size: 1.05rem;
}

.btn-outline-primary {
  transition: all 0.3s ease;
}

.service-card:hover .btn-outline-primary {
  background-color: #0d6efd;
  color: white;
  border-color: #0d6efd;
  transform: translateX(8px);
}



/* ********** Carousel ********** */

.horizontal-snap-container {
  width: 90vw;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  margin: 2rem auto;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  background: #111;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.horizontal-snap-container::-webkit-scrollbar { display: none; }

.snap-wrapper {
  display: flex;
  height: 100%;
  width: 300%;
}

.snap-page {
  flex: 0 0 33.3333%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: grid;
  place-items: center;
  font-size: clamp(1.8rem, 6vw, 4rem);
  font-weight: bold;
  color: white;
  text-align: center;
  transition: transform 0.4s ease;
}

.snap-page:nth-child(1) { background: linear-gradient(135deg, #ff6b6b, #ffa07a); }
.snap-page:nth-child(2) { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.snap-page:nth-child(3) { background: linear-gradient(135deg, #43e97b, #38f9d7); }

.snap-page:hover { transform: scale(1.02); }

.horizontal-snap-container { cursor: grab; }
.horizontal-snap-container:active { cursor: grabbing; }

