/* ============================================================
   room.css — Shared styles for all accommodation pages
   Inherits design tokens from style.css
   ============================================================ */

/* Active nav link */
.nav-active {
  color: #ffffff !important;
  background: rgba(255,255,255,0.1) !important;
  border-radius: var(--radius-sm);
}
.nav-active::after { transform: scaleX(1) !important; }

/* ============================================================
   ROOM HERO
   ============================================================ */
.room-hero {
  position: relative;
  height: 52vh;
  min-height: 320px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.room-hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.room-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}
.room-hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem var(--pad) 2.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}
.room-breadcrumb {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.6rem;
  display: flex;
  gap: 0.4rem;
  align-items: center;
  flex-wrap: wrap;
}
.room-breadcrumb a { color: rgba(255,255,255,0.55); transition: color var(--transition); }
.room-breadcrumb a:hover { color: #fff; }
.room-breadcrumb span { opacity: 0.4; }
.room-hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.4rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.room-hero-content p {
  color: rgba(255,255,255,0.75);
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  margin: 0;
  font-style: italic;
}

/* ============================================================
   ROOM DETAIL GRID
   ============================================================ */
.room-detail {
  background: var(--white);
  padding: 3.5rem 0;
}
.room-detail-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: flex-start;
}

/* Left column */
.room-info { flex: 1; min-width: 0; }
.room-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: var(--navy);
  margin: 0.5rem 0 1rem;
  line-height: 1.2;
}
.room-info h2::after {
  content: '';
  display: block;
  width: 40px; height: 2px;
  background: var(--black);
  margin-top: 0.6rem;
}
.room-intro {
  font-size: 1.02rem;
  color: var(--text-md);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 580px;
}

.room-features, .room-includes { margin-bottom: 2rem; }
.room-features h3, .room-includes h3 {
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin: 0 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}

.feature-list {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1rem;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--text-md);
}
.feat-icon { font-size: 1rem; flex-shrink: 0; }

.includes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.include-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-md);
  background: var(--off-white);
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-sm);
}
.include-item span {
  color: var(--black);
  font-weight: 700;
  flex-shrink: 0;
}

/* Right column — booking card */
.room-book-card {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--black);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.price-block {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.price-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.price-amount {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.price-per {
  font-size: 0.78rem;
  color: var(--muted);
}

.room-meta {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.meta-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--light);
}
.meta-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.meta-val {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
}

.book-btn {
  width: 100%;
  padding: 0.9rem;
  font-size: 0.85rem;
}

.book-note {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
  margin: 0;
  line-height: 1.5;
}

/* Other rooms */
.other-rooms {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.other-rooms h4 {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin: 0 0 0.75rem;
}
.other-room-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
  background: var(--off-white);
  border-radius: var(--radius-sm);
  margin-bottom: 0.4rem;
  transition: all var(--transition);
  border: 1px solid transparent;
}
.other-room-link:hover {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}
.other-room-link span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
}
.other-room-link:hover span { color: rgba(255,255,255,0.65); }

/* ============================================================
   PHOTO STRIP
   ============================================================ */
.room-photos {
  background: var(--off-white);
  padding: 2.5rem 0;
}
.room-photos h3 {
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin: 0 0 1.25rem;
}
.room-photo-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  padding-bottom: 0.5rem;
}
.room-photo-strip::-webkit-scrollbar { height: 3px; }
.room-photo-strip::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.room-photo-item {
  flex-shrink: 0;
  width: 280px;
  height: 190px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.room-photo-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.room-photo-item:hover img { transform: scale(1.05); }

/* ============================================================
   CTA BAND
   ============================================================ */
.room-cta-band {
  background: var(--charcoal);
  padding: 3.5rem 0;
}
.room-cta-inner {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  align-items: flex-start;
}
.room-cta-band h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem;
}
.room-cta-band p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  margin: 0;
  max-width: 500px;
  line-height: 1.65;
}
.room-cta-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 768px) {
  .room-detail-grid {
    flex-direction: row;
    gap: 3rem;
    align-items: flex-start;
  }
  .room-info { flex: 1.2; }
  .room-book-card {
    flex: 0 0 320px;
    position: sticky;
    top: 90px;
  }
  .room-cta-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .room-cta-band p { max-width: 460px; }
}

@media (min-width: 1024px) {
  .room-book-card { flex: 0 0 360px; }
  .feature-list { grid-template-columns: 1fr 1fr; }
}