/**
 * Reservation Section Component
 *
 * @package Annecy_Unik_Lodges
 */

/* ========================================
   Section Réservation
   ======================================== */
.section-reservation {
  position: relative;
  background-color: var(--body-bg-color);
}

/* ========================================
   Parallax Header
   ======================================== */
.reservation-parallax {
  position: relative;
  height: 700px;
  overflow: hidden;
}

.reservation-parallax-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center;
}

.reservation-parallax-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 1);
}

.reservation-title {
  position: absolute;
  top: 200px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
  width: 100%;
  padding: 0 20px;
}

.reservation-title h2,
.reservation-title p {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 42px;
  color: var(--color-white);
  margin: 0;
}

.reservation-title em,
.reservation-title i {
  font-style: normal;
  color: var(--color-secondary);
}

/* ========================================
   Booking Container (Bloc Blanc)
   ======================================== */
.reservation-container {
  position: relative;
  max-width: 1315px;
  margin: -350px auto 0;
  padding: 50px;
  background: var(--color-white);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
  z-index: 10;
}

.reservation-content {
  min-height: 600px;
}

.reservation-placeholder {
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--color-secondary);
  border-radius: 4px;
  background: var(--body-bg-color);
}

.reservation-placeholder-text {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 24px;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ========================================
   Bottom Spacing
   ======================================== */
.reservation-bottom {
  height: 100px;
  background: var(--body-bg-color);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1400px) {
  .reservation-container {
    max-width: 95%;
    margin: -200px auto 0;
  }
}

@media (max-width: 1024px) {
  .reservation-parallax {
    height: 550px;
  }

  .reservation-title h2,
  .reservation-title p {
    font-size: 36px;
  }

  .reservation-title {
    top: 150px;
  }

  .reservation-container {
    margin: -150px auto 0;
    padding: 40px;
  }

  .reservation-content,
  .reservation-placeholder {
    min-height: 500px;
  }
}

@media (max-width: 768px) {
  .reservation-parallax {
    height: 450px;
  }

  .reservation-title h2,
  .reservation-title p {
    font-size: 28px;
  }

  .reservation-title {
    top: 120px;
  }

  .reservation-container {
    margin: -100px auto 0;
    padding: 30px;
  }

  .reservation-content,
  .reservation-placeholder {
    min-height: 400px;
  }

  .reservation-placeholder-text {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .reservation-parallax {
    height: 380px;
  }

  .reservation-title h2,
  .reservation-title p {
    font-size: 24px;
  }

  .reservation-title {
    top: 100px;
  }

  .reservation-container {
    margin: -80px auto 0;
    padding: 20px;
  }

  .reservation-content,
  .reservation-placeholder {
    min-height: 350px;
  }
}
