/* ===== CARD COMPONENTS ===== */
.card-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  justify-content: center;
  gap: 48px;
  max-width: 100%;
}

.card {
  border-top-right-radius: 24px;
  border-bottom-left-radius: 24px;
  overflow: hidden;
  position: relative;
  height: 500px;
  width: 350px;
  transition: transform .5s ease;
}

.card.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(1, 4, 13, 0.6), rgba(1, 4, 13, 0.6));
  z-index: 1;
  pointer-events: none;
}

.card-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  z-index: 2;
}

.card-title {
  color: var(--white);
  letter-spacing: .2px;
  font-weight: 500;
}

/* SVG styling voor diensten cards */
.diensten .card svg {
  width: 80px;
  height: 80px;
  color: var(--muted);
  stroke-width: 1.5;
  margin-bottom: 16px;
}

.card:hover {
  transform: scale(1.05);
}

@media (max-width: 810px) {
  .card-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .card {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .card-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .card {
    width: 100%;
    min-width: 0;
  }
}