/* ============================================================
   ROOM PAGE (pagina dedicată camerei)
   Folosește clasele din app/Views/public/room.php (ti-room-*)
   ============================================================ */

.room-page{
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.room-page .ti-room-top{
  margin: 14px 0 14px;
}

.room-page .ti-room-back{
  display: inline-block;
  color: #0f88dd;
  text-decoration: none;
  font-weight: 700;
  margin-bottom: 8px;
}
.room-page .ti-room-back:hover{ text-decoration: underline; }

.room-page .ti-room-title{
  font-size: 34px;
  font-weight: 900;
  margin: 0;
  line-height: 1.12;
}

.room-page .ti-room-sub{
  margin-top: 6px;
  color: #6b7280;
  font-size: 14px;
}
.room-page .ti-room-sub a{
  color: #0f88dd;
  text-decoration: none;
  font-weight: 700;
}
.room-page .ti-room-sub a:hover{ text-decoration: underline; }

/* ---------------------------
   GALERIE
--------------------------- */
.room-page .ti-room-gallery{
  margin-top: 12px;
}

.room-page .ti-room-main-img{
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  background: #f3f4f6;
}

.room-page .ti-room-thumbs{
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

@media (max-width: 992px){
  .room-page .ti-room-thumbs{ grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 576px){
  .room-page .ti-room-thumbs{ grid-template-columns: repeat(3, 1fr); }
}

.room-page .ti-room-thumb{
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f6;
}
.room-page .ti-room-thumb img{
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform .2s ease, opacity .2s ease;
}
.room-page .ti-room-thumb:hover img{
  transform: scale(1.03);
  opacity: .92;
}

.room-page .ti-room-gallery-empty{
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #edf1f4;
  border-radius: 14px;
  background: #fff;
  color: #6b7280;
  font-weight: 700;
}

/* ---------------------------
   GRID CONȚINUT
--------------------------- */
.room-page .ti-room-grid{
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
  align-items: start;
}

@media (max-width: 992px){
  .room-page .ti-room-grid{
    grid-template-columns: 1fr;
  }
}

/* ---------------------------
   CARDURI
--------------------------- */
.room-page .ti-room-card{
  background: #fff;
  border: 1px solid #edf1f4;
  border-radius: 14px;
  padding: 14px;
}

.room-page .ti-room-h2{
  font-size: 18px;
  font-weight: 900;
  margin: 0 0 8px;
}
.room-page .ti-room-desc{
  color: #111827;
  line-height: 1.55;
}

.room-page .ti-room-card-head{
  font-weight: 900;
  font-size: 16px;
  margin-bottom: 8px;
}

.room-page .ti-room-kv{
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
}
.room-page .ti-room-kv .k{
  color: #6b7280;
  font-weight: 700;
}
.room-page .ti-room-kv .v{
  font-weight: 900;
  color: #111827;
}
.room-page .ti-room-price{
  color: #0f9d58;
}

.room-page .ti-room-sep{
  margin: 10px 0;
  border: none;
  border-top: 1px solid #e5e7eb;
}

.room-page .ti-room-h3{
  font-size: 14px;
  font-weight: 900;
  margin: 10px 0 6px;
}

/* ------------------------------------------------------------
   Liste 2 coloane cu ✓ (Paturi / Facilități) – RĂMÂN 2 și pe mobil
   ------------------------------------------------------------ */
.room-page .ti-room-cols{
  margin: 0;
  padding-left: 0 !important;
  list-style: none;
  column-count: 2;
  column-gap: 18px;
}
.room-page .ti-room-cols li{
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin: 0 0 6px;
  padding-left: 22px;
  position: relative;
  color: #4b5563;
}
.room-page .ti-room-cols li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #1e9f75;
  font-weight: 900;
}

/* doar pe ecrane foarte mici trecem în 1 coloană */
@media (max-width: 360px){
  .room-page .ti-room-cols{ column-count: 1; }
}
