/* ==========================================================================
   How to Book Section
   ========================================================================== */

.booking {
  background-color: var(--color-cream);
}

.booking__steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
  position: relative;
}

@media (min-width: 768px) {
  .booking__steps {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: var(--space-6);
  }

  /* Connecting line */
  .booking__steps::before {
    content: '';
    position: absolute;
    top: 48px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gray-300), var(--color-gray-300), transparent);
    z-index: 0;
  }
}

/* Individual Step */
.booking__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 280px;
  position: relative;
  z-index: 1;
}

/* Step animation */
.section.is-visible .booking__step {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease forwards;
}

.section.is-visible .booking__step:nth-child(1) { animation-delay: 0.1s; }
.section.is-visible .booking__step:nth-child(2) { animation-delay: 0.3s; }
.section.is-visible .booking__step:nth-child(3) { animation-delay: 0.2s; }
.section.is-visible .booking__step:nth-child(4) { animation-delay: 0.4s; }
.section.is-visible .booking__step:nth-child(5) { animation-delay: 0.3s; }

.booking__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  background-color: var(--color-black);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 2;
}

.booking__step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  margin-bottom: var(--space-4);
  color: var(--color-black);
  background-color: var(--color-white);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.booking__step:hover .booking__step-icon {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.booking__step-icon svg {
  width: 40px;
  height: 40px;
  stroke-width: 1.5;
}

.booking__step-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-2);
}

.booking__step-text {
  font-size: var(--font-size-sm);
  color: var(--color-gray-600);
  line-height: var(--line-height-relaxed);
  margin-bottom: 0;
}

/* Arrow between steps */
.booking__step-arrow {
  display: none;
  color: var(--color-gray-400);
  padding-top: var(--space-16);
}

@media (min-width: 768px) {
  .booking__step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* CTA Wrapper */
.booking__cta-wrapper {
  text-align: center;
}

/* Numbered list alternative style */
.booking--list .booking__steps {
  flex-direction: column;
  align-items: stretch;
  max-width: 600px;
  margin: 0 auto var(--space-12);
  gap: 0;
}

.booking--list .booking__step {
  flex-direction: row;
  text-align: left;
  align-items: flex-start;
  gap: var(--space-4);
  max-width: none;
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--color-gray-100);
}

.booking--list .booking__step:last-child {
  border-bottom: none;
}

.booking--list .booking__step-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  margin-bottom: 0;
}

.booking--list .booking__step-content {
  flex: 1;
}

.booking--list .booking__step-arrow {
  display: none;
}
