/* ============================================================
   SkyCity — Hotel rooms styles (room.css)
   Loaded globally via _Layout.cshtml, AFTER site.css.

   Page/feature-scoped block extracted from site.css. Covers the
   Hotel Rooms landing header (.sc-rooms-landing*) and the Hotel
   Room detail page (.sc-room-*), including the Grand brand
   overrides (which resolve --hotel-* tokens from the brand
   stylesheet loaded later) and the responsive collapse blocks.

   Static file: plain @media only (never @@media).
   ============================================================ */

/* ── Rooms landing header ────────────────────────────────── */
.sc-rooms-landing-header { padding-bottom: 2rem; }
.sc-rooms-landing__title { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 800; margin-bottom: 1rem; }
.sc-rooms-landing__intro { font-size: 1.0625rem; line-height: 1.75; color: rgba(0,0,0,.65); max-width: 900px; margin-bottom: 1.5rem; }
.sc-hotel-brand--grand .sc-rooms-landing__title { color: var(--hotel-text); }
.sc-hotel-brand--grand .sc-rooms-landing__intro { color: var(--hotel-text-muted); }

/* ==========================================================
   HOTEL ROOM PAGE
   ========================================================== */

.sc-room-gallery {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: 3px;
	height: 480px;
	overflow: hidden;
}

.sc-room-gallery__hero { grid-row: 1 / 3; overflow: hidden; }
.sc-room-gallery__hero-img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; transition: transform 0.4s ease; }

.sc-room-gallery__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 3px;
}

.sc-room-gallery__thumb { overflow: hidden; position: relative; cursor: pointer; }
.sc-room-gallery__thumb-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.sc-room-gallery__more { position: absolute; inset: 0; background: rgba(0,0,0,.52); color: #fff; font-weight: 700; font-size: 1.25rem; display: flex; align-items: center; justify-content: center; letter-spacing: .03em; }
.sc-room-gallery__hero, .sc-room-gallery__thumb { display: block; text-decoration: none; color: inherit; }
.sc-room-gallery__hero:focus-visible, .sc-room-gallery__thumb:focus-visible { outline: 3px solid var(--sc-gold); outline-offset: -3px; }

.sc-room-overview { padding: 3rem 0; }
.sc-room-overview__inner { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: start; }
.sc-room-overview__title { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; margin-bottom: 1rem; color: var(--sc-text); }
.sc-room-overview__desc { font-size: 1.0625rem; line-height: 1.7; color: rgba(0,0,0,.65); margin-bottom: 1.5rem; }

.sc-room-amenities { display: grid; grid-template-columns: repeat(2, 1fr); gap: .625rem 1.5rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(0,0,0,.1); }
.sc-room-amenities__item { display: flex; align-items: center; gap: .625rem; font-size: .9375rem; color: var(--sc-text); }
.sc-room-amenities__icon { font-size: 20px; color: var(--sc-gold); flex-shrink: 0; }

.sc-room-sidebar { background: #f8f8f6; border: 1px solid rgba(0,0,0,.08); border-radius: var(--sc-radius-card); padding: 1.75rem; position: sticky; top: calc(var(--sc-nav-height) + 48px + 1rem); }
.sc-room-sidebar__price { display: flex; align-items: baseline; gap: .375rem; margin-bottom: 1.25rem; border-bottom: 1px solid rgba(0,0,0,.08); }
.sc-room-sidebar__price-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(0,0,0,.45); }
.sc-room-sidebar__price-amount { font-size: 1.75rem; font-weight: 800; color: var(--sc-text); }
.sc-room-sidebar__price-night { font-size: .8125rem; color: rgba(0,0,0,.45); }
.sc-room-sidebar__facts { margin: 1.25rem 0; border-top: 1px solid rgba(0,0,0,.08); padding-top: 1.25rem; }
.sc-room-sidebar__fact { display: flex; justify-content: space-between; align-items: baseline; padding: .5rem 0; border-bottom: 1px solid rgba(0,0,0,.06); font-size: .9375rem; }
.sc-room-sidebar__fact dt { color: rgba(0,0,0,.5); font-weight: 500; }
.sc-room-sidebar__fact dd { color: var(--sc-text); font-weight: 600; text-align: right; }
.sc-room-sidebar__book-btn { width: 100%; text-align: center; margin-top: 1.25rem; display: block; }

.sc-room-hotel-section .sc-section__title { font-size: 1.25rem; margin-bottom: 1.5rem; }
.sc-room-hotel-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: .875rem 2rem; }
.sc-room-hotel-item { display: flex; align-items: flex-start; gap: .625rem; }
.sc-room-hotel-item__icon { font-size: 20px; color: var(--sc-gold); flex-shrink: 0; margin-top: 1px; }
.sc-room-hotel-item__text { display: flex; flex-direction: column; gap: .125rem; }
.sc-room-hotel-item__title { font-size: .9375rem; font-weight: 600; color: var(--sc-text); }
.sc-room-hotel-item__desc { font-size: .875rem; color: rgba(0,0,0,.55); }

.sc-room-back { padding: 1.5rem 0; border-top: 1px solid rgba(0,0,0,.08); }
.sc-room-back__link { display: inline-flex; align-items: center; gap: .375rem; color: var(--sc-text); font-weight: 600; font-size: .9375rem; text-decoration: none; transition: color .2s; }
.sc-room-back__link:hover { color: var(--sc-gold); }
.sc-room-back .material-symbols-outlined { font-size: 18px; }

.sc-hotel-brand--grand .sc-room-overview__title { color: var(--hotel-text); }
.sc-hotel-brand--grand .sc-room-overview__desc { color: var(--hotel-text-muted); }
.sc-hotel-brand--grand .sc-room-amenities__label { color: var(--hotel-text); }
.sc-hotel-brand--grand .sc-room-sidebar { background: var(--hotel-card-bg); border-color: var(--hotel-card-border); }
.sc-hotel-brand--grand .sc-room-sidebar__price-amount { color: var(--hotel-text); }
.sc-hotel-brand--grand .sc-room-sidebar__price-night { color: var(--hotel-text-muted); }
.sc-hotel-brand--grand .sc-room-sidebar__fact dt { color: var(--hotel-text-muted); }
.sc-hotel-brand--grand .sc-room-sidebar__fact dd { color: var(--hotel-text); }
.sc-hotel-brand--grand .sc-room-sidebar__fact { border-bottom-color: var(--hotel-divider); }
.sc-hotel-brand--grand .sc-room-sidebar__facts { border-top-color: var(--hotel-divider); }
.sc-hotel-brand--grand .sc-room-hotel-item__title { color: var(--hotel-text); }
.sc-hotel-brand--grand .sc-room-hotel-item__desc { color: var(--hotel-text-muted); }
.sc-hotel-brand--grand .sc-room-back__link { color: var(--hotel-text); }
.sc-hotel-brand--grand .sc-room-back__link:hover { color: var(--hotel-primary); }
.sc-hotel-brand--grand .sc-room-back { border-top-color: var(--hotel-divider); }
.sc-hotel-brand--grand .sc-room-amenities { border-top-color: var(--hotel-divider); }

@media (max-width: 1024px) {
	.sc-room-overview__inner { grid-template-columns: 1fr; }
	.sc-room-sidebar { position: static; }
	.sc-room-gallery { height: 360px; }
}

@media (max-width: 768px) {
	.sc-room-gallery { grid-template-columns: 1fr; height: auto; }
	.sc-room-gallery__hero { grid-row: auto; height: 280px; }
	.sc-room-gallery__grid { display: none; }
	.sc-room-amenities { grid-template-columns: 1fr; }
	.sc-room-hotel-items { grid-template-columns: 1fr; }
}

/* ============================================================
   IMAGE-LINK HOVER — REMOVED (Hotel room gallery, 2026-07-03 / 2026-08-07)
   🔴 The room gallery images have NO hover treatment. The 2026-07-03 pass
   replaced the zoom with an `opacity: .85` fade, which MASKED the zoom
   rather than removing it — both were DELETED at source 2026-08-07 (Adam).
   Focus outlines on the gallery link wrappers are unchanged and remain the
   keyboard cue. Nothing replaces the hover effect; do not add one back.
   📖 docs/LESSONS.md §L7 — an override masks a rule, it does not remove it.
   ============================================================ */
