:root {
  --g100: #fdfaf3;
  --g200: #f9e9b8;
  --g400: #f5c842;
  --g600: #d4a017;
  --g800: #b8860b;
  --g900: #7a5500;
  --dark: #1a1005;
}

.rm-page { background: var(--g100); min-height: 80vh; font-family: 'Kanit', sans-serif; }

/* Hero (hotel-style, full-bleed image) */
.rm-hero {
  position: relative;
  min-height: 68vh;
  display: flex; align-items: flex-end;
  background: linear-gradient(to top, rgba(26,16,5,.92) 0%, rgba(26,16,5,.45) 55%, rgba(26,16,5,.35) 100%),
              url('../img/premiumroom.jpg') center / cover no-repeat;
  padding: 64px 24px 56px;
}
.rm-hero-inner { position: relative; z-index: 1; max-width: 46rem; margin: 0 auto; text-align: center; }
.rm-hero-label {
  display: inline-block;
  font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--g400);
  border: 1px solid rgba(245,200,66,.4);
  background: rgba(245,200,66,.1);
  border-radius: 9999px; padding: 5px 18px; margin-bottom: 18px;
}
.rm-hero-title {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  font-weight: 600; color: #fff; line-height: 1.25; margin: 0 0 14px;
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
}
.rm-hero-desc { font-size: 15px; color: rgba(255,255,255,.82); margin: 0 0 28px; line-height: 1.7; }
.rm-hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.rm-hero-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; padding: 12px 26px; border-radius: 9999px;
  text-decoration: none; transition: background .2s ease, color .2s ease, transform .2s ease;
}
.rm-hero-btn.primary { background: var(--g400); color: var(--dark); }
.rm-hero-btn.primary:hover { background: var(--g600); color: #fff; transform: translateY(-1px); }
.rm-hero-btn.ghost { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.rm-hero-btn.ghost:hover { background: rgba(255,255,255,.18); }

/* Trust / feature strip */
.rm-trust {
  max-width: 72rem; margin: 0 auto; padding: 28px 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.rm-trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: #4b5563; justify-content: center; text-align: left;
}
.rm-trust-item svg { color: var(--g600); flex-shrink: 0; }

/* Section heading */
.rm-section-head { max-width: 72rem; margin: 8px auto 0; padding: 0 24px; text-align: center; }
.rm-section-label {
  font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--g800); margin-bottom: 8px; display: block;
}
.rm-section-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; color: #1f2937; margin: 0 0 40px; }

/* Room showcase sections */
.rm-rooms { max-width: 72rem; margin: 0 auto; padding: 0 24px 40px; display: flex; flex-direction: column; gap: 64px; }
.rm-room {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center;
}
.rm-room.reverse .rm-room-visual { order: 2; }
.rm-room.reverse .rm-room-info { order: 1; }

.rm-room-media { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4/3; }
.rm-room-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rm-room-media.placeholder {
  background: linear-gradient(135deg, #2a1b05 0%, #4a3008 60%, #2a1b05 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.rm-room-media.placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, #f5c842 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  opacity: 0.08;
}
.rm-room-media.placeholder svg { position: relative; z-index: 1; color: var(--g400); }
.rm-room-badge {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: var(--g400); color: var(--dark);
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  padding: 6px 14px; border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
}

.rm-clickable { cursor: pointer; transition: filter .2s ease; }
.rm-clickable:hover { filter: brightness(.92); }

/* Thumbnail strip */
.rm-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.rm-thumb {
  width: 72px; height: 72px; border-radius: 12px; overflow: hidden; flex-shrink: 0;
  cursor: pointer; border: 2px solid transparent; transition: border-color .2s ease, transform .2s ease;
}
.rm-thumb:hover { border-color: var(--g400); transform: translateY(-2px); }
.rm-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rm-thumb.placeholder {
  cursor: default;
  border: 1.5px dashed rgba(184,134,11,.35);
  background: rgba(245,200,66,.06);
  display: flex; align-items: center; justify-content: center;
  color: var(--g600); opacity: .6;
}
.rm-thumb.placeholder:hover { border-color: rgba(184,134,11,.35); transform: none; }

.rm-room-info-inner { max-width: 460px; }
.rm-room.reverse .rm-room-info-inner { margin-left: auto; }
.rm-room-tag {
  display: inline-block; font-size: 11px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; color: var(--g800);
  background: rgba(245,200,66,.14); border-radius: 9999px;
  padding: 4px 14px; margin-bottom: 14px;
}
.rm-room-name { font-size: 26px; font-weight: 600; color: #1f2937; margin: 0 0 10px; }
.rm-room-desc { font-size: 14px; color: #6b7280; line-height: 1.75; margin: 0 0 22px; }

.rm-amenity-grid {
  list-style: none; padding: 0; margin: 0 0 26px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px;
}
.rm-amenity-grid li {
  display: flex; align-items: center; gap: 9px;
  font-size: 13px; color: #374151;
}
.rm-amenity-grid svg { flex-shrink: 0; color: var(--g600); }

.rm-room-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--dark); color: #fff;
  font-size: 14px; font-weight: 600; padding: 12px 26px; border-radius: 9999px;
  text-decoration: none; transition: background .2s ease, transform .2s ease;
}
.rm-room-btn:hover { background: var(--g800); transform: translateY(-1px); }

/* Final CTA */
.rm-cta { max-width: 72rem; margin: 0 auto 80px; padding: 0 24px; }
.rm-cta-inner {
  background: linear-gradient(135deg, #2a1b05 0%, #4a3008 60%, #2a1b05 100%);
  border-radius: 24px; padding: 48px 24px; text-align: center;
}
.rm-cta-inner h3 { color: #fdf3d0; font-size: 22px; font-weight: 600; margin: 0 0 8px; }
.rm-cta-inner p { color: rgba(253,243,208,.65); font-size: 14px; margin: 0 0 22px; }
.rm-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--g400); color: var(--dark);
  font-size: 14px; font-weight: 600;
  padding: 12px 28px; border-radius: 9999px;
  text-decoration: none; transition: background .2s ease;
}
.rm-cta-btn:hover { background: var(--g600); color: #fff; }

@media (max-width: 900px) {
  .rm-trust { grid-template-columns: repeat(2, 1fr); }
  .rm-room, .rm-room.reverse { grid-template-columns: 1fr; }
  .rm-room-visual, .rm-room.reverse .rm-room-visual { order: 1; }
  .rm-room-info, .rm-room.reverse .rm-room-info { order: 2; }
  .rm-room-info-inner, .rm-room.reverse .rm-room-info-inner { max-width: 100%; margin-left: 0; }
}
@media (max-width: 480px) {
  .rm-amenity-grid { grid-template-columns: 1fr; }
}

/* Lightbox */
#rm-lightbox {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.94); backdrop-filter: blur(8px);
  align-items: center; justify-content: center;
}
#rm-lightbox.open { display: flex; }
#rm-lb-inner {
  position: relative; max-width: 960px; width: 92vw;
}
#rm-lb-img {
  width: 100%; max-height: 84vh; object-fit: contain; display: block;
  border-radius: 12px;
}
#rm-lb-close {
  position: absolute; top: -46px; right: 0; z-index: 10;
  width: 36px; height: 36px; border-radius: 50%; border: none;
  background: rgba(245,200,66,.2); color: var(--g400);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
#rm-lb-close:hover { background: rgba(245,200,66,.4); }
.rm-lb-nav-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  width: 44px; height: 44px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.1); color: #fff;
  cursor: pointer; align-items: center; justify-content: center;
  transition: background .2s;
}
.rm-lb-nav-btn:hover { background: rgba(255,255,255,.22); }
#rm-lb-prev { left: -56px; }
#rm-lb-next { right: -56px; }
#rm-lb-count {
  text-align: center; margin-top: 12px;
  font-size: 13px; color: rgba(255,255,255,.6);
}
@media (max-width: 640px) {
  #rm-lb-prev { left: 8px; }
  #rm-lb-next { right: 8px; }
  #rm-lb-close { top: 8px; right: 8px; background: rgba(0,0,0,.4); }
}
