/* ===========================
   ROOM DETAIL PAGE - Extra Styles
   (extends main.css)
=========================== */

/* ── FLOATING REZERVASYON BUTTON ─── */
.rezervasyon-float {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background: var(--teal);
  color: #fff;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg) translateY(50%);
  padding: 1.2rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  z-index: 999;
  border: none;
  transition: background .2s;
}
.rezervasyon-float:hover { background: var(--teal-dark); }

/* ── ROOM HERO SLIDER ─────────────── */
.room-hero {
  position: relative;
  height: 520px;
  overflow: hidden;
  background: #111;
}
.room-hero .slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.1s ease;
}
.room-hero .slide.active { opacity: 1; }
.room-hero .slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.room-hero .slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.55) 30%, rgba(0,0,0,.1) 100%);
}
.room-hero-title {
  position: absolute;
  bottom: 3.5rem; left: 3rem;
  color: #fff; z-index: 10;
  font-size: 2.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.room-hero-controls {
  position: absolute; bottom: 2rem; right: 2rem;
  display: flex; gap: 0.5rem; z-index: 10;
}
.hero-ctrl-btn {
  width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.7);
  background: rgba(0,0,0,.3); color: #fff;
  font-size: 1rem; cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  transition: background .2s;
}
.hero-ctrl-btn:hover { background: rgba(0,0,0,.6); }
.room-hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.9); border: none; cursor: pointer;
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: #333; z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,.2); transition: background .2s;
}
.room-hero-arrow:hover { background: #fff; }
.room-hero-arrow.prev { left: 1.5rem; }
.room-hero-arrow.next { right: 1.5rem; }

/* ── ROOM DETAIL SECTION ──────────── */
.room-detail {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; padding: 4rem 2rem; align-items: start;
}
.room-detail-left .subtitle {
  font-size: 0.85rem; color: #888; margin-bottom: 0.3rem; font-weight: 500;
}
.room-detail-left h1 {
  font-size: 2.2rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--teal); margin-bottom: 1.2rem; line-height: 1.1;
}
.room-detail-left .desc {
  font-size: 0.9rem; color: #555; line-height: 1.8; margin-bottom: 1.8rem;
}

/* specs row */
.room-specs {
  display: flex; flex-wrap: wrap; gap: 1.2rem;
  padding: 1rem 0; border-top: 1px solid #e8e8e8; border-bottom: 1px solid #e8e8e8;
  margin-bottom: 1.5rem;
}
.room-spec-item {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; color: #444;
}
.room-spec-item svg { color: var(--teal); flex-shrink: 0; }

/* amenity icons grid */
.amenity-grid {
  display: flex; flex-wrap: wrap; gap: 0.8rem 1rem;
  margin-bottom: 1.8rem;
}
.amenity-item {
  display: flex; flex-direction: column; align-items: center;
  gap: 4px; width: 52px; text-align: center;
}
.amenity-item svg { color: var(--teal); }
.amenity-item span { font-size: 0.6rem; color: #777; line-height: 1.2; }

/* CTAs */
.room-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-musaitlik {
  display: inline-flex; align-items: center; justify-content: center;
  background: #1a2436; color: #fff;
  padding: 0.75rem 1.8rem; font-size: 0.78rem;
  font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  border: none; cursor: pointer; border-radius: 2px; transition: background .2s;
  text-decoration: none;
}
.btn-musaitlik:hover { background: #1e5f5b; }

/* room detail right: mini gallery */
.room-detail-right { position: relative; }
.mini-gallery { position: relative; overflow: hidden; border-radius: 4px; }
.mini-gallery .slide { display: none; }
.mini-gallery .slide.active { display: block; }
.mini-gallery img { width: 100%; height: 340px; object-fit: cover; display: block; }
.mini-gallery-controls {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,.45);
  display: flex; align-items: center; justify-content: center;
  gap: 0.5rem; padding: 0.7rem;
}
.mg-btn {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.7); background: rgba(0,0,0,.4);
  color: #fff; font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.mg-btn:hover { background: rgba(0,0,0,.7); }

/* ── OTHER ROOMS SECTION ──────────── */
.other-rooms {
  background: #fff; padding: 3rem 2rem 5rem;
  max-width: 1200px; margin: 0 auto;
}
.other-rooms-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem;
}
.other-room-card { border-bottom: 1px solid #e8e8e8; padding-bottom: 2rem; }
.other-room-card img {
  width: 100%; height: 300px; object-fit: cover;
  display: block; border-radius: 4px; margin-bottom: 1rem;
}
.other-room-card h3 {
  font-size: 1.1rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--navy); margin-bottom: 0.8rem;
}
.other-specs {
  display: flex; flex-wrap: wrap; gap: 1rem;
  font-size: 0.78rem; color: #555; margin-bottom: 1rem;
}
.other-spec { display: flex; align-items: center; gap: 5px; }
.other-spec svg { color: var(--teal); }

.features-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 2rem; margin-bottom: 1.2rem; }
.feature-col ul { list-style: none; padding: 0; }
.feature-col ul li {
  font-size: 0.8rem; color: #555; padding: 2px 0;
  display: flex; align-items: center; gap: 5px;
}
.feature-col ul li::before { content: '•'; color: var(--teal); font-size: 1rem; }
.premium-col { }
.premium-col h5 { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #999; margin-bottom: 0.8rem; }
.premium-items { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.premium-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.premium-item svg { color: var(--teal); }
.premium-item span { font-size: 0.65rem; color: #777; text-align: center; max-width: 60px; line-height: 1.2; }

.price-row { margin-bottom: 1rem; font-size: 0.82rem; color: #888; }
.price-row strong { font-size: 1.3rem; color: var(--navy); }
.card-btns { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--teal); color: var(--teal);
  padding: 0.65rem 1.5rem; font-size: 0.75rem;
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: transparent; cursor: pointer; border-radius: 2px;
  transition: background .2s, color .2s; text-decoration: none;
}
.btn-outline:hover { background: var(--teal); color: #fff; }

/* ── RESPONSIVE ───────────────────── */
@media (max-width: 900px) {
  .room-detail { grid-template-columns: 1fr; gap: 2rem; padding: 2rem 1rem; }
  .room-hero { height: 300px; }
  .room-hero-title { font-size: 1.8rem; bottom: 2.5rem; left: 1.5rem; }
  .other-rooms-grid { grid-template-columns: 1fr; }
  .features-row { grid-template-columns: 1fr; }
}

/* ── ROOM BOOKING SIDEBAR CARD ────────────────────── */
.room-booking-card {
  background: #ffffff;
  border: 1px solid #e5e9ec;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(10, 34, 64, 0.08);
  margin-top: 1.8rem;
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}
.room-booking-card:hover {
  box-shadow: 0 14px 40px rgba(10, 34, 64, 0.12);
}
.rb-header {
  background: linear-gradient(135deg, var(--navy, #0f2b46) 0%, #1a3d5e 100%);
  color: #ffffff;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--teal, #008080);
}
.rb-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0;
  color: #ffffff;
}
.rb-badge {
  background: rgba(255, 255, 255, 0.16);
  color: #d6e8f5;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.rb-form {
  padding: 1.4rem 1.5rem 1.5rem;
}
.rb-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-bottom: 1rem;
}
.rb-group {
  display: flex;
  flex-direction: column;
}
.rb-group label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #667085;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.rb-group label svg {
  color: var(--teal, #008080);
}
.rb-group input,
.rb-group select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid #d0d5dd;
  border-radius: 5px;
  font-family: inherit;
  font-size: 0.85rem;
  color: #1d2939;
  background-color: #fcfcfd;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.rb-group input:focus,
.rb-group select:focus {
  outline: none;
  border-color: var(--teal, #008080);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.15);
}
.rb-btn-submit {
  width: 100%;
  background: #1a2436;
  color: #ffffff;
  border: none;
  padding: 0.9rem 1.4rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 1.1rem;
  transition: background 0.2s ease, transform 0.15s ease;
  box-shadow: 0 4px 12px rgba(176, 141, 87, 0.35);
}
.rb-btn-submit:hover {
  background: #1e5f5b;
  transform: translateY(-1px);
}
.rb-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px dashed #e4e7ec;
  font-size: 0.72rem;
  color: #667085;
}
.rb-guarantee svg {
  color: #12b76a;
  flex-shrink: 0;
}

/* Room Detail Notice Box */
.room-policies-box {
  background: #fdfbf7;
  border: 1px solid #eadbc8;
  border-left: 4px solid #b89b5e;
  border-radius: 6px;
  padding: 1rem 1.2rem;
  margin: 1.8rem 0 1rem;
}
.room-policies-box .rpb-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1a2436;
  margin-bottom: 0.5rem;
}
.room-policies-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.room-policies-box li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: #4b5563;
  line-height: 1.4;
}
.room-policies-box li .rpb-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fde8e8;
  color: #c53030;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.room-policies-box li .rpb-icon svg {
  width: 12px;
  height: 12px;
}

[dir="rtl"] .room-policies-box {
  border-left: 1px solid #eadbc8;
  border-right: 4px solid #b89b5e;
  text-align: right;
}


