/* ================================
   Voltina styling — Centered Image Features
   (geen HTML/structuur wijzigingen)
================================ */

/* Scope alles netjes op het blok */
.centered-image-features {
  /* Huisstijl kleuren */
  --v-pink: #e6007e;
  --v-orange: #f08048;
  --v-black: #000000;

  /* UI tokens */
  --v-bg: #ffffff;
  --v-card: rgba(255, 255, 255, 0.82);
  --v-border: rgba(0, 0, 0, 0.10);
  --v-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
  --v-shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.10);

  position: relative;
  overflow: hidden;
  background: var(--v-bg);
  color: var(--v-black);
}

/* Subtiele gradient glow + “V” pattern (geen image assets nodig) */
.centered-image-features::before {
  content: "";
  position: absolute;
  inset: -20%;
  pointer-events: none;
  z-index: 0;

  /* Zachte kleurverloop-velden */
  background:
    radial-gradient(900px 520px at 15% 20%, rgba(230, 0, 126, 0.18), rgba(230, 0, 126, 0) 60%),
    radial-gradient(900px 520px at 85% 35%, rgba(240, 128, 72, 0.18), rgba(240, 128, 72, 0) 60%),
    radial-gradient(700px 520px at 50% 90%, rgba(230, 0, 126, 0.10), rgba(230, 0, 126, 0) 60%);
  filter: blur(2px);
}

/* “V” watermark raster (10% vibe) via inline SVG */
.centered-image-features::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.14;

  /* repeatable pattern */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%23000000' stroke-opacity='0.25' stroke-width='2'%3E%3Cpath d='M60 60 L110 160 L160 60'/%3E%3Cpath d='M70 60 L110 140 L150 60'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 220px 220px;
  background-repeat: repeat;
  mix-blend-mode: multiply;
}

/* Zorg dat content boven de pseudo-elements blijft */
.centered-image-features .container {
  position: relative;
  z-index: 1;
}

/* Header */
.centered-image-features p {
  color: var(--v-black); /* body copy zwart */
}

.centered-image-features h2 {
  color: var(--v-black);
  letter-spacing: -0.02em;
}

.centered-image-features .mx-auto.max-w-lg.text-center > p.mb-3 {
  color: rgba(0, 0, 0, 0.75);
}

/* Feature items (links/rechts) als “cards” */
.centered-image-features .grid.w-full > div {
  background: var(--v-card);
  border: 1px solid var(--v-border);
  border-radius: 20px;
  box-shadow: var(--v-shadow-soft);
  padding: 22px 18px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.centered-image-features .grid.w-full > div:hover {
  transform: translateY(-2px);
  box-shadow: var(--v-shadow);
  border-color: rgba(0, 0, 0, 0.14);
}

/* Icon “badge” */
.centered-image-features .grid.w-full > div .mb-5,
.centered-image-features .grid.w-full > div .mb-6 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(230, 0, 126, 0.14), rgba(240, 128, 72, 0.14));
  border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Titels in cards */
.centered-image-features h3 {
  color: var(--v-black);
}

/* Afbeelding in het midden wat “lift” */
.centered-image-features img.w-full.h-auto.object-contain {
  border-radius: 28px;
  box-shadow: var(--v-shadow-soft);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 10px;
}

/* CTA buttons */
.centered-image-features .mt-12 a.border {
  /* primary */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 999px;
  padding: 12px 22px;

  background: var(--v-pink); /* één kleur */
  color: #fff;
  font-weight: 700;
  text-decoration: none;

  box-shadow: 0 14px 34px rgba(230, 0, 126, 0.22);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.centered-image-features .mt-12 a.border:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 44px rgba(230, 0, 126, 0.28);
  filter: brightness(1.02);
}

/* secondary link */
.centered-image-features .mt-12 a.inline-flex {
  color: var(--v-black);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid rgba(230, 0, 126, 0.35);
  padding-bottom: 2px;
  transition: border-color 160ms ease, transform 160ms ease;
}

.centered-image-features .mt-12 a.inline-flex:hover {
  border-color: rgba(230, 0, 126, 0.70);
  transform: translateY(-1px);
}

/* Arrow iets “Voltina” */
.centered-image-features .mt-12 a.inline-flex span {
  color: var(--v-pink);
  font-size: 1.15em;
  line-height: 1;
  transform: translateY(1px);
}

/* Kleine optimalisatie voor mobile spacing */
@media (max-width: 640px) {
  .centered-image-features .grid.w-full > div {
    padding: 18px 16px;
    border-radius: 18px;
  }
  .centered-image-features img.w-full.h-auto.object-contain {
    border-radius: 22px;
  }
}
