/* ── Navbar scroll state ─────────────────────────────────── */
.navbar {
  transition: box-shadow 0.25s ease;
}
.navbar.scrolled {
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.10);
}

/* ── Top progress bar ────────────────────────────────────── */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2.5px;
  background: #111111;
  z-index: 9999;
  width: 0%;
  transition: width 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}
#progress-bar.active {
  opacity: 1;
}

/* ── Hotspot overlays ────────────────────────────────────── */
.page-wrap {
  position: relative;
  display: block;
  line-height: 0;
}

.hotspot {
  position: absolute;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  z-index: 10;
}

.hotspot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.hotspot:hover::before {
  border-color: rgba(255, 255, 255, 0.6);
}

/* Ripple on click */
.hotspot .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: rippleAnim 0.5s linear;
  pointer-events: none;
}
@keyframes rippleAnim {
  to { transform: scale(4); opacity: 0; }
}

/* ── Booking Modal ───────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  backdrop-filter: blur(3px);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 460px;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #888;
  line-height: 1;
  padding: 4px;
  transition: color 0.15s;
}
.modal-close:hover { color: #111; }

.modal h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #111;
}
.modal p.modal-sub {
  font-size: 13px;
  color: #888;
  margin-bottom: 28px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-form label {
  font-size: 12px;
  font-weight: 600;
  color: #444;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 4px;
}

.modal-form input,
.modal-form select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #e5e5e5;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: #111;
  outline: none;
  transition: border-color 0.15s;
  background: #fff;
}

.modal-form input:focus,
.modal-form select:focus {
  border-color: #111;
}

.modal-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.btn-submit {
  margin-top: 8px;
  background: #111;
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.02em;
  transition: background 0.15s, transform 0.1s;
}
.btn-submit:hover {
  background: #2c2c2c;
  transform: translateY(-1px);
}
.btn-submit:active {
  transform: translateY(0);
}

/* ── Mobile Menu ─────────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 280px;
  background: #ffffff;
  z-index: 500;
  padding: 80px 32px 40px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -4px 0 30px rgba(0, 0, 0, 0.12);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 499;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu ul a,
.mobile-menu ul a:visited,
.mobile-menu ul a:link {
  display: block;
  padding: 12px 0;
  font-size: 18px;
  font-weight: 500;
  color: #333 !important;
  text-decoration: none !important;
  border-bottom: 1px solid #f0f0f0;
  transition: color 0.15s;
}

.mobile-menu ul a:hover {
  color: #111 !important;
}

.mobile-menu ul a.active {
  color: #111 !important;
  font-weight: 700;
}

.mobile-menu .btn-book-mobile {
  display: block;
  margin-top: 28px;
  background: #111;
  color: #fff !important;
  text-align: center;
  padding: 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.15s;
}
.mobile-menu .btn-book-mobile:hover {
  background: #2c2c2c;
}

/* ── Floating Video Modal ────────────────────────────────── */
.video-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Premium gradient border frame */
.video-frame {
  position: relative;
  width: min(680px, 78vw);
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.08) 35%,
    rgba(255, 255, 255, 0.02) 65%,
    rgba(255, 255, 255, 0.30) 100%
  );
  box-shadow:
    0 50px 120px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 80px rgba(255, 255, 255, 0.04) inset;
  transform: scale(0.9) translateY(24px);
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-overlay.open .video-frame {
  transform: scale(1) translateY(0);
}

.video-inner {
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  line-height: 0;
}

.video-inner video {
  width: 100%;
  height: auto;
  display: block;
  max-height: 62vh;
  object-fit: contain;
  cursor: pointer;
}

/* ── Custom video controls ───────────────────────────────── */
.vc-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 36px 18px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.88));
  border-radius: 0 0 14px 14px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.video-inner:hover .vc-controls,
.video-inner.paused .vc-controls {
  opacity: 1;
}

/* Progress bar */
.vc-progress {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.18);
  border-radius: 4px;
  cursor: pointer;
  margin-bottom: 12px;
  position: relative;
}

.vc-progress:hover {
  height: 5px;
}

.vc-fill {
  height: 100%;
  background: #ffffff;
  border-radius: 4px;
  width: 0%;
  pointer-events: none;
  position: relative;
  transition: width 0.08s linear;
}

/* Scrubber dot */
.vc-fill::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(0,0,0,0.4);
  transition: transform 0.15s ease;
}

.vc-progress:hover .vc-fill::after {
  transform: translateY(-50%) scale(1);
}

/* Controls row */
.vc-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vc-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.75;
  transition: opacity 0.15s, transform 0.15s;
  flex-shrink: 0;
  border-radius: 4px;
}

.vc-btn:hover {
  opacity: 1;
  transform: scale(1.12);
}

.vc-btn svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  display: block;
}

.vc-time {
  font-size: 11.5px;
  color: rgba(255,255,255,0.6);
  font-family: 'Inter', -apple-system, monospace;
  letter-spacing: 0.04em;
  flex: 1;
  user-select: none;
}

/* Big centered play overlay */
.vc-big-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}

.video-inner.paused .vc-big-play {
  opacity: 1;
}

.vc-big-play-btn {
  width: 62px;
  height: 62px;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.vc-big-play-btn svg {
  width: 24px;
  height: 24px;
  fill: #fff;
  margin-left: 4px;
}

.video-close {
  position: absolute;
  top: -13px;
  right: -13px;
  width: 30px;
  height: 30px;
  background: #ffffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 13px;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s, background 0.15s;
  z-index: 10;
  line-height: 1;
}

.video-close:hover {
  transform: scale(1.12);
  background: #f0f0f0;
}

/* ── Toast notification ──────────────────────────────────── */
#toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #111;
  color: #fff;
  padding: 12px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  white-space: nowrap;
  z-index: 2000;
}
#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
