/* ========== ROOM DETAIL PAGE ========== */
.room-detail-page {
  background: var(--background-cream, #F7F5F0);
  min-height: 100vh;
}

/* ========== BREADCRUMBS ========== */
.rd-breadcrumbs-wrap {
  background: #fff;
  border-bottom: 1px solid var(--border-light);
}

.rd-breadcrumbs {
  list-style: none;
  margin: 0 auto;
  padding: 0.85rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  max-width: var(--container-max, 1200px);
  width: min(92%, var(--container-max));
  font-size: 0.82rem;
}

.rd-breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.rd-breadcrumb-item + .rd-breadcrumb-item::before {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.rd-breadcrumb-item a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.rd-breadcrumb-item a:hover {
  color: var(--primary-color);
}

.rd-breadcrumb-item.active {
  color: var(--primary-color);
  font-weight: 600;
}

/* ========== ROOM HEADER ========== */
.rd-header {
  background: #fff;
  padding: 2rem 0 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.rd-header-inner {
  max-width: var(--container-max, 1200px);
  width: min(92%, var(--container-max));
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.rd-header-left {
  flex: 1;
  min-width: 200px;
}

.rd-room-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--primary-color);
  margin: 0 0 0.75rem;
  line-height: 1.15;
}

.rd-room-title-divider {
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
  margin-bottom: 0.85rem;
}

.rd-room-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.rd-room-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.rd-room-meta i {
  color: var(--accent-color);
  font-size: 0.9rem;
  width: 18px;
  text-align: center;
}

.rd-header-right {
  flex-shrink: 0;
}

.rd-book-btn-header {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--accent-color);
  color: var(--primary-color);
  border-radius: var(--radius-pill);
  border: 2px solid var(--accent-color);
  transition: all 0.3s ease;
  cursor: pointer;
}

.rd-book-btn-header:hover {
  background: var(--accent-hover-color);
  border-color: var(--accent-hover-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--accent-color-rgb), 0.35);
}

/* ========== CAROUSEL WRAPPER ========== */
.rd-carousel-wrap {
  background: #fff;
  padding-bottom: 0;
}

/* ========== CONTENT WRAPPER ========== */
.rd-content-wrapper {
  max-width: var(--container-max, 1200px);
  width: min(92%, var(--container-max));
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}

/* ========== CONTENT GRID ========== */
.rd-content-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}

.rd-content-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.rd-content-right {
  position: sticky;
  top: 2rem;
}

/* ========== SECTIONS ========== */
.rd-section {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.rd-section-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--primary-color);
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.rd-section-title i {
  color: var(--accent-color);
  font-size: 1.1rem;
}

/* ========== DESCRIPTION ========== */
.rd-description-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0;
}

/* ========== KEY INFO SIDEBAR CARD ========== */
.rd-info-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 1px solid var(--border-light);
}

.rd-info-card-header {
  background: var(--primary-color);
  color: #fff;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.rd-info-card-header i {
  color: var(--accent-color);
}

.rd-info-card-body {
  padding: 1.25rem 1.5rem;
}

.rd-info-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
}

.rd-info-item:last-child {
  border-bottom: none;
}

.rd-info-item-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--accent-color-rgb), 0.1);
  border-radius: 50%;
  color: var(--accent-color);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.rd-info-item-content {
  flex: 1;
}

.rd-info-item-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.1rem;
}

.rd-info-item-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-color);
}

/* ========== AMENITIES ========== */
.rd-amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
}

.rd-amenity-tile {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 1rem;
  background: var(--background-cream);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-dark);
  transition: all 0.25s ease;
}

.rd-amenity-tile:hover {
  background: rgba(var(--accent-color-rgb), 0.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.rd-amenity-tile i {
  color: var(--accent-color);
  font-size: 0.9rem;
  width: 20px;
  text-align: center;
}

/* ========== OTHER ROOMS ========== */
.rd-other-rooms {
  margin-top: 3rem;
}

.rd-other-rooms-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--primary-color);
  margin: 0 0 0.5rem;
  text-align: center;
}

.rd-other-rooms-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-align: center;
  margin: 0 0 2rem;
}

.rd-other-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.rd-other-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.rd-other-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.rd-other-card-image {
  height: 180px;
  overflow: hidden;
}

.rd-other-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.rd-other-card:hover .rd-other-card-image img {
  transform: scale(1.06);
}

.rd-other-card-body {
  padding: 1rem 1.25rem 1.25rem;
}

.rd-other-card-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--primary-color);
  margin: 0 0 0.35rem;
}

.rd-other-card-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  gap: 0.75rem;
}

.rd-other-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.rd-other-card-meta i {
  color: var(--accent-color);
  font-size: 0.75rem;
}

/* ========== STICKY BOOKING BAR (MOBILE) ========== */
.rd-sticky-book {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  padding: 0.85rem 1.25rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  border-top: 1px solid var(--border-light);
}

.rd-sticky-book-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--container-max, 1200px);
  margin: 0 auto;
}

.rd-sticky-book-info {
  display: flex;
  flex-direction: column;
}

.rd-sticky-book-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-color);
}

.rd-sticky-book-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.rd-sticky-book-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  background: var(--accent-color);
  color: var(--primary-color);
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.rd-sticky-book-btn:hover {
  background: var(--accent-hover-color);
  transform: translateY(-1px);
}

/* ========== ANIMATIONS ========== */
.rd-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.rd-fade-in.start-animation {
  opacity: 1;
  transform: translateY(0);
}

.rd-amenity-tile.rd-fade-in {
  transition-delay: calc(var(--item-index, 0) * 0.05s);
}

/* ========== LIGHTBOX ========== */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
}

#lightboxImage {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 2.5rem;
  font-weight: 300;
  cursor: pointer;
  z-index: 2001;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: background 0.3s ease;
  line-height: 1;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .rd-content-grid {
    grid-template-columns: 1fr;
  }

  .rd-content-right {
    position: static;
  }
}

@media (max-width: 768px) {
  .rd-header {
    padding: 1.5rem 0 1.25rem;
  }

  .rd-header-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .rd-header-right {
    display: none;
  }

  .rd-sticky-book {
    display: block;
  }

  .rd-section {
    padding: 1.25rem;
  }

  .rd-section-title {
    font-size: 1.15rem;
  }

  .rd-room-title {
    font-size: 1.6rem;
  }

  .rd-content-wrapper {
    padding: 1.5rem 0 6rem;
  }

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

  .rd-breadcrumbs {
    font-size: 0.75rem;
    padding: 0.65rem 0;
  }
}

@media (max-width: 480px) {
  .rd-amenities-grid {
    grid-template-columns: 1fr;
  }

  .rd-other-grid {
    grid-template-columns: 1fr;
  }

  .rd-room-meta {
    gap: 0.75rem;
    font-size: 0.82rem;
  }
}
