/* Alleen voor deze pagina – aangepaste overlay voor hero */
#svc-hero .hero-overlay {
  background: rgba(0, 0, 0, 0.15) !important; /* #594323 met 45% transparantie */
  opacity: 1 !important;
  z-index: 1 !important; /* onder tekst en container, boven video */
}

/* Mobiel iets sterker */
@media (max-width: 768px) {
  #svc-hero .hero-overlay {
    background: rgba(57, 48, 34, 0.55) !important;
    opacity: 1 !important;
  }
}

/* Container (2 kolommen) behouden: lichte beige achtergrond terugzetten */
#svc-hero.hero-wrap--svc .container,
#svc-hero .hero-wrap--svc .container {
  background: rgba(57, 48, 34, 0.55) !important; /* zelfde tint #F6F3E5 met lichte transparantie */
  backdrop-filter: blur(2px) !important;
  z-index: 2 !important;
}

/* Alleen voor de nieuwe indexpagina – tekst in hero wit maken */
#svc-hero h1,
#svc-hero h2,
#svc-hero p {
  color: #fff !important;
}

/* Alleen voor de nieuwe indexpagina – boost-animatie wit → rood */
#svc-hero h2 .boost {
  animation: indexBoostBlink 2s steps(1,end) infinite !important;
}

/* Nieuwe animatie enkel voor deze pagina */
@keyframes indexBoostBlink {
  0%,49% { color: #fff; }          /* wit */
  50%,100% { color: #E33E0F; }     /* rood */
}

/* Alleen voor de indexpagina – H2 in hero altijd op één regel, zonder overloop */
#svc-hero .hero-grid-svc .left h2 {
  white-space: nowrap;                  /* mag blijven */
  overflow: visible;                    /* ✅ laat tekst volledig zien */
  text-overflow: clip;                  /* geen “…” meer */
  font-size: clamp(18px, 2.8vw, 34px);
  line-height: 1.25;                    /* ✅ extra ademruimte */
}


/* =========================================
   HERO – Volledige definitieve styling
   ========================================= */

/* Overlay transparantie */
#svc-hero .hero-overlay {
  background: rgba(0, 0, 0, 0.15) !important;
  opacity: 1 !important;
  z-index: 1 !important;
}

/* Mobiel iets donkerder */
@media (max-width: 768px) {
  #svc-hero .hero-overlay {
    background: rgba(57, 48, 34, 0.55) !important;
    opacity: 1 !important;
  }
}

/* Achtergrondlaag container */
#svc-hero.hero-wrap--svc .container,
#svc-hero .hero-wrap--svc .container {
  background: rgba(57, 48, 34, 0.55) !important;
  backdrop-filter: blur(2px) !important;
  z-index: 2 !important;
}

/* Tekstkleur wit */
#svc-hero h1,
#svc-hero h2,
#svc-hero p {
  color: #fff !important;
}

/* Boost animatie wit → rood */
#svc-hero h2 .boost {
  animation: indexBoostBlink 2s steps(1,end) infinite !important;
}

@keyframes indexBoostBlink {
  0%,49% { color: #fff; }
  50%,100% { color: #E33E0F; }
}



/* =========================================
   HERO – Lay-out en uitlijning
   ========================================= */

/* Container padding behouden */
#svc-hero .container {
  padding: 0 var(--gutter);
}

/* Grid-layout */
#svc-hero .hero-grid-svc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--gutter);
  padding-top: 80px;       /* verticale ruimte boven */
  padding-bottom: 80px;    /* verticale ruimte onder */
  box-sizing: border-box;
}

/* Rechterkolom */
#svc-hero .hero-grid-svc .right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;   /* alles links uitlijnen */
  justify-content: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  max-width: 520px;          /* breedte tekstblok */
}

/* Tekst rechts */
#svc-hero .hero-grid-svc .right h2,
#svc-hero .hero-grid-svc .right p {
  text-align: left !important;
  margin: 0;
  padding: 0;
  width: 100%;
}

/* =========================================
   Vierkant + rechthoek (hero-actions)
   ========================================= */
#svc-hero .hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 520px; /* exact zelfde lijn als tekst */
  box-sizing: border-box;
}

/* Vierkant */
#svc-hero .avatar-square {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  background: #F6F3E5 url('../img/foto-campagne-partners-home.webp') center/cover no-repeat;
  border: 3px solid #F6F3E5;
  flex-shrink: 0;
  margin-top: -6px;   /* ⬅ schuif omhoog, speel met -2px / -4px / -6px */

}

/* Rechthoek */
#svc-hero .cta-panel {
  flex: 1;
  height: 100px;
  border-radius: 12px;
  border: 3px solid #F6F3E5;
  background: #F6F3E5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 20px;
  box-sizing: border-box;
}

/* Tekst in rechthoek */
#svc-hero .cta-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: #000;
  margin: 0 0 5px 0;
  white-space: nowrap;
}

/* Knoppen */
#svc-hero .cta-buttons {
  display: flex;
  gap: 20px;
  align-items: center;
  margin: 0;
}
#svc-hero .mini-btn {
  height: 40px;
  padding: 5px 14px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #191919;
  color: #F6F3E5;
  text-decoration: none;
  border-radius: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  border: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
#svc-hero .mini-btn:hover {
  background: #191919;           /* behoudt donkere achtergrond */
  color: #F6F3E5 !important;     /* ✅ tekstkleur blijft beige, nooit donkerder */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 1024px) {
  #svc-hero .hero-grid-svc {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

@media (max-width: 768px) {
  #svc-hero .hero-grid-svc {
    grid-template-columns: 1fr;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  #svc-hero .hero-grid-svc .right {
    align-items: center;
    text-align: center;
  }
  #svc-hero .hero-actions {
    flex-direction: column;
    align-items: center;
    max-width: none;
  }
  #svc-hero .avatar-square {
    width: 80px;
    height: 80px;
  }
  #svc-hero .cta-panel {
    width: 90%;
    height: auto;
    text-align: center;
  }
}

/* ✅ Correcte logo-weergave in carrousel (geen vervorming) */
#demoCarousel .slide-icon {
  width: auto !important;        /* breedte schaalt op basis van beeldverhouding */
  height: 70px !important;       /* vaste hoogte voor consistente lijn */
  max-width: 100% !important;    /* nooit breder dan container */
  object-fit: contain !important;/* behoudt originele proporties */
  object-position: center;
  display: block;
  margin: 0 auto 16px auto;      /* centreren en ruimte onderaan */
}


#svc-hero .hero-grid-svc .left h2 {
  white-space: nowrap;      /* blijft goed voor één regel */
  overflow: visible;        /* ✅ voorkomt afsnijden van onderkant */
  text-overflow: clip;      /* geen “…” meer */
  font-size: clamp(18px, 2.8vw, 34px);
  line-height: 1.25;        /* ✅ meer ademruimte voorkomt clipping */
}

/* ✅ Fix: geen tekstkleurverandering bij tap of hover op mobiel */
@media (hover: none) and (pointer: coarse) {
  #svc-hero .mini-btn,
  #svc-hero .mini-btn:hover,
  #svc-hero .mini-btn:active,
  #svc-hero .mini-btn:focus {
    background: #191919 !important;
    color: #F6F3E5 !important;
  }
}


/* === POPUP STIJLEN === */
.ai-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: #ffffff;
  color: #191919;
  border-radius: 25px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.25);
  z-index: 9999;
  width: 90%;
  max-width: 480px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.4s ease, transform 0.4s ease;
  opacity: 0;
  pointer-events: none;
}

.ai-popup.show {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}

.ai-popup-inner {
  position: relative;
  text-align: left;
  padding: 25px;
  font-family: "Open Sans", Arial, sans-serif;
}

@media (min-width: 768px) {
  .ai-popup-inner {
    padding: 75px;
  }
}

/* Sluitknop rechtsboven */
.ai-popup-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: #191919;
  cursor: pointer;
  font-family: inherit;
}

/* Typografie */
.ai-popup-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;         /* ~21.6px op mobiel */
  font-weight: 700;
  margin: 0 0 16px 0;
  color: #191919;
}

@media (min-width: 768px) {
  .ai-popup-title { font-size: 1.75rem; } /* ~28px desktop */
}

.ai-popup-sub {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 32px 0;
  color: #191919;
  letter-spacing: 0.3px;
}

@media (min-width: 768px) {
  .ai-popup-sub { font-size: 1.15rem; } /* ~18px desktop */
}

.ai-popup-text {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.95rem;
  margin: 0 0 32px 0;
  color: #191919;
  line-height: 1.45;
}

.ai-popup-btn {
  display: inline-block;
  background: #191919;
  color: #ffffff;
  text-decoration: none;
  border-radius: 12px;
  padding: 10px 10px;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
}

/* ================================================
   Hero-knoppen op indexpagina – donkere versie
   ================================================ */
#svc-hero .mini-btn,
#svc-hero .hero-actions a.mini-btn,
#svc-hero .hero-actions button.mini-btn {
  background-color: #191919 !important;
  color: #ffffff !important;
  border: 1px solid #191919 !important;
}

/* Hoverversie */
#svc-hero .mini-btn:hover,
#svc-hero .hero-actions a.mini-btn:hover,
#svc-hero .hero-actions button.mini-btn:hover {
  background-color: #000000 !important; /* iets dieper zwart bij hover */
  color: #ffffff !important;
  border-color: #191919 !important;
}
