/* =========================================================== 
   Shared Popup Overlay Styles (Tour & Booking)
   =========================================================== */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  /* Semi-transparent black */
  z-index: 9998;
  display: none;
  /* Hidden by default */
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 30px 15px;
  box-sizing: border-box;
  backdrop-filter: blur(2px);
  /* Slight blur effect like Elementor */
  -webkit-backdrop-filter: blur(2px);
}

/* Display flex when active class is added via JS */
.popup-overlay.is-active {
  display: flex;
}

.hbs-popup-modal {
  background: #ffffff;
  /* max-width: 850px; */
  max-width: 640px;
  width: 100%;
  margin: auto;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
  position: relative;
  box-sizing: border-box;
  animation: hbs-pop-in 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Popup entrance animation */
@keyframes hbs-pop-in {
  from {
    transform: scale(0.9);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Shared Close Button Styles */
.popup-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #eeede5;
  border: none;
  font-size: 30px;
  line-height: 1;
  color: #281d18;
  cursor: pointer;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
  z-index: 10;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* .popup-close-btn:hover {
  color: #e8521e;
  transform: rotate(90deg);
} */

/* Responsive adjustments */
@media (max-width: 600px) {
  .hbs-popup-modal {
    padding: 25px 20px;
    max-width: 90vw;
    height: 100%;
    overflow-y: auto;
  }

  .popup-overlay {
    padding: 0;
  }
}

.bar {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: #2a1d17;
  padding: 18px 0;
  display: flex;
  justify-content: center;
  gap: 15px;
  z-index: 999;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.bar.is-hidden {
  position: sticky;
}
