/* Booking Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(27, 38, 44, 0.7);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal[style*="block"] {
  display: flex !important;
}

.modal__content {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  margin: 0;
  padding: 2.5rem;
  border: 2px solid #bbe1fa;
  border-radius: 12px;
  width: 90%;
  max-width: 450px;
  box-shadow: 0 20px 60px rgba(27, 38, 44, 0.4);
  position: relative;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal__close {
  color: #1b262c;
  float: right;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  right: 1rem;
  top: 1rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal__close:hover,
.modal__close:focus {
  color: #27a8ff;
}

.modal__title {
  font-family: "Bebas Neue", cursive;
  font-size: 2.5rem;
  color: #1b262c;
  margin: 0 0 0.5rem 0;
  text-align: center;
  letter-spacing: 1px;
}

.modal__subtitle {
  color: #1b262c;
  text-align: center;
  margin: 0 0 2rem 0;
  font-size: 1rem;
  font-family: "Inter", sans-serif;
}

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

.modal__button {
  display: flex;
  align-items: center;
  padding: 1.25rem;
  background: #3282b8;
  border-radius: 8px;
  text-decoration: none;
  color: #ffffff;
  transition: all 0.3s ease;
  font-family: "Inter", sans-serif;
}

.modal__button:hover {
  background: #0f4c75;
  border-color: #0f4c75;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(39, 168, 255, 0.3);
}

.modal__button--email:hover {
  background: #1b262c;
  border-color: #1b262c;
  box-shadow: 0 8px 20px rgba(27, 38, 44, 0.3);
}

.modal__button--phone:hover {
  background: #0f4c75;
  border-color: #0f4c75;
  box-shadow: 0 8px 20px rgba(15, 76, 117, 0.3);
}

.modal__button-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.modal__button-label {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  color: #ffffff;
}

.modal__button-detail {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 400;
}

/* Responsive design */
@media (max-width: 768px) {
  .modal__content {
    padding: 2rem;
    width: 92%;
    max-width: 400px;
  }

  .modal__title {
    font-size: 2.2rem;
  }

  .modal__subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
  }

  .modal__button {
    padding: 1.125rem;
  }

  .modal__button-label {
    font-size: 1.05rem;
  }

  .modal__button-detail {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .modal__content {
    padding: 1.5rem;
    width: 95%;
    max-width: none;
  }

  .modal__close {
    font-size: 24px;
    right: 0.75rem;
    top: 0.75rem;
  }

  .modal__title {
    font-size: 1.9rem;
    margin-bottom: 0.75rem;
  }

  .modal__subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
  }

  .modal__buttons {
    gap: 0.875rem;
  }

  .modal__button {
    padding: 1rem;
  }

  .modal__button-label {
    font-size: 1rem;
    margin-bottom: 0.25rem;
  }

  .modal__button-detail {
    font-size: 0.8rem;
  }
}

@media (max-width: 360px) {
  .modal__content {
    padding: 1.25rem;
    width: 97%;
  }

  .modal__title {
    font-size: 1.75rem;
  }

  .modal__button {
    padding: 0.875rem;
  }

  .modal__button-label {
    font-size: 0.95rem;
  }

  .modal__button-detail {
    font-size: 0.75rem;
  }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (max-height: 500px) and (orientation: landscape) {
  .modal__content {
    padding: 1.5rem;
    max-height: 90vh;
    overflow-y: auto;
  }

  .modal__title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
  }

  .modal__subtitle {
    margin-bottom: 1.25rem;
  }

  .modal__buttons {
    gap: 0.75rem;
  }

  .modal__button {
    padding: 0.875rem;
  }
}
