/* Booking location modal */

.booking-modal[hidden] {
  display: none;
}

.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.booking-modal__overlay {
  position: absolute;
  inset: 0;
  background: #26262da3;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.booking-modal__dialog {
  position: relative;
  background: var(--white, #fcfcfc);
  width: 100%;
  max-width: 30rem;
  border-radius: 1.5rem;
  padding: 3rem 2.5rem;
  box-shadow: 0 40px 80px -24px rgba(38, 38, 45, 0.35);
  text-align: center;
  transform: translateY(16px) scale(0.98);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.booking-modal.is-open .booking-modal__overlay {
  opacity: 1;
}

.booking-modal.is-open .booking-modal__dialog {
  transform: none;
  opacity: 1;
}

.booking-modal__close {
  position: absolute;
  top: 1.1rem;
  right: 1.25rem;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.9rem;
  line-height: 1;
  color: #26262d;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.booking-modal__close:hover {
  background: var(--gray-1, #5d5d7514);
}

.booking-modal__title {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.25rem;
  font-weight: 500;
  color: #26262d;
  margin: 0 0 0.35rem;
  line-height: 1.1;
}

.booking-modal__subtitle {
  font-family: "Lexend Exa", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5d5d75;
  opacity: 0.7;
  margin: 0 0 2rem;
}

.booking-modal__options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.booking-modal__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.75rem;
  border-radius: 100px;
  background: var(--gray-1, #5d5d7514);
  color: #26262d;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.booking-modal__option:hover,
.booking-modal__option:focus-visible {
  background: var(--accent, #fd604e);
  color: var(--white, #fcfcfc);
  transform: translateY(-2px);
  outline: none;
}

.booking-modal__option-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
}

.booking-modal__option-cta {
  font-family: "Lexend Exa", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
  white-space: nowrap;
}

body.booking-modal-open {
  overflow: hidden;
}

@media screen and (max-width: 767px) {
  .booking-modal__dialog {
    padding: 2.5rem 1.5rem;
    border-radius: 1.25rem;
  }

  .booking-modal__title {
    font-size: 2rem;
  }

  .booking-modal__option {
    padding: 1rem 1.35rem;
  }

  .booking-modal__option-name {
    font-size: 1.4rem;
  }
}
