/* ==========================================================
   room-single.css — Individual Room Detail Page
   The Mount View Castle Hotels & Resorts
   ========================================================== */

/* ----------------------------------------------------------
   1. ROOM HERO / MAIN IMAGE GALLERY
   ---------------------------------------------------------- */
.room-gallery-section {
  background: var(--green-dark, #102c25);
  padding: 0;
}

.room-main-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background: #111;
}

.room-main-img-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.room-main-img-wrap:hover img { transform: scale(1.02); }

/* Price badge over image */
.room-price-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gold, #c99b37);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 40px;
  box-shadow: 0 4px 14px rgba(0,0,0,.3);
  z-index: 3;
  letter-spacing: .3px;
}

.room-price-badge span { font-size: 13px; font-weight: 400; opacity: .9; }

/* Thumbnail strip */
.room-thumbs {
  display: flex;
  gap: 10px;
  padding: 12px 0 4px;
  flex-wrap: wrap;
}

.room-thumb {
  width: 100px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2.5px solid transparent;
  transition: border-color .2s, transform .2s;
  flex-shrink: 0;
}

.room-thumb:hover { transform: scale(1.04); }
.room-thumb.active { border-color: var(--gold, #c99b37); }

@media (max-width: 767.98px) {
  .room-main-img-wrap img { height: 260px; }
  .room-thumb { width: 74px; height: 54px; }
}

/* ----------------------------------------------------------
   2. ROOM MAIN CONTENT AREA
   ---------------------------------------------------------- */
.room-single-section {
  background: var(--cream, #fffaf2);
  padding: 42px 0 72px;
}

/* Room type badge pill */
.room-type-pill {
  display: inline-block;
  background: var(--gold, #c99b37);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 40px;
  letter-spacing: .4px;
  margin-bottom: 14px;
}

/* Room title */
.room-single-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 36px);
  color: var(--green-primary, #173f35);
  margin-bottom: 14px;
}

/* Quick stats row */
.room-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(0,0,0,.1);
}

.room-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  color: var(--text-muted, #5a5a5a);
}

.room-stat i { font-size: 18px; color: var(--gold, #c99b37); }

/* ----------------------------------------------------------
   3. TAB NAVIGATION  (vertical sidebar within main col)
   ---------------------------------------------------------- */
.room-tab-wrap {
  display: flex;
  gap: 0;
  background: #fff;
  border-radius: var(--r-lg, 22px);
  box-shadow: 0 4px 16px rgba(0,0,0,.07);
  overflow: hidden;
}

/* Left tab nav */
.room-tab-nav {
  min-width: 185px;
  width: 185px;
  border-right: 1px solid rgba(0,0,0,.08);
  flex-shrink: 0;
  padding: 8px 0;
}

.room-tab-nav .nav-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark, #2b2b2b);
  border: none;
  border-radius: 0;
  background: transparent;
  border-bottom: 1px solid rgba(0,0,0,.07);
  transition: color .2s, background .2s;
  cursor: pointer;
}

.room-tab-nav .nav-link:last-child { border-bottom: none; }

.room-tab-nav .nav-link:hover {
  color: var(--gold, #c99b37);
  background: rgba(201,155,55,.05);
}

.room-tab-nav .nav-link.active {
  color: var(--gold, #c99b37);
  font-weight: 700;
  background: rgba(201,155,55,.06);
  border-right: 3px solid var(--gold, #c99b37);
}

/* Right tab content */
.room-tab-content {
  flex: 1;
  padding: 26px 28px;
  min-height: 280px;
}

.room-tab-pane { display: none; }
.room-tab-pane.active { display: block; }

.room-tab-content h4 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--green-primary, #173f35);
  margin-bottom: 16px;
  font-weight: 700;
}

.room-tab-content p {
  font-size: 15px;
  color: var(--text-muted, #5a5a5a);
  line-height: 1.82;
  margin-bottom: 14px;
}

/* Amenity tags */
.amenity-tags { display: flex; flex-wrap: wrap; gap: 10px; }

.amenity-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1.5px solid rgba(0,0,0,.13);
  border-radius: 8px;
  padding: 9px 16px;
  font-size: 14px;
  color: var(--text-dark, #2b2b2b);
  background: #fff;
  transition: border-color .2s, color .2s, background .2s;
}

.amenity-tag:hover {
  border-color: var(--gold, #c99b37);
  color: var(--gold, #c99b37);
  background: rgba(201,155,55,.05);
}

.amenity-tag i { font-size: 16px; color: var(--gold, #c99b37); }

/* Review empty state */
.review-empty {
  background: #f4f8f5;
  border-radius: 10px;
  padding: 32px;
  text-align: center;
  margin-bottom: 20px;
}

.review-empty p { font-size: 15px; font-weight: 600; color: var(--text-muted, #5a5a5a); margin: 0; }

.review-login-prompt { font-size: 15px; color: var(--text-dark, #2b2b2b); margin-top: 4px; }
.review-login-prompt a { color: #1a73e8; font-weight: 600; text-decoration: none; }
.review-login-prompt a:hover { text-decoration: underline; }

/* Review card (for when reviews exist) */
.review-card {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 14px;
  border-left: 3px solid var(--gold, #c99b37);
}
.review-card .reviewer { font-weight: 700; color: var(--green-primary, #173f35); font-size: 15px; }
.review-card .review-date { font-size: 12px; color: #999; margin-left: 8px; }
.review-card .stars { color: var(--gold, #c99b37); font-size: 14px; margin: 4px 0; }
.review-card .review-text { font-size: 14px; color: var(--text-muted, #5a5a5a); margin: 0; }

/* Cancellation policy */
.cancel-policy-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: #c0392b;
  margin-bottom: 20px;
}

.cancel-policy-list { list-style: none; padding: 0; }
.cancel-policy-list li {
  padding: 10px 0 10px 20px;
  position: relative;
  font-size: 14.5px;
  color: var(--text-dark, #2b2b2b);
  border-bottom: 1px solid rgba(0,0,0,.06);
  line-height: 1.7;
}
.cancel-policy-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--gold, #c99b37);
  font-size: 16px;
}
.cancel-policy-list li:last-child { border-bottom: none; }
.cancel-policy-list li strong { color: var(--green-primary, #173f35); }

/* Terms & Conditions list */
.tnc-title { font-size: 18px; font-weight: 700; color: var(--text-dark, #2b2b2b); margin-bottom: 18px; }
.tnc-list { list-style: none; padding: 0; }
.tnc-list li {
  padding: 10px 0 10px 20px;
  position: relative;
  font-size: 14px;
  color: var(--text-muted, #5a5a5a);
  border-bottom: 1px solid rgba(0,0,0,.06);
  line-height: 1.72;
}
.tnc-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--gold, #c99b37);
  font-size: 16px;
}
.tnc-list li:last-child { border-bottom: none; }

@media (max-width: 767.98px) {
  .room-tab-wrap { flex-direction: column; }
  .room-tab-nav {
    width: 100%;
    min-width: auto;
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,.08);
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    overflow-x: auto;
  }
  .room-tab-nav .nav-link {
    border-bottom: none;
    border-right: 1px solid rgba(0,0,0,.07);
    flex-shrink: 0;
    font-size: 13px;
    padding: 10px 14px;
  }
  .room-tab-nav .nav-link.active { border-right: 1px solid rgba(0,0,0,.07); border-bottom: 3px solid var(--gold, #c99b37); }
  .room-tab-content { padding: 20px 16px; }
}

/* ----------------------------------------------------------
   4. BOOKING SIDEBAR
   ---------------------------------------------------------- */
.booking-sidebar {
  position: sticky;
  top: 85px;
  z-index: 10;
}

.booking-widget {
  background: #fff;
  border-radius: var(--r-lg, 22px);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.13);
}

/* Price header */
.booking-price-header {
  background: var(--gold, #c99b37);
  color: #fff;
  padding: 18px 24px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.booking-price-header .price-amount {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}

.booking-price-header .price-label {
  font-size: 14px;
  opacity: .88;
}

/* Guest notice */
.booking-guest-notice {
  background: #fffbec;
  border: 1px solid rgba(201,155,55,.3);
  margin: 16px 16px 0;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text-muted, #5a5a5a);
  line-height: 1.6;
}

.booking-guest-notice a { color: #1a73e8; font-weight: 600; }

/* Booking form body */
.booking-form-body { padding: 16px; }

/* Field groups */
.booking-field {
  margin-bottom: 12px;
}

.booking-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--green-primary, #173f35);
  margin-bottom: 5px;
  letter-spacing: .3px;
}

.booking-input {
  display: block;
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  font-family: 'Lato', Arial, sans-serif;
  color: var(--text-dark, #2b2b2b);
  background: #fafafa;
  border: 1.5px solid rgba(0,0,0,.12);
  border-radius: 9px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
}

.booking-input:focus {
  border-color: var(--green-primary, #173f35);
  box-shadow: 0 0 0 3px rgba(23,63,53,.10);
  background: #fff;
}

.booking-input::placeholder { color: rgba(0,0,0,.35); font-size: 13px; }

select.booking-input {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23173f35' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 13px;
  padding-right: 36px;
  cursor: pointer;
}

/* Coupon row */
.coupon-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.coupon-row .booking-input { flex: 1; margin: 0; }

.btn-apply-coupon {
  background: var(--green-primary, #173f35);
  color: #fff;
  border: none;
  border-radius: 9px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
  font-family: 'Lato', Arial, sans-serif;
}

.btn-apply-coupon:hover { background: var(--gold, #c99b37); }

/* Nights stay notice */
.nights-note {
  font-size: 11.5px;
  color: #888;
  margin-top: 3px;
  display: block;
}

/* Price breakdown */
.price-breakdown {
  background: #f4f8f5;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 14px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  padding: 4px 0;
  color: var(--text-muted, #5a5a5a);
}

.price-row.total {
  border-top: 1px solid rgba(0,0,0,.12);
  margin-top: 8px;
  padding-top: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--green-primary, #173f35);
}

.price-row .label { font-weight: 500; }
.price-row .amount { font-weight: 600; }
.price-row.total .amount { color: var(--gold, #c99b37); font-size: 17px; }

/* Checkboxes */
.booking-checks { margin-bottom: 14px; }

.booking-check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 9px;
  font-size: 13px;
  color: var(--text-muted, #5a5a5a);
  line-height: 1.5;
}

.booking-check-item input[type="checkbox"] {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--green-primary, #173f35);
  flex-shrink: 0;
  cursor: pointer;
}

.booking-check-item a {
  color: var(--gold, #c99b37);
  font-weight: 600;
  text-decoration: none;
}

.booking-check-item a:hover { text-decoration: underline; }

/* Confirm button */
.btn-confirm-booking {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gold, #c99b37);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 15px 20px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .5px;
  cursor: pointer;
  text-transform: uppercase;
  transition: background .22s, transform .15s, box-shadow .22s;
  font-family: 'Lato', Arial, sans-serif;
}

.btn-confirm-booking:hover {
  background: #b8891e;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(201,155,55,.4);
}

.btn-confirm-booking i { font-size: 18px; }

/* ----------------------------------------------------------
   5. SIMILAR ROOMS SECTION
   ---------------------------------------------------------- */
.similar-rooms-section { background: var(--cream, #fffaf2); padding: 60px 0 75px; }

/* ----------------------------------------------------------
   6. RESPONSIVE
   ---------------------------------------------------------- */
@media (max-width: 991.98px) {
  .booking-sidebar { position: static; top: auto; margin-top: 36px; }
  .room-tab-nav { min-width: 140px; width: 140px; }
}

@media (max-width: 767.98px) {
  .room-single-section { padding: 28px 0 52px; }
  .booking-widget { margin-top: 28px; }
  .room-stats { gap: 12px; }
}
