
/* =========================================================
   ODERA DEVLABS HOTEL — ROOMS EXPERIENCE
   Premium motion layer built on the existing hotel system.
   ========================================================= */

.rooms-page {
  --room-ink: #0a0a09;
  --room-cream: #f3f0e8;
  --room-muted: #777269;
  --room-line: rgba(20,20,18,.13);
  background: var(--room-cream);
}

.active-nav { color: var(--gold) !important; }

.rooms-hero {
  height: min(930px, 100vh);
  min-height: 720px;
  position: relative;
  background: #111;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.rooms-hero-media,
.rooms-hero-shade,
.hero-image { position: absolute; inset: 0; }

.rooms-hero-media { overflow: hidden; }

.hero-image {
  background-size: cover;
  background-position: center;
}

.hero-image-back {
  background-image: url('https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=2400&q=92');
  filter: saturate(.72);
  transform: scale(1.12);
  animation: heroBreath 13s ease-in-out infinite alternate;
}

.hero-image-front {
  background-image: url('https://images.unsplash.com/photo-1618220179428-22790b461013?auto=format&fit=crop&w=2400&q=92');
  background-position: center;
  opacity: .52;
  mix-blend-mode: screen;
  transform: scale(1.06);
  animation: heroFloat 16s ease-in-out infinite alternate;
}

.rooms-hero-shade {
  background:
    linear-gradient(90deg, rgba(4,4,4,.82), rgba(4,4,4,.25) 58%, rgba(4,4,4,.08)),
    linear-gradient(0deg, rgba(4,4,4,.72), transparent 48%);
}

.rooms-hero-content {
  position: absolute;
  left: max(7vw, 72px);
  top: 51%;
  transform: translateY(-40%);
  max-width: 760px;
  z-index: 2;
}

.hero-kicker {
  display:flex;
  align-items:center;
  gap:13px;
  color:rgba(255,255,255,.72);
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.28em;
  margin-bottom:30px;
}

.hero-kicker i {
  display:block;
  width:42px;
  height:1px;
  background:var(--gold);
}

.rooms-hero h1 {
  font-family:var(--serif);
  font-size:clamp(72px,9.2vw,142px);
  font-weight:500;
  line-height:.78;
  letter-spacing:-.055em;
  margin-bottom:36px;
}

.rooms-hero h1 em,
.rooms-intro h2 em,
.collection-title-row h2 em,
.luxury-room h3 em,
.suite-feature h2 em,
.amenities h2 em,
.reserve-section h2 em {
  color:var(--gold-bright);
  font-style:italic;
  font-weight:400;
}

.rooms-hero-content > p {
  max-width:510px;
  color:rgba(255,255,255,.74);
  font-size:15px;
  line-height:1.9;
  margin-bottom:38px;
}

.hero-scroll {
  display:inline-flex;
  align-items:center;
  gap:22px;
  text-transform:uppercase;
  letter-spacing:.19em;
  font-size:10px;
  font-weight:600;
}

.hero-scroll b {
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.34);
  border-radius:50%;
  font-size:16px;
  font-weight:400;
  transition:.4s cubic-bezier(.22,1,.36,1);
}

.hero-scroll:hover b {
  background:var(--gold);
  border-color:var(--gold);
  color:#111;
  transform:translateY(5px);
}

.hero-index,
.hero-side-note {
  position:absolute;
  z-index:2;
  bottom:45px;
  text-transform:uppercase;
  letter-spacing:.2em;
  font-size:9px;
  color:rgba(255,255,255,.58);
}

.hero-index { left:max(7vw,72px); }
.hero-index span { color:var(--gold); margin:0 7px; }
.hero-side-note { right:6vw; line-height:2; text-align:right; }

.reveal-up {
  opacity:0;
  transform:translateY(34px);
  animation:revealUp .9s cubic-bezier(.22,1,.36,1) .45s forwards;
}
.reveal-up.delay-1 { animation-delay:.62s; }
.reveal-up.delay-2 { animation-delay:.78s; }
.reveal-up.delay-3 { animation-delay:.94s; }

.rooms-intro {
  padding:150px max(7vw,72px) 145px;
  background:#f8f5ee;
}

.rooms-intro-grid {
  display:grid;
  grid-template-columns:1.12fr .88fr;
  gap:12%;
  align-items:end;
  margin-top:55px;
}

.rooms-intro h2,
.collection-title-row h2,
.suite-feature h2,
.amenities h2,
.reserve-section h2 {
  font-family:var(--serif);
  font-size:clamp(58px,6.5vw,98px);
  font-weight:500;
  line-height:.84;
  letter-spacing:-.05em;
}

.intro-side { max-width:520px; }
.intro-side > p,
.collection-title-row > p,
.amenities-heading > p,
.suite-feature-copy > p:not(.eyebrow),
.reserve-content > p:not(.eyebrow) {
  color:#6f6b63;
  font-size:15px;
  line-height:1.95;
}

.intro-stats {
  display:flex;
  gap:32px;
  margin-top:42px;
  padding-top:25px;
  border-top:1px solid var(--room-line);
}

.intro-stats span {
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.13em;
  color:#817c73;
}
.intro-stats strong {
  display:block;
  font-family:var(--serif);
  font-size:29px;
  font-weight:500;
  color:#151513;
  margin-bottom:3px;
}

.room-collection { background:#f0ede5; }
.collection-head { padding-bottom:65px; }
.collection-title-row {
  display:grid;
  grid-template-columns:1fr .72fr;
  gap:12%;
  align-items:end;
  margin:50px 0 46px;
}
.collection-title-row > p { max-width:430px; }

.room-filters {
  display:flex;
  gap:0;
  border-bottom:1px solid var(--room-line);
}
.filter {
  position:relative;
  border:0;
  background:transparent;
  padding:14px 28px 15px 0;
  margin-right:30px;
  color:#89837a;
  text-transform:uppercase;
  letter-spacing:.17em;
  font-size:9px;
  cursor:pointer;
}
.filter:after {
  content:"";
  position:absolute;
  left:0;
  right:30px;
  bottom:-1px;
  height:1px;
  background:#111;
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .4s cubic-bezier(.22,1,.36,1);
}
.filter.active { color:#111; }
.filter.active:after { transform:scaleX(1); }

.room-list { overflow:hidden; }

.luxury-room {
  display:grid;
  grid-template-columns:1.16fr .84fr;
  min-height:720px;
  background:#f8f5ee;
}
.luxury-room.reverse { grid-template-columns:.84fr 1.16fr; }
.luxury-room.reverse .room-visual { order:2; }
.luxury-room.reverse .room-details { order:1; }

.room-visual {
  position:relative;
  min-height:720px;
  overflow:hidden;
  background:#151513;
}
.room-photo {
  position:absolute;
  inset:-2%;
  background-size:cover;
  background-position:center;
  transition:transform 1.2s cubic-bezier(.22,1,.36,1), filter 1.2s ease;
  will-change:transform;
}
.room-visual:after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.24),transparent 45%,rgba(0,0,0,.48));
  pointer-events:none;
}
.luxury-room:hover .room-photo {
  transform:scale(1.055);
  filter:saturate(1.04);
}

.room-no,
.room-category,
.room-view {
  position:absolute;
  z-index:2;
  color:#fff;
}
.room-no {
  top:31px; left:36px;
  font-size:10px;
  letter-spacing:.2em;
}
.room-category {
  top:31px; right:36px;
  font-size:9px;
  letter-spacing:.2em;
  text-transform:uppercase;
}
.room-view {
  left:36px; bottom:36px;
  border:1px solid rgba(255,255,255,.4);
  background:rgba(0,0,0,.14);
  backdrop-filter:blur(9px);
  padding:13px 18px;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:9px;
  cursor:pointer;
  transition:.4s cubic-bezier(.22,1,.36,1);
}
.room-view span { color:var(--gold-bright); font-size:14px; margin-left:14px; }
.room-view:hover {
  background:var(--gold);
  color:#111;
  border-color:var(--gold);
  transform:translateY(-4px);
}
.room-view:hover span { color:#111; }

.room-details {
  padding:clamp(55px,7vw,110px) clamp(35px,7vw,110px);
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.room-heading h3 {
  font-family:var(--serif);
  font-size:clamp(55px,5.5vw,83px);
  line-height:.82;
  font-weight:500;
  letter-spacing:-.05em;
}
.room-description {
  max-width:440px;
  color:#706b62;
  font-size:14px;
  line-height:1.9;
  margin:34px 0 31px;
}
.room-specs {
  display:flex;
  flex-wrap:wrap;
  gap:0;
  border-top:1px solid var(--room-line);
  border-bottom:1px solid var(--room-line);
  max-width:500px;
}
.room-specs span {
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:#777269;
  padding:15px 20px 15px 0;
  margin-right:20px;
  border-right:1px solid var(--room-line);
}
.room-specs span:last-child { border-right:0; }

.room-bottom {
  max-width:500px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-top:25px;
}
.room-bottom strong { font-size:15px; font-weight:500; }
.room-bottom small { font-size:9px; color:#89837a; font-weight:400; }
.room-bottom a {
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:9px;
  font-weight:600;
}
.room-bottom a span { color:var(--gold); font-size:16px; margin-left:12px; transition:.3s; }
.room-bottom a:hover span { margin-left:17px; }

.luxury-room.is-hidden {
  display:none;
}

.suite-feature {
  min-height:850px;
  display:grid;
  grid-template-columns:1fr 1fr;
  background:#0a0a09;
  color:#fff;
}
.suite-feature-image {
  min-height:850px;
  background:
    linear-gradient(180deg,rgba(0,0,0,.06),rgba(0,0,0,.34)),
    url('https://images.unsplash.com/photo-1600607688969-a5bfcd646154?auto=format&fit=crop&w=1800&q=90') center/cover;
  transform:scale(1.03);
  transition:transform 1.4s cubic-bezier(.22,1,.36,1);
}
.suite-feature:hover .suite-feature-image { transform:scale(1); }
.suite-feature-copy {
  padding:120px max(7vw,60px);
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.suite-feature h2 { margin:42px 0 30px; }
.suite-feature-copy > p:not(.eyebrow) { color:rgba(255,255,255,.58); max-width:500px; }

.feature-points {
  margin-top:55px;
  border-top:1px solid rgba(255,255,255,.13);
  max-width:520px;
}
.feature-points > div {
  display:grid;
  grid-template-columns:44px 1fr;
  padding:21px 0;
  border-bottom:1px solid rgba(255,255,255,.13);
}
.feature-points span {
  color:var(--gold);
  font-size:9px;
  letter-spacing:.16em;
}
.feature-points strong { font-size:12px; font-weight:500; letter-spacing:.04em; }
.feature-points small {
  grid-column:2;
  color:rgba(255,255,255,.44);
  font-size:11px;
  margin-top:4px;
}

.amenities { background:#f8f5ee; }
.amenities-heading {
  display:grid;
  grid-template-columns:1fr .72fr;
  gap:12%;
  align-items:end;
  margin:48px 0 70px;
}
.amenities-heading > p { max-width:420px; }
.amenity-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border-top:1px solid var(--room-line);
}
.amenity {
  min-height:280px;
  padding:29px 27px 20px 0;
  border-right:1px solid var(--room-line);
  margin-right:27px;
  position:relative;
}
.amenity:last-child { border-right:0; margin-right:0; }
.amenity > span {
  font-size:9px;
  color:#918a80;
  letter-spacing:.15em;
}
.amenity i {
  display:block;
  font-family:var(--serif);
  font-style:normal;
  color:var(--gold);
  font-size:32px;
  margin:30px 0 16px;
}
.amenity h4 { font-family:var(--serif); font-size:29px; font-weight:500; }
.amenity p { color:#79746b; font-size:11px; line-height:1.8; margin-top:7px; max-width:220px; }

.reserve-section {
  min-height:720px;
  position:relative;
  display:grid;
  place-items:center;
  text-align:center;
  color:#fff;
  overflow:hidden;
}
.reserve-bg {
  position:absolute; inset:-4%;
  background:url('https://images.unsplash.com/photo-1540541338287-41700207dee6?auto=format&fit=crop&w=2400&q=92') center/cover;
  transform:scale(1.06);
  transition:transform 1.8s cubic-bezier(.22,1,.36,1);
}
.reserve-section:hover .reserve-bg { transform:scale(1); }
.reserve-overlay { position:absolute; inset:0; background:rgba(5,5,5,.62); }
.reserve-content { position:relative; z-index:2; padding:70px 20px; }
.reserve-section h2 { font-size:clamp(70px,8vw,120px); margin:30px 0; }
.reserve-content > p:not(.eyebrow) { color:rgba(255,255,255,.68); max-width:450px; margin:0 auto 30px; }
.gold-button {
  display:inline-flex;
  align-items:center;
  gap:20px;
  padding:16px 21px;
  background:var(--gold);
  color:#111;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:9px;
  font-weight:700;
  transition:.4s cubic-bezier(.22,1,.36,1);
}
.gold-button span { font-size:17px; transition:transform .3s; }
.gold-button:hover { background:var(--gold-bright); transform:translateY(-3px); box-shadow:0 14px 35px rgba(0,0,0,.22); }
.gold-button:hover span { transform:translateX(5px); }

/* Modal */
.room-modal {
  position:fixed;
  inset:0;
  z-index:5000;
  display:grid;
  place-items:center;
  padding:30px;
  visibility:hidden;
  opacity:0;
  transition:opacity .4s ease, visibility .4s;
}
.room-modal.open { visibility:visible; opacity:1; }
.modal-backdrop { position:absolute; inset:0; background:rgba(0,0,0,.74); backdrop-filter:blur(8px); }
.modal-panel {
  position:relative;
  z-index:1;
  width:min(1050px,94vw);
  max-height:90vh;
  overflow:auto;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  background:#f8f5ee;
  color:#111;
  transform:translateY(35px) scale(.97);
  transition:transform .65s cubic-bezier(.22,1,.36,1);
  box-shadow:0 30px 100px rgba(0,0,0,.35);
}
.room-modal.open .modal-panel { transform:none; }
.modal-image { min-height:600px; background-size:cover; background-position:center; }
.modal-copy {
  padding:65px 55px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.modal-copy h2 {
  font-family:var(--serif);
  font-size:64px;
  line-height:.85;
  font-weight:500;
  margin:16px 0 25px;
}
.modal-copy > p:not(.eyebrow) { color:#6f6a61; font-size:13px; line-height:1.9; }
.modal-specs { display:flex; flex-wrap:wrap; gap:8px; margin:27px 0 30px; }
.modal-specs span {
  border:1px solid var(--room-line);
  padding:9px 11px;
  font-size:8px;
  text-transform:uppercase;
  letter-spacing:.12em;
}
.modal-close {
  position:absolute;
  z-index:3;
  right:16px; top:16px;
  width:42px; height:42px;
  border:1px solid rgba(0,0,0,.18);
  border-radius:50%;
  background:rgba(248,245,238,.82);
  font-size:25px;
  line-height:1;
  cursor:pointer;
  transition:.3s;
}
.modal-close:hover { background:#111; color:#fff; transform:rotate(90deg); }

body.modal-open { overflow:hidden; }

@keyframes heroBreath { to { transform:scale(1.03) translate3d(-1%,1%,0); } }
@keyframes heroFloat { to { transform:scale(1.12) translate3d(1.5%,-1%,0); } }
@keyframes revealUp { to { opacity:1; transform:none; } }

@media (max-width: 1050px) {
  .luxury-room,
  .luxury-room.reverse { grid-template-columns:1fr; }
  .luxury-room.reverse .room-visual,
  .luxury-room.reverse .room-details { order:initial; }
  .room-visual { min-height:580px; }
  .room-details { min-height:500px; }
  .amenity-grid { grid-template-columns:1fr 1fr; }
  .amenity:nth-child(2) { border-right:0; margin-right:0; }
  .amenity:nth-child(n+3) { border-top:1px solid var(--room-line); }
  .suite-feature { grid-template-columns:1fr; }
  .suite-feature-image { min-height:600px; }
}

@media (max-width: 760px) {
  .rooms-hero { min-height:700px; height:100svh; }
  .rooms-hero-content { left:25px; right:25px; top:52%; }
  .rooms-hero h1 { font-size:clamp(62px,18vw,100px); }
  .hero-kicker { font-size:8px; letter-spacing:.2em; }
  .hero-side-note { display:none; }
  .hero-index { left:25px; bottom:25px; }
  .rooms-intro { padding:95px 25px; }
  .rooms-intro-grid,
  .collection-title-row,
  .amenities-heading { grid-template-columns:1fr; gap:38px; }
  .rooms-intro h2,
  .collection-title-row h2,
  .suite-feature h2,
  .amenities h2 { font-size:60px; }
  .intro-stats { gap:16px; }
  .intro-stats span { font-size:7px; }
  .intro-stats strong { font-size:24px; }
  .section-pad { padding-left:25px; padding-right:25px; }
  .collection-head { padding-top:90px; padding-bottom:50px; }
  .room-filters { overflow:auto; white-space:nowrap; }
  .filter { padding-right:20px; margin-right:20px; }
  .room-visual { min-height:440px; }
  .room-details { min-height:480px; padding:65px 25px; }
  .room-heading h3 { font-size:59px; }
  .room-specs span { margin-right:10px; padding-right:10px; }
  .room-bottom { align-items:flex-start; gap:20px; flex-direction:column; }
  .suite-feature-copy { padding:90px 25px; }
  .suite-feature-image { min-height:480px; }
  .amenity-grid { grid-template-columns:1fr; }
  .amenity,
  .amenity:nth-child(2) { border-right:0; margin-right:0; border-top:1px solid var(--room-line); min-height:230px; }
  .amenity:first-child { border-top:0; }
  .reserve-section { min-height:620px; }
  .reserve-section h2 { font-size:74px; }
  .modal-panel { grid-template-columns:1fr; max-height:92vh; }
  .modal-image { min-height:300px; }
  .modal-copy { padding:45px 28px; }
  .modal-copy h2 { font-size:55px; }
}

.reveal, .reveal-room {
  opacity:0;
  transform:translateY(32px);
  transition:opacity .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1);
}
.reveal.visible, .reveal-room.visible { opacity:1; transform:none; }
.reveal-room:nth-child(2) { transition-delay:.08s; }
.reveal-room:nth-child(3) { transition-delay:.14s; }
.reveal-room:nth-child(4) { transition-delay:.20s; }

@keyframes roomFilterIn {
  from { opacity:0; transform:translateY(20px); }
  to { opacity:1; transform:none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior:auto !important;
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
  }
}
