/* ================= ROWS / CARDS ================= */
#r1,
#r2 {
  display: flex;
  align-items: stretch;
  gap: 30px;
  padding: 20px 8vw;
  margin-top: 2rem;
}

#r2 {
  margin-top: 0.5rem;
}

#info,
#voorstel {
  width: 100%;
  padding: 2.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  background: linear-gradient(155deg, #ffffff 0%, #fbf0f2 100%);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
  animation: fadeInUp 0.7s ease both;
}

#info {
  animation-delay: 0.1s;
}

#voorstel {
  animation-delay: 0.2s;
  flex-direction: row-reverse;
}

#info::before,
#voorstel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(
    180deg,
    var(--color-accent),
    var(--color-accent-light)
  );
  transition: width 0.35s ease;
}

#info:hover,
#voorstel:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: var(--shadow-hover);
}

#info:hover::before,
#voorstel:hover::before {
  width: 10px;
}

#info img,
#voorstel img {
  width: 190px;
  min-width: 150px;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 10px 20px rgba(161, 88, 111, 0.25);
  border: 4px solid #fff;
  transition: transform 0.35s ease;
}

#info img:hover,
#voorstel img:hover {
  transform: scale(1.05) rotate(-1deg);
}

#info h2,
#voorstel h2 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

#info p,
#voorstel p {
  color: var(--color-text-soft);
  font-size: 0.98rem;
}

#foto1,
#foto2 {
  width: 22%;
  min-width: 160px;
  border-radius: var(--radius);
  object-fit: cover;
  border: 5px solid #fff;
  box-shadow:
    0 4px 8px rgba(161, 88, 111, 0.1),
    0 20px 36px rgba(161, 88, 111, 0.25);
  animation: fadeInUp 0.7s ease both;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

#foto1 {
  animation-delay: 0.3s;
}

#foto2 {
  animation-delay: 0.3s;
}

#foto1:hover,
#foto2:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-hover);
}

/* ================= ANIMATIONS ================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  #r1,
  #r2 {
    flex-direction: column;
    padding: 20px 5vw;
  }

  #info,
  #voorstel {
    flex-direction: column;
    text-align: center;
  }

  #foto1,
  #foto2 {
    width: 70%;
    margin: 0 auto;
  }
}
