@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300&family=Jost:wght@300;400;500;600&display=swap');

/* ===================================================================
   Room Detail Page — Aman-inspired luxury
   Ultra-minimal · Sharp edges · Massive whitespace
   =================================================================== */

/* ===================================================================
   1. Room Title
   =================================================================== */

.room-title-section {
  text-align: center;
  padding: 0 20px 50px;
}

.room-title-section h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.2rem;
  font-weight: 300;
  color: #222;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.room-info-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #999;
}

.room-info-dot {
  color: #AF8F59;
  font-size: 1rem;
  line-height: 1;
}

/* ===================================================================
   2. Back Link
   =================================================================== */

.room-back-link {
  padding: 50px 20px 20px;
  text-align: center;
}

.room-back-link a {
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #555;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.room-back-link a:hover {
  color: #AF8F59;
}

.room-back-link .back-arrow {
  font-size: 1rem;
  line-height: 1;
}

/* ===================================================================
   3. Full-Width Image Gallery Slider
   =================================================================== */

.room-gallery {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.room-gallery-viewport {
  position: relative;
  overflow: hidden;
}

.room-gallery-track {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.room-gallery-slide {
  min-width: 100%;
  flex-shrink: 0;
}

.room-gallery-slide img {
  display: block;
  width: 100%;
  height: 70vh;
  max-height: 750px;
  min-height: 400px;
  object-fit: cover;
}

/* Arrow Buttons */
.room-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.25);
  cursor: pointer;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transition: opacity 0.4s ease, background 0.3s ease;
}

.room-gallery-viewport:hover .room-gallery-arrow {
  opacity: 1;
}

.room-gallery-arrow:hover {
  background: rgba(255,255,255,0.35);
}

.room-gallery-prev { left: 20px; }
.room-gallery-next { right: 20px; }

.room-gallery-arrow i {
  font-size: 1rem;
  color: #fff;
}

/* Counter */
.room-gallery-counter {
  text-align: center;
  padding: 20px 0 0;
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: #aaa;
}

.room-gallery-counter .room-gallery-current {
  color: #222;
  font-weight: 500;
}

/* ===================================================================
   4. Side-by-Side Content Block
   =================================================================== */

.room-content-block {
  padding: 120px 40px;
}

.room-content-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  gap: 80px;
}

.room-content-media {
  flex: 0 0 55%;
  max-width: 55%;
  overflow: hidden;
}

.room-content-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  transition: transform 8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.room-content-media:hover img {
  transform: scale(1.04);
}

.room-content-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
}

.room-content-text p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.9;
  color: #444;
  margin-bottom: 0;
}

.room-content-cta {
  margin-top: 50px;
}

.room-content-cta a {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #222;
  text-decoration: none;
  padding-bottom: 6px;
  border-bottom: 1px solid #AF8F59;
  transition: color 0.3s ease;
}

.room-content-cta a:hover {
  color: #AF8F59;
}

/* ===================================================================
   5. Features / Amenities Sections
   =================================================================== */

.room-features-section {
  background: #fcf9f4;
  padding: 90px 40px;
}

.room-features-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.room-features-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 300;
  color: #222;
  text-align: center;
  margin-bottom: 50px;
  line-height: 1.3;
}

.room-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 50px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.room-features-grid li {
  position: relative;
  padding-left: 18px;
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  color: #555;
  line-height: 2.6;
  letter-spacing: 0.02em;
}

.room-features-grid li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #AF8F59;
  transform: translateY(-50%);
}

/* Alternate background for Amenities */
.room-features-section + .room-features-section,
.room-features-section[style*="background: #fff"] {
  background: #ffffff;
}

.room-features-section + .room-features-section::before {
  content: '';
  display: block;
  max-width: 200px;
  height: 1px;
  background: #e0dbd4;
  margin: 0 auto 90px;
}

/* ===================================================================
   6. 360 Virtual Tour Section
   =================================================================== */

.room-tour-section {
  padding: 100px 40px;
  background: #f8f6f1;
}

.room-tour-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.room-tour-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 300;
  color: #222;
  text-align: center;
  margin-bottom: 10px;
}

.room-tour-subtitle {
  text-align: center;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 50px;
}

.room-tour-embed {
  position: relative;
  background: #eee;
  overflow: hidden;
}

.room-tour-embed iframe {
  display: block;
  width: 100%;
  height: 640px;
  border: none;
}

/* ===================================================================
   7. Other Rooms Carousel
   =================================================================== */

.room-other-rooms {
  padding: 100px 40px 120px;
}

.room-other-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.room-other-rooms h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 300;
  color: #222;
  text-align: center;
  margin-bottom: 60px;
}

.room-other-grid {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 10px;
}

.room-other-grid::-webkit-scrollbar {
  display: none;
}

.room-other-card {
  flex: 0 0 calc(25% - 23px);
  min-width: 260px;
  scroll-snap-align: start;
}

.room-other-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.room-other-card-img {
  overflow: hidden;
  position: relative;
}

.room-other-card-img img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.room-other-card:hover .room-other-card-img img {
  transform: scale(1.05);
}

.room-other-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: #222;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 6px;
  line-height: 1.3;
}

.room-other-card p {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 300;
  color: #999;
  text-align: center;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ===================================================================
   Responsive
   =================================================================== */

@media (max-width: 768px) {
  .room-title-section h1 {
    font-size: 2.2rem;
  }

  .room-back-link {
    padding: 35px 20px 15px;
  }

  .room-gallery {
    padding: 0 16px;
  }

  .room-gallery-slide img {
    height: 50vh;
    min-height: 280px;
  }

  .room-gallery-arrow {
    width: 40px;
    height: 40px;
    opacity: 0.7;
  }

  .room-gallery-prev { left: 10px; }
  .room-gallery-next { right: 10px; }

  .room-content-block {
    padding: 60px 24px;
  }

  .room-content-inner {
    flex-direction: column;
    gap: 40px;
  }

  .room-content-media {
    flex: none;
    max-width: 100%;
  }

  .room-content-media img {
    min-height: 350px;
  }

  .room-content-text {
    padding: 0;
  }

  .room-features-section {
    padding: 60px 24px;
  }

  .room-features-grid {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .room-tour-section {
    padding: 60px 24px;
  }

  .room-tour-embed iframe {
    height: 400px;
  }

  .room-other-rooms {
    padding: 60px 24px 80px;
  }

  .room-other-card {
    flex: 0 0 260px;
    min-width: 260px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .room-title-section h1 {
    font-size: 2.6rem;
  }

  .room-content-inner {
    gap: 50px;
  }

  .room-content-media {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .room-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .room-other-card {
    flex: 0 0 calc(33.33% - 20px);
  }
}
