/* ===========================
   RED MANGO — ROOMS.CSS
   =========================== */

/* ===== ROOMS HERO BANNER ===== */

.rooms-hero {
  position: relative;
  width: 100%;
  height: 320px;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.rooms-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
  /* Placeholder gradient when no image is loaded */
  background-color: #1a1a1a;
  filter: brightness(0.55);
  z-index: 0;
}

/* Placeholder styling when no image exists yet */
.rooms-hero-bg:not([style*="url("]) {
  background: linear-gradient(135deg, #1a0a0a 0%, #2a1010 40%, #1a1a1a 100%);
  filter: none;
}

.rooms-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.6) 0%,
    rgba(0,0,0,0.2) 100%
  );
  z-index: 1;
}

.rooms-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 60px;
}

.rooms-hero-content h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 300;
  letter-spacing: 10px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 10px;
}

.rooms-hero-content p {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.85;
}

/* ===== ROOMS MAIN ===== */

.rooms-main {
  background: var(--white);
  padding: 0;
}

/* ===== ROOM CARD ===== */

.room-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
  border-bottom: 1px solid #e8e8e8;
}

.room-card-reverse {
  direction: rtl;
}

.room-card-reverse > * {
  direction: ltr;
}

/* Room Image */
.room-image {
  overflow: hidden;
  position: relative;
  background: #c8c8c8;
  min-height: 380px;
}

.room-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.room-card:hover .room-image img {
  transform: scale(1.03);
}

/* Placeholder when no image */
.room-image img[src*="placeholder"],
.room-image img:not([src]),
.room-image img[src=""] {
  display: none;
}

.room-image::after {
  content: 'Photo Coming Soon';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #999;
  background: #e8e8e8;
  z-index: 0;
}

.room-image img {
  position: relative;
  z-index: 1;
}

/* Room Details */
.room-details {
  padding: 48px 52px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: var(--white);
}

/* Price Row */
.room-price-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.room-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.5px;
}

.room-price sup {
  font-size: 15px;
}

.btn-book-room {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 18px;
  transition: background 0.3s ease;
  white-space: nowrap;
}

.btn-book-room:hover {
  background: var(--red-dark);
}

/* Room Name */
.room-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #222;
  margin-bottom: 5px;
}

/* ===== ROOM HIGHLIGHTS — quick-glance bullet list =====
*/

.room-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  list-style: none;
  margin: 14px 0 20px;
  padding: 0;
}

.room-highlights li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: #333;
}

.room-highlights li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .room-highlights {
    gap: 8px 16px;
  }
  .room-highlights li {
    font-size: 13px;
  }
}



/* Divider */
.room-divider {
  width: 100%;
  height: 1px;
  background: #e0e0e0;
  margin-bottom: 15px;
  margin-top: 5px;
}

/* Description */
.room-description p {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.85;
  color: #444;
  margin-bottom: 14px;
}

.room-description p:last-child {
  margin-bottom: 0;
}

/* Apartment Tags */
.room-apartments {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
}

.room-apt-label {
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  color: #999 !important;
  margin-bottom: 15px !important;
  line-height: 1 !important;
}

.room-apt-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 23px;
}

.room-apt-tags span {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid var(--red);
  padding: 4px 12px;
  opacity: 0.8;
}

/* Active nav link */
.nav-active {
  color: var(--cream) !important;
}

.nav-active::after {
  width: 100% !important;
  background: var(--red) !important;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 900px) {
  .room-card {
    grid-template-columns: 1fr;
    direction: ltr !important;
  }

  .room-card-reverse > * {
    direction: ltr;
  }

  .room-image {
    min-height: 280px;
  }

  .room-details {
    padding: 32px 24px;
  }

  .rooms-hero-content {
    padding: 0 24px;
  }
}

@media (max-width: 480px) {
  .room-price-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
