/* ═══════════════════════════════════════════════════════════════════
   Room / Villa detail pages — shared styles
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Hero ───────────────────────────────────────────────────────── */
.rd-hero { position: relative; height: 62vh; min-height: 440px; overflow: hidden; background: var(--forest); }
.rd-hero img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.9; }
.rd-hero-content {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 3.5rem 4%;
  background: linear-gradient(to top, rgba(20,30,22,0.82) 0%, transparent 100%);
}
.rd-hero-content .section-label { color: rgba(255,255,255,0.65); }
.rd-hero-content h1 {
  font-family: var(--serif); font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 300;
  font-style: italic; color: var(--white); margin: 0.3rem 0 0; line-height: 1.1;
}

/* ─── Back bar ───────────────────────────────────────────────────── */
.rd-back-bar { background: var(--cream); padding: 0.9rem 4%; border-bottom: 1px solid var(--cream-dark); }
.rd-back-bar a {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--forest); border-bottom: 1px solid var(--beige); padding-bottom: 0.2rem;
  transition: gap 0.3s, border-color 0.3s, color 0.3s; width: fit-content;
}
.rd-back-bar a:hover { color: var(--terra); border-color: var(--terra); gap: 0.85rem; }

/* ─── Intro (name + atmosphere copy + book CTA) ──────────────────── */
.rd-intro { background: var(--cream); padding: 3.5rem 0 0; }
.rd-intro-inner { max-width: 760px; margin: 0 auto; text-align: center; padding: 0 4%; }
.rd-intro .section-label { color: var(--blend); }
.rd-intro h2 {
  font-family: var(--serif); font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 300;
  font-style: italic; color: var(--brown-dark); margin: 0.4rem 0 1.3rem; line-height: 1.15;
}
.rd-intro p { font-size: 0.98rem; line-height: 1.95; color: #555; margin-bottom: 1.6rem; }
.rd-book-cta {
  display: inline-flex; align-items: center; gap: 0.6rem; background: var(--forest); color: var(--white);
  font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.85rem 1.8rem; transition: background 0.25s;
}
.rd-book-cta:hover { background: var(--terra); }

/* ─── Specs row ──────────────────────────────────────────────────── */
.rd-specs {
  max-width: 900px; margin: 2.8rem auto 0; padding: 2rem 4%;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.8rem;
  border-top: 1px solid var(--cream-dark); border-bottom: 1px solid var(--cream-dark);
}
.rd-spec { text-align: center; }
.rd-spec svg { width: 26px; height: 26px; color: var(--terra); margin-bottom: 0.6rem; }
.rd-spec .rd-spec-label { font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); margin-bottom: 0.35rem; }
.rd-spec .rd-spec-value { font-family: var(--serif); font-size: 1.15rem; font-style: italic; color: var(--brown-dark); line-height: 1.3; }

/* ─── Detail sections (Room / View / Bathroom …) ─────────────────── */
.rd-details { background: var(--cream); padding: 4rem 0; }
.rd-details-inner { max-width: 760px; margin: 0 auto; padding: 0 4%; }
.rd-detail-block { margin-bottom: 2.2rem; }
.rd-detail-block:last-child { margin-bottom: 0; }
.rd-detail-block h4 {
  font-family: var(--sans); font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--terra); margin-bottom: 0.6rem;
}
.rd-detail-block p { font-size: 0.95rem; line-height: 1.9; color: #555; }

/* ─── Amenities ──────────────────────────────────────────────────── */
.rd-amenities { background: var(--white); padding: 4rem 0; border-top: 1px solid var(--cream-dark); }
.rd-amenities-inner { max-width: 900px; margin: 0 auto; padding: 0 4%; }
.rd-amenities h3 {
  font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 300; font-style: italic;
  color: var(--brown-dark); text-align: center; margin-bottom: 2.2rem;
}
.rd-amenity-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem 1.6rem; }
.rd-amenity-item { display: flex; align-items: center; gap: 0.7rem; font-size: 0.92rem; color: var(--charcoal); }
.rd-amenity-item .am-icon { width: 19px; height: 19px; flex-shrink: 0; color: var(--brown); }

/* ─── Gallery ────────────────────────────────────────────────────── */
.rd-gallery { background: var(--cream); padding: 4rem 0; }
.rd-gallery-inner { max-width: 1100px; margin: 0 auto; padding: 0 4%; }
.rd-gallery h3 {
  font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 300; font-style: italic;
  color: var(--brown-dark); text-align: center; margin-bottom: 2.2rem;
}
.rd-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.rd-gthumb { position: relative; overflow: hidden; cursor: pointer; aspect-ratio: 4/3; border: none; padding: 0; background: var(--cream-dark); }
.rd-gthumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.rd-gthumb:hover img { transform: scale(1.06); }

/* ─── Practical info strip ───────────────────────────────────────── */
.rd-practical {
  background: var(--brown-dark); color: rgba(255,255,255,0.9); text-align: center; padding: 2.6rem 4%;
}
.rd-practical-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 2.5rem; font-size: 0.88rem; margin-bottom: 1rem; }
.rd-practical-row strong { color: var(--white); font-weight: 500; }
.rd-practical p.rd-policy { font-size: 0.82rem; color: rgba(255,255,255,0.7); max-width: 640px; margin: 0 auto; line-height: 1.7; }

/* ─── Related rooms ──────────────────────────────────────────────── */
.rd-related { background: var(--white); padding: 3.5rem 0; text-align: center; }
.rd-related p.section-label { color: var(--blend); }
.rd-related-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.6rem; margin-top: 1.2rem; }
.rd-related-links a {
  font-family: var(--serif); font-size: 1.05rem; font-style: italic; color: var(--brown-dark);
  border-bottom: 1px solid var(--beige); padding-bottom: 0.15rem; transition: border-color 0.25s, color 0.25s;
}
.rd-related-links a:hover { color: var(--terra); border-color: var(--terra); }

@media (max-width: 760px) {
  .rd-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .rd-specs { grid-template-columns: repeat(2, 1fr); }
}
