/* ====== Basisstijl ====== */
body {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  margin: 0;
  background: linear-gradient(to bottom right, #c2f0c2, #a0d6a0);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

/* ====== Header ====== */
header {
  width: 90%;
  background: linear-gradient(to right, #4caf50, #66bb6a);
  color: #fff;
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  padding: 30px 0;
  margin-top: 40px;
  border-radius: 25px 25px 0 0;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 2;
}

header i {
  margin-right: 10px;
}

/* ====== Container ====== */
.container {
  width: 90%;
  max-width: 1100px;
  background-color: rgba(217, 240, 217, 0.85);
  border: 7px solid #4caf50;
  border-top: none;
  border-radius: 0 0 30px 30px;
  padding: 60px;
  margin-bottom: 60px;
  text-align: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  position: relative;
  top: -10px;
  animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ====== Tekst ====== */
h1 {
  font-size: 2.8rem;
  color: #333;
  margin-bottom: 20px;
}
h1 i {
  color: #4caf50;
  margin-right: 10px;
}

h2 {
  font-size: 1.6rem;
  color: #444;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto 45px;
}

/* ====== Cards ====== */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 45px;
}

.card {
  position: relative;
  width: 250px;
  height: 250px;
  border-radius: 15px;
  text-decoration: none;
  color: #fff !important;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s, box-shadow 0.3s;
  opacity: 0;
  transform: translateY(20px);
  animation: cardFadeIn 0.6s forwards;
  padding: 15px;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.35);
  border-radius: 15px;
}

.card-content {
  position: relative;
  z-index: 1;
}

.card h2 {
  margin: 0 0 10px;
  font-size: 1.6rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card p {
  font-size: 1rem;
  color: #fff !important;
}

.card img.title-icon {
  width: 24px;
  height: 24px;
  margin-right: 8px;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

@keyframes cardFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card:nth-child(1) {
  animation-delay: 0.2s;
  background-image: url("/images-brood/main.jpeg");
}

.card:nth-child(2) {
  animation-delay: 0.4s;
  background-image: url("/images-koken/welkom.jpeg");
}

/* ====== Responsive ====== */
@media (max-width: 700px) {
  header {
    font-size: 2rem;
    padding: 20px 0;
  }

  .container {
    padding: 30px;
  }

  .card {
    width: 280px;
    height: 280px;
  }

  h2 {
    font-size: 1.3rem;
  }
}

