body {
  display: flex;
  flex-direction: column;
}

#boek-wrapper {
  display: flex;
  gap: 2rem;
  padding: 4rem 2rem;
  align-items: flex-start;
  flex: 1;
}

#boek-info,
#boek-actie {
  background: linear-gradient(155deg, #ffffff 0%, #fbf0f2 100%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-sizing: border-box;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
  animation: fadeInUp 0.7s ease both;
}

#boek-info::before,
#boek-actie::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;
}

#boek-info:hover,
#boek-actie:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

#boek-info:hover::before,
#boek-actie:hover::before {
  width: 10px;
}

#boek-info {
  width: 40%;
  animation-delay: 0.1s;
}

#boek-actie {
  width: 60%;
  text-align: center;
  animation-delay: 0.25s;
}

#boek-info h2,
#boek-actie h2 {
  font-family: var(--font-heading);
  color: var(--color-accent-dark);
  margin-bottom: 1rem;
}

#boek-info p,
#boek-actie p {
  color: var(--color-text-soft);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.boek-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--color-text-soft);
  transition: transform 0.25s ease;
}

.boek-detail:hover {
  transform: translateX(4px);
}

.boek-detail i {
  color: var(--color-accent);
  font-size: 1.2rem;
  width: 20px;
}

.boek-knop {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  padding: 1rem 3rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1rem;
  letter-spacing: 1px;
  box-shadow: 0 8px 20px rgba(161, 88, 111, 0.3);
  transition:
    background 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
  animation: pulseKnop 2.6s ease-in-out infinite;
}

.boek-knop:hover {
  background: var(--color-accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(161, 88, 111, 0.4);
  animation-play-state: paused;
}

/* ================= ANIMATIONS ================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseKnop {
  0%,
  100% {
    box-shadow: 0 8px 20px rgba(161, 88, 111, 0.3);
  }
  50% {
    box-shadow: 0 8px 26px rgba(161, 88, 111, 0.5);
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  #boek-wrapper {
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }
  #boek-info,
  #boek-actie {
    width: 100%;
  }
}

@media (max-width: 600px) {
  #boek-wrapper {
    padding: 1.2rem;
    gap: 1.2rem;
  }
  #boek-info,
  #boek-actie {
    padding: 1.4rem;
    border-radius: 12px;
  }
  .boek-knop {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
  }
}
