/* ══════════════════════════════════════
   ROOMS PAGE  (css/rooms.css)
   ══════════════════════════════════════ */

/* ── PAGE HERO ── */
.page-hero {
  background: var(--deep);
  color: white;
  padding: 64px 0 56px;
}
.page-hero .section-label { color: #7DD8CC; }
.page-hero-title {
  font-size: 48px;
  font-weight: 700;
  color: white;
  margin-bottom: 14px;
  line-height: 1.15;
}
.page-hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
  max-width: 580px;
  line-height: 1.7;
}

/* ── DIRECT NUDGE ── */
.direct-nudge {
  background: rgba(42,127,114,0.08);
  border-bottom: 1px solid rgba(42,127,114,0.15);
  padding: 14px 0;
}
.direct-nudge-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-dark);
}
.direct-nudge-inner strong { color: var(--teal); }

/* ── CATEGORY DIVIDER ── */
.cat-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.cat-divider::before,
.cat-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(200,184,154,0.4);
}
.cat-divider-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-mid);
  white-space: nowrap;
}

/* ── WIDE ROOM CARD (private) ── */
.room-wide-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  background: white;
  border-radius: var(--radius-lg);
  border: 2px solid var(--gold);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.room-wide-illo {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}
.room-illo-private { background: linear-gradient(160deg, #4A3020 0%, #7A5A3A 60%, #3A2010 100%); }
.room-illo-dorm-teal   { background: linear-gradient(160deg, #1A3040 0%, #2A5A72 70%, #162838 100%); }
.room-illo-dorm-green  { background: linear-gradient(160deg, #1A3A2A 0%, #2A5A3A 70%, #0F2818 100%); }
.room-illo-dorm-navy   { background: linear-gradient(160deg, #1E2A3A 0%, #2E4060 70%, #141E2C 100%); }
.room-illo-dorm-purple { background: linear-gradient(160deg, #2A1A3A 0%, #4A2A6A 70%, #1A0F28 100%); }

/* Subtle texture overlay on all illos */
.room-wide-illo::after,
.room-illo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 30 Q15 0 30 30 Q45 60 60 30' stroke='%23ffffff06' stroke-width='1' fill='none'/%3E%3C/svg%3E");
}

.room-tag-bottom {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(220,50,50,0.85);
  color: white;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 500;
  z-index: 1;
}

.room-wide-body {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
}

.room-name { font-size: 22px; font-weight: 700; color: var(--deep); margin-bottom: 8px; line-height: 1.3; }
.room-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-mid); margin-bottom: 10px; flex-wrap: wrap; }

.pill { padding: 3px 10px; border-radius: 20px; font-weight: 500; font-size: 11px; }
.pill-teal  { background: rgba(42,127,114,0.10); color: var(--teal); }
.pill-gold  { background: rgba(200,144,42,0.10); color: var(--gold); }
.pill-green { background: rgba(42,127,60,0.10);  color: #2A7F3C; }

.room-desc-long {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 20px;
  flex: 1;
}

.room-features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}
.room-features li {
  font-size: 13px;
  color: var(--text-mid);
}

.room-footer-wide {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.room-price-big { font-size: 28px; font-weight: 500; color: var(--teal); line-height: 1; }
.room-price-big span { font-size: 14px; color: var(--text-mid); font-weight: 300; }
.room-price-note { font-size: 12px; color: var(--text-mid); margin-top: 4px; }

/* ── DORMS GRID ── */
.dorms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.dorm-card .room-illo { height: 180px; position: relative; overflow: hidden; }
.dorm-card .room-body { padding: 20px 22px 24px; }
.dorm-card .room-desc { font-size: 13px; color: var(--text-mid); line-height: 1.65; margin-bottom: 18px; }
.dorm-card .room-footer { display: flex; align-items: flex-end; justify-content: space-between; }
.dorm-card .room-price { font-size: 22px; font-weight: 500; color: var(--teal); }
.dorm-card .room-price span { font-size: 12px; color: var(--text-mid); font-weight: 300; }

.room-tag {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 500;
  z-index: 1;
}
.room-tag-teal { background: var(--teal); color: white; }
.room-tag-gold { background: var(--gold); color: white; }
.room-tag-dark { background: rgba(26,40,50,0.78); color: white; }

/* ── POLICIES ── */
.policies-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.policy-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
}
.policy-icon { font-size: 28px; margin-bottom: 12px; }
.policy-card h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--deep);
  margin-bottom: 8px;
}
.policy-card p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .room-wide-card { grid-template-columns: 1fr; }
  .room-wide-illo { min-height: 200px; }
  .dorms-grid { grid-template-columns: 1fr; }
  .policies-grid { grid-template-columns: repeat(2, 1fr); }
  .room-features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .page-hero-title { font-size: 32px; }
  .policies-grid { grid-template-columns: 1fr; }
  .room-wide-body { padding: 24px 20px; }
}
