/* ═══════════════════════════════════════════════════════
   PRIME MOMENTS — animations.css
   CSS voor custom cursor, scroll progress, shimmer,
   marquee en overige motion effecten.
═══════════════════════════════════════════════════════ */

/* ────────────────────────────────
   SCROLL PROGRESS BAR
──────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--rose), var(--bronze));
  z-index: 9999;
  pointer-events: none;
  transition: width 0.08s linear;
  /* Zachte glow */
  box-shadow: 0 0 8px rgba(196, 137, 122, 0.55);
}


/* ────────────────────────────────
   CUSTOM CURSOR
   Alleen actief als JS de body.cursor-enabled class gezet heeft.
   Zo is de standaard cursor NOOIT verborgen zonder custom vervanging.
──────────────────────────────── */

/* Verberg standaard cursor alleen als custom cursor actief is */
body.cursor-enabled,
body.cursor-enabled *,
body.cursor-enabled a,
body.cursor-enabled button,
body.cursor-enabled input,
body.cursor-enabled select,
body.cursor-enabled textarea,
body.cursor-enabled [role="button"] {
  cursor: none !important;
}

/* Stipje — volgt muis direct */
#cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rose);
  pointer-events: none;
  z-index: 99999;
  will-change: transform;
  transition: opacity 0.3s ease;
  box-shadow: 0 0 10px rgba(196, 137, 122, 0.7);
}

/* Ring — volgt met lag (via JS lerp) */
#cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(196, 137, 122, 0.55);
  pointer-events: none;
  z-index: 99998;
  will-change: transform;
  transition:
    width  0.35s cubic-bezier(0.16, 1, 0.3, 1),
    height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.25s ease,
    opacity 0.3s ease,
    background 0.25s ease;
}

/* Hover state — ring groter */
#cursor-ring.cursor-hover {
  width: 54px;
  height: 54px;
  border-color: rgba(196, 137, 122, 0.85);
  background: rgba(196, 137, 122, 0.07);
}

/* Klik state — ring comprimeert */
#cursor-ring.cursor-click {
  width: 26px;
  height: 26px;
  background: rgba(196, 137, 122, 0.18);
  border-color: var(--rose);
  transition:
    width  0.12s cubic-bezier(0.16, 1, 0.3, 1),
    height 0.12s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.1s ease,
    background 0.1s ease;
}


/* ────────────────────────────────
   SHIMMER OP FEATURED KAARTEN
──────────────────────────────── */
.card-shimmer {
  position: absolute;
  /* Alleen het zichtbare kaartoppervlak, niet de badge daarboven */
  top: 0;
  bottom: 0;
  left: -75%;
  width: 50%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255, 255, 255, 0.09) 50%,
    transparent 80%
  );
  pointer-events: none;
  z-index: 2;
  transform: skewX(-15deg);
  /* Clips de shimmer binnen de kaart zonder overflow:hidden op de parent */
  clip-path: inset(0 round 16px);
}

@keyframes shimmerSwipe {
  from { left: -75%; opacity: 1; }
  to   { left: 130%; opacity: 0.6; }
}


/* ────────────────────────────────
   SCROLLENDE MARQUEE — why-proof-row
──────────────────────────────── */
.marquee-track-row {
  display: flex;
  gap: 0;
  white-space: nowrap;
  will-change: transform;
}

.marquee-inner-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-right: 18px;
  flex-shrink: 0;
}

/* Extra separator punt tussen de twee kopieën */
.marquee-inner-row[aria-hidden="true"] {
  opacity: 1;
}

@keyframes marqueeRowScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ────────────────────────────────
   HERO TITLE — clip animatie valt terug
   als JS niet geladen is
──────────────────────────────── */
.hero-line-wrap {
  display: block;
  overflow: hidden;
}

.hero-line {
  display: block;
}


/* ────────────────────────────────
   SECTION LABEL — startpositie voor pop-in
   (JS overschrijft dit inline)
──────────────────────────────── */
.section-label {
  /* Basis wordt via JS gezet — geen extra CSS nodig */
}


/* ────────────────────────────────
   SMOOTH SERVICE IMAGE (parallax)
   Geeft de afbeelding iets meer ruimte om te bewegen.
──────────────────────────────── */
.service-img-wrap {
  overflow: hidden;
}

.service-img {
  will-change: transform;
  transform: scale(1.1) translateY(0);
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}


/* ────────────────────────────────
   NAV LOGO & LINKS — startstate
   (JS zet opacity:0 en animeert in)
──────────────────────────────── */
.nav-logo,
.nav-link,
.nav-cta {
  will-change: opacity, transform;
}


/* ────────────────────────────────
   CARD GLOW — smooth gradient transition
──────────────────────────────── */
.pkg-card:not(.featured) {
  will-change: background;
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.6s ease;
}


/* ────────────────────────────────
   REDUCED MOTION — alle JS-animaties uit
──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  #scroll-progress,
  #cursor-dot,
  #cursor-ring,
  .card-shimmer,
  .marquee-track-row {
    display: none !important;
  }

  .hero-line {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }

  .section-label {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }

  .service-img {
    transform: scale(1) !important;
    transition: none !important;
  }
}
