/* ==========================================================
   SUITE HIRE — CLEAN, STABLE BUILD (Dec 2025)
   Version: v1.8 — Hero, Parallax & Carousel Restoration
   ========================================================== */

@import url("https://fonts.googleapis.com/css2?family=Anta&display=swap");


/* ==========================================================
   GLOBAL PAGE BACKGROUND (matches the new About Us tone)
   ========================================================== */
body {
  background: var(--boulevard-soft-cream);
}

/* ==========================================================
   SECTION 1 — HERO
   Full-width, full-height top section
   ========================================================== */

.suite-hire-section1 {
  width: 100%;
  min-height: 100vh;
  padding-top: 6rem; /* pushes hero below header */
  padding-bottom: clamp(1rem, 3vw, 2.5rem);

  background: linear-gradient(
  135deg,
  var(--boulevard-deep-blue) 0%,
  var(--boulevard-primary-blue) 100%
  );

  display: flex;
  justify-content: center;
  align-items: center;
}

/* === HERO CONTENT CONTAINER === */
.suite-hire-hero-text {
  width: min(90%, 1200px);
  text-align: center;
  padding: 3rem 1.5rem;

  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(4px);

  border-radius: 1.5rem;
  box-shadow:
    0 10px 30px rgba(0,0,0,0.25),
    inset 0 0 20px rgba(255,255,255,0.06);
}

/* === HERO TITLE === */
.suite-hero-title {
  font-family: var(--font-heading); /* Montserrat */
  font-size: clamp(2.8rem, 6vw, 5rem);
  color: var(--boulevard-soft-cream);
  letter-spacing: 1px;
  margin-bottom: 1.5rem;

  text-shadow:
    0 0 20px rgba(255,255,255,0.25),
    0 4px 10px rgba(0,0,0,0.4);
}

/* === SUBTITLE === */
.suite-hero-subtitle {
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  color: var(--white);
  margin-bottom: 2rem;
  line-height: 1.5;
}

/* === BULLET POINTS === */
.suite-hero-points {
  list-style: none;
  padding: 0;
  margin: 0 0 3rem 0;
}

.suite-hero-points li {
  font-size: clamp(1.2rem, 2.4vw, 1.9rem);
  color: var(--boulevard-warm-gold);
  margin: 0.5rem 0;
  text-shadow: 0 0 10px rgba(0,0,0,0.4);
}

/* === PREMIUM MOTTO LINE === */
.suite-premium-line {
  color: var(--white);
  font-size: clamp(1rem, 2vw, 1.6rem);
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* === BOOK VIEWING APPOINTMENT NOW BUTTON === */
.suite-hero-button {
  display: inline-block;
  padding: 0.9rem 2.6rem;
  font-size: clamp(1.2rem, 2.5vw, 1.9rem);
  font-weight: 600;
  background: var(--accent);
  color: var(--black);
  border-radius: 3rem;
  text-decoration: none;
  transition: 0.3s ease;
  box-shadow:
    0 0 15px rgba(21,219,149,0.5),
    0 8px 16px rgba(0,0,0,0.45);
}

.suite-hero-button:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow:
    0 0 22px rgba(21,219,149,0.7),
    0 12px 24px rgba(0,0,0,0.55);
}

/* === SCROLL INDICATOR === */
.suite-scroll-indicator {
  margin-top: 2rem;
  color: var(--white);
  opacity: 0.95;
}

.suite-scroll-indicator .down-arrow {
  display: block;
  margin-top: 0.4rem;
  font-size: 2.6rem;
  color: var(--accent);
  animation: bounceDown 1.4s infinite ease-in-out;
}

@keyframes bounceDown {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* ==========================================================
   SECTION 2 — PARALLAX BANNER (CLEAN + STABLE)
   ========================================================== */

.parallax-inner {
  margin-top: clamp(1.5rem, 5vw, 3rem);
}

/* Global default (adaptive, elegant) */
.parallax-inner .photo {
  width: 100%;
  height: clamp(28rem, 45vw, 45rem);
  background: url("../img/suite-hire/imgboul-richbar-46-text.jpg") center/cover no-repeat;
  background-attachment: scroll; /* safe default */
}

/* Desktop: true parallax effect */
@media (min-width: 1025px) {
  .parallax-inner .photo {
    background-attachment: fixed !important;
  }
}

/* Mobile + tablet fallback */
@media (max-width: 1024px) {
  .parallax-inner .photo {
    height: clamp(18rem, 55vw, 32rem);
    background-attachment: scroll !important;
  }
}

/* ==========================================================
   SECTION 3 — CAROUSEL (360° desktop, linear mobile)
   ========================================================== */

/* Full section wrapper */
.suite-hire-section2 {
  background: var(--black);
  /* padding: 12rem 0 14rem; */
  padding: clamp(6rem, 12vw, 12rem) 0 clamp(6rem, 12vw, 14rem);
  display: flex;
  justify-content: center;
  position: relative;
}

/* Soft reflective floor */
.suite-hire-section2::before {
  content: "";
  position: absolute;
  bottom: 0;
  width: 90%;
  height: 65%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse at center,
    rgba(255,255,255,0.35),
    rgba(255,255,255,0.18),
    rgba(0,0,0,1)
  );
  filter: blur(16px);
  z-index: 0;
}

/* 360° rotating carousel (desktop only) */
.suite-hire-gallery {
  position: relative;
  z-index: 10;
  width: 180px;
  height: 130px;
  transform-style: preserve-3d;
  animation: spin360 30s linear infinite;
}

@keyframes spin360 {
  0% { transform: perspective(900px) rotateY(0); }
  100% { transform: perspective(900px) rotateY(360deg); }
}

.suite-hire-gallery span {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateY(calc(var(--i) * 45deg)) translateZ(260px);
}

.suite-hire-gallery img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
}

/* === Linear carousel (mobile/tablet) === */
.suite-hire-gallery-linear {
  display: none;
}

/* === Restore hover behaviour === */

/* Pause 360° rotation when hovering a card */
.suite-hire-gallery:hover {
  animation-play-state: paused;
}

/* Enlarge hovered image */
.suite-hire-gallery img:hover {
  transform: scale(1.10);
  transition: transform 0.25s ease;
}

/* enable linear version <1024px */
@media (max-width: 1024px) {

  .suite-hire-gallery {
    display: none;
  }

  .suite-hire-gallery-linear {
    display: flex;
    overflow: hidden;
    gap: 1.5rem;
    width: 100%;
    padding: 2rem 1rem;
    position: relative;
    background: var(--black);
  }

  .linear-track {
    display: inline-flex;
    animation: slide 22s linear infinite;
  }

  .linear-track img {
    width: 260px;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
    margin-right: 1.5rem;
  }

  @keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }
}

/* === Fade edges for premium look === */
.suite-hire-gallery-linear::before,
.suite-hire-gallery-linear::after {
  content: "";
  position: absolute;
  top: 0;
  width: 45px;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

.suite-hire-gallery-linear::before {
  left: 0;
  background: linear-gradient(to right, #000, transparent);
}

.suite-hire-gallery-linear::after {
  right: 0;
  background: linear-gradient(to left, #000, transparent);
}

/* ============================================
   MODAL HARD-RESET — FIXES LAYOUT OVERRIDES
   ============================================ */

#bookingModal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(5, 5, 5, 0.75) !important;
  backdrop-filter: blur(4px);
  z-index: var(--z-modal-overlay, 900) !important;
  display: none; /* stays hidden until opened */
}

.booking-modal-content {
  position: relative !important;
  margin: 12% auto !important;
  width: 85% !important;
  max-width: 450px !important;
  background: var(--grey-900) !important;
  border: 2px solid var(--accent) !important;
  border-radius: 1rem !important;
  padding: 2.4rem !important;
  text-align: center !important;
  z-index: var(--z-modal-content, 910) !important;
}

.booking-modal-title,
.booking-modal-desc {
  color: var(--white) !important;
}

/* CLOSE BUTTON — always visible + safe */
.booking-close {
  position: absolute !important;
  top: 12px !important;
  right: 20px !important;
  font-size: 2.6rem !important;
  color: var(--white) !important;  /* always white */
  z-index: var(--z-modal-close, 920) !important;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
}

.booking-close:hover {
  transform: scale(1.18);
  color: var(--accent) !important;
}



