/* ── ROOMS PAGE — page-specific styles ── */

/* INTRO */
.rooms-intro {
  background: var(--cream); padding: 5rem;
  border-bottom: 1px solid rgba(46,77,48,0.08);
}
.rooms-intro-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.rooms-intro-body {
  font-size: 1rem; font-weight: 300; line-height: 1.85;
  color: #3a3a3a; margin-top: 1rem;
}

/* ROOM DETAIL */
.room-detail {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  padding: 6rem 8%;
  gap: 6rem;
  align-items: center;
  background: var(--warm-white);
  min-height: auto;
}
.room-detail--alt {
  grid-template-columns: 0.85fr 1.15fr;
  background: var(--cream);
}

.room-media-wrapper {
  position: relative;
  width: 100%;
  order: 1;
}

.room-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(13, 26, 15, 0.12);
  overflow: hidden;
  background: var(--deep);
  z-index: 2;
}

.room-media-frame {
  position: absolute;
  inset: 1.5rem -1.5rem -1.5rem 1.5rem;
  border: 1px solid var(--gold);
  border-radius: 12px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.8;
}
.room-detail--alt .room-media-frame {
  inset: 1.5rem 1.5rem -1.5rem -1.5rem;
}

.room-detail-info {
  order: 2;
}

/* Alternate order for desktop */
.room-detail--alt .room-media-wrapper {
  order: 2;
}
.room-detail--alt .room-detail-info {
  order: 1;
}

.carousel-track-container {
  height: 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.carousel-track {
  list-style: none;
  padding: 0;
  margin: 0;
  height: 100%;
  width: 100%;
  position: relative;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 1;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Navigation Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(13, 26, 15, 0.4);
  color: var(--cream);
  border: none;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, color 0.3s, transform 0.2s;
  backdrop-filter: blur(4px);
}

.carousel-btn:hover {
  background: rgba(238, 176, 72, 0.85); /* gold */
  color: var(--deep);
  transform: translateY(-50%) scale(1.05);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-btn--prev {
  left: 1.5rem;
  padding-right: 3px;
}

.carousel-btn--next {
  right: 1.5rem;
  padding-left: 3px;
}

/* Dots Indicators */
.carousel-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 10;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(245, 240, 232, 0.4);
  border: 1px solid rgba(13, 26, 15, 0.2);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}

.carousel-dot:hover {
  background: rgba(245, 240, 232, 0.8);
  transform: scale(1.2);
}

.carousel-dot.active {
  background: var(--gold);
  transform: scale(1.2);
}

.room-detail-info {
  background: transparent;
  padding: 0;
  display: flex; flex-direction: column; justify-content: center;
}
.room-detail--alt .room-detail-info { background: transparent; }

.room-action-wrap {
  align-items: flex-start;
}

.room-detail-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 300; line-height: 1.1; color: var(--deep);
  margin: 0.5rem 0 1.5rem;
}
.room-detail-name em { font-style: italic; color: var(--moss); }
.room-detail-desc {
  font-size: 0.92rem; font-weight: 300; line-height: 1.85;
  color: #3a3a3a; margin-bottom: 2rem;
}
.room-features {
  list-style: none; display: grid; grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1rem; margin-bottom: 2.5rem;
}
.room-features li {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.82rem; font-weight: 300; color: var(--text);
}
.feat-icon { color: var(--gold); flex-shrink: 0; font-size: 0.55rem; }

/* ROOM DETAIL DARK VARIANT (for VIP Lounge) */
.room-detail--dark {
  background: var(--deep);
  border-top: 1px solid rgba(245, 240, 232, 0.08);
  border-bottom: 1px solid rgba(245, 240, 232, 0.08);
}
.room-detail--dark .room-detail-name {
  color: var(--cream);
}
.room-detail--dark .room-detail-name em {
  color: var(--gold-light);
}
.room-detail--dark .room-detail-desc {
  color: rgba(245, 240, 232, 0.65);
}
.room-detail--dark .room-features li {
  color: rgba(245, 240, 232, 0.8);
}
.room-detail--dark .platform-label {
  color: rgba(245, 240, 232, 0.5);
}
.room-detail--dark .room-media-frame {
  border-color: rgba(238, 176, 72, 0.4);
}

/* ROOMS CTA */
.rooms-cta {
  position: relative;
  background: var(--forest); padding: 7rem 5rem;
  text-align: center;
  overflow: hidden;
}
.rooms-cta::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.rooms-cta-content { max-width: 600px; margin: 0 auto; }
.rooms-cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300; line-height: 1.15; color: var(--cream);
  margin: 0.8rem 0 1.2rem;
}
.rooms-cta-title em { font-style: italic; color: var(--gold-light); }
.rooms-cta-sub {
  font-size: 0.9rem; font-weight: 300; line-height: 1.75;
  color: rgba(245,240,232,0.6); margin-bottom: 2.5rem;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .rooms-intro { padding: 3rem 2.5rem; }
  .room-detail, .room-detail--alt {
    grid-template-columns: 1fr;
    padding: 4rem 2.5rem;
    gap: 3rem;
  }
  .room-media-wrapper {
    order: 1;
  }
  .room-carousel {
    aspect-ratio: 16 / 10;
  }
  .room-media-frame {
    display: none;
  }
  .room-detail-info {
    padding: 0;
    order: 2;
  }
  .amenities-section { grid-template-columns: 1fr; padding: 4rem 2.5rem; }
  .amenities-inner { padding-right: 0; }
  .amenities-visual { min-height: 320px; margin-top: 2rem; }
  .rooms-cta { padding: 4rem 2.5rem; }
}

@media (max-width: 768px) {
  .rooms-intro { padding: 3rem 1.5rem; }
  .room-detail, .room-detail--alt { padding: 3rem 1.5rem; gap: 2rem; }
  .room-detail-info { padding: 0; }
  .room-detail-name { font-size: 1.8rem; margin-bottom: 1rem; }
  .room-detail-desc { font-size: 0.85rem; margin-bottom: 1.5rem; }
  .room-features { gap: 0.5rem; margin-bottom: 1.5rem; }
  .room-features li { font-size: 0.78rem; }
  .room-carousel {
    aspect-ratio: 4 / 3;
  }
  .carousel-btn { width: 40px; height: 40px; font-size: 1.6rem; }
  .amenities-section { padding: 4rem 1.5rem; }
  .amenities-body { font-size: 0.85rem; margin: 1rem 0 1.5rem; }
  .amenities-grid { grid-template-columns: 1fr; }
  .amenities-visual { min-height: 280px; margin-top: 2rem; }
  .rooms-cta { padding: 4rem 1.5rem; }
  .rooms-cta-title { font-size: 1.8rem; }
  .rooms-cta-sub { font-size: 0.85rem; }
}

@media (max-width: 576px) {
  .room-features { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .rooms-intro { padding: 2.5rem 1rem; }
  .rooms-intro-body { font-size: 0.9rem; }
  .carousel-btn { width: 34px; height: 34px; font-size: 1.2rem; left: 0.8rem; right: 0.8rem; }
  .room-detail-info { padding: 0; }
  .room-detail-name { font-size: 1.5rem; }
  .room-detail-desc { font-size: 0.85rem; line-height: 1.7; }
  .room-features li { font-size: 0.75rem; }
  .btn-primary { font-size: 0.68rem; padding: 0.85rem 1.5rem; }
  .amenities-section { padding: 3rem 1rem; }
  .amenities-inner { gap: 1rem; }
  .amenities-body { font-size: 0.85rem; }
  .amenities-visual { min-height: 220px; }
  .amenities-visual-frame { display: none; }
  .rooms-cta { padding: 3rem 1rem; }
  .rooms-cta-title { font-size: 1.5rem; }
  .rooms-cta-sub { font-size: 0.8rem; margin-bottom: 2rem; }
  .section-label { font-size: 0.55rem; }
  .section-title { font-size: 1.6rem; }
}
