/* ──────────────────────────────────────────────────────────
   Gallery filmstrip + Lightbox
   Subtiele horizontale fotobalk met auto-scroll en lightbox.
   Kleuren via CSS-variabelen (brandguide).
   ────────────────────────────────────────────────────────── */

/* ── Sectie wrapper ─────────────────────────────────────── */
.gallery-section {
  width: min(100% - 32px, var(--max, 1060px));
  margin: 0 auto;
  padding-bottom: 40px;
}

.gallery-heading {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand, #3558A8);
  margin: 0 0 16px 4px;
}

/* ── Filmstrip container ────────────────────────────────── */
.gallery-strip {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius, var(--radius-lg, 14px));
  height: 180px;
  cursor: grab;
  border: 1px solid rgba(53, 88, 168, .12);
  box-shadow: 0 4px 20px rgba(15, 23, 42, .06);
}
.gallery-strip:active { cursor: grabbing; }

/* Zachte inset shadow als fade (werkt op elke achtergrond) */
.gallery-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  box-shadow: inset 40px 0 28px -20px var(--bg-body, #f3f6ff),
              inset -40px 0 28px -20px var(--bg-body, #f3f6ff);
}

/* ── Track ─────────────────────────────────────────────── */
.gallery-track {
  display: flex;
  gap: 12px;
  height: 100%;
  will-change: transform;
}

/* ── Individuele foto ───────────────────────────────────── */
.gallery-photo {
  flex-shrink: 0;
  height: 100%;
  border-radius: var(--radius-md, 10px);
  overflow: hidden;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}
.gallery-photo:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .12);
}
.gallery-photo img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: cover;
}

/* ── Navigatie pijlen (filmstrip) ────────────────────────── */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand, #3558A8);
  border: none;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 3;
  opacity: 0;
  transition: opacity .2s, transform .2s, box-shadow .2s;
  padding: 0;
}
.gallery-strip:hover .gallery-nav { opacity: 1; }
.gallery-nav:hover {
  background: var(--brand-deep, #1e3580);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}
.gallery-nav svg { stroke: #fff; }
.gallery-nav-prev { left: 14px; }
.gallery-nav-next { right: 14px; }

/* Lightbox: site-brede AirScout-lightbox (assets/lightbox/) */

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 740px) {
  .gallery-strip {
    height: 130px;
    border-radius: 16px;
  }
  .gallery-strip::before {
    box-shadow: inset 24px 0 18px -14px var(--bg-body, #f3f6ff),
                inset -24px 0 18px -14px var(--bg-body, #f3f6ff);
  }
  .gallery-photo {
    border-radius: 10px;
  }
  .gallery-nav {
    width: 32px;
    height: 32px;
    opacity: .9;
  }
  .gallery-nav-prev { left: 8px; }
  .gallery-nav-next { right: 8px; }
}
