/* ============================================
   ROOMS PAGE — Boutique Visual Alignment
   ============================================ */

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--font-ui);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  opacity: 0;
  transition: opacity 0.35s ease-out;
}
body.page-loaded {
  opacity: 1;
}

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: background 0.3s;
}
.site-header .wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.site-brand img { width: 32px; height: 32px; }
.site-brand-name {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.2px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.15s;
}
.site-nav a:hover { background: var(--surface-hover); }
.nav-cta {
  background: var(--primary-dark) !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 8px 18px !important;
}
.nav-cta:hover { opacity: 0.9; background: var(--primary-dark) !important; }

/* Mobile hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
}
.menu-toggle svg { width: 24px; height: 24px; }

/* ---------- HERO ---------- */
.rooms-hero {
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 64px;
}
.rooms-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.rooms-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.rooms-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.35) 40%,
    rgba(0,0,0,0.08) 70%,
    rgba(0,0,0,0) 100%
  );
}
.rooms-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  padding: 64px 32px;
  width: 100%;
}
.rooms-hero-inner {
  max-width: 560px;
}
.rooms-hero h1 {
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 600;
  line-height: 1.12;
  color: #fff;
  margin: 0;
  letter-spacing: -0.02em;
}
.rooms-hero-sub {
  font-size: clamp(15px, 1.8vw, 18px);
  color: rgba(255,255,255,0.88);
  margin: 18px 0 0;
  line-height: 1.55;
  max-width: 44ch;
}
.rooms-hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Hero buttons — reuse homepage style */
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: var(--primary-dark);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-hero-primary:hover {
  transform: translateY(-1px);
  background: #2e7a50;
  box-shadow: 0 4px 16px rgba(55,140,92,0.35);
}
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.55);
}

/* ---------- SECTIONS ---------- */
.section {
  padding: 100px 24px;
}
.section .wrap {
  max-width: 1320px;
  margin: 0 auto;
}
.section--divided {
  border-top: 1px solid rgba(0,0,0,0.06);
}
.section-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-dark);
  margin: 0 0 12px;
}
.section-heading {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
}
.section-subtext {
  font-size: 17px;
  color: var(--text-light);
  margin: 16px 0 0;
  max-width: 60ch;
  line-height: 1.65;
}
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- AMENITIES ---------- */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.amenity-item {
  text-align: center;
}
.amenity-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #edf8f1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--primary-dark);
}
.amenity-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}
.amenity-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

/* ---------- ROOM GRID ---------- */
.room-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.room-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.room-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.10);
}
.room-card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: pointer;
}
.room-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.room-card:hover .room-card-img img {
  transform: scale(1.04);
}
.room-card-body {
  padding: 20px 22px 24px;
}
.room-card-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}
.room-card-variant {
  font-size: 13px;
  color: var(--text-lighter, #959da5);
  margin: 2px 0 0;
  font-weight: 500;
}
.room-card-desc {
  font-size: 13px;
  color: var(--text-lighter, #959da5);
  line-height: 1.45;
  margin: 6px 0 0;
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  transition: opacity 0.2s ease;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  padding: 8px;
  transition: color 0.15s;
  z-index: 1;
}
.lightbox-close:hover { color: #fff; }
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  z-index: 1;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

@media (max-width: 520px) {
  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
  }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-close { top: 12px; right: 14px; font-size: 30px; }
}

/* ---------- CTA ---------- */
.cta-section {
  text-align: center;
  padding: 120px 24px;
  background: var(--primary-light);
}
.cta-section .wrap {
  max-width: 640px;
  margin: 0 auto;
}
.cta-heading {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.01em;
}
.cta-text {
  font-size: 17px;
  color: var(--text-light);
  margin: 16px 0 0;
  line-height: 1.6;
}
.cta-actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-cta--primary {
  background: var(--primary-dark);
  color: #fff;
  border: none;
}
.btn-cta--primary:hover {
  transform: translateY(-1px);
  background: #2e7a50;
  box-shadow: 0 4px 16px rgba(55,140,92,0.3);
}
.btn-cta--secondary {
  background: #fff;
  color: var(--primary-dark);
  border: 1px solid var(--primary-dark);
}
.btn-cta--secondary:hover {
  background: #f0faf3;
  border-color: #2e7a50;
  transform: translateY(-1px);
}
.cta-reassurance {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--text-lighter, #959da5);
  letter-spacing: 0.1px;
}

/* ---------- FOOTER ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  font-size: 13px;
  color: var(--text-light);
}
.site-footer .wrap {
  max-width: 1320px;
  margin: 0 auto;
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--primary-dark); text-decoration: underline; }
.footer-sep { opacity: 0.4; }
.footer-acknowledgement {
  margin-top: 20px;
  font-size: 12px;
  color: var(--text-lighter, #999);
  text-align: center;
  max-width: 80ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.footer-directory {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-lighter, #999);
  text-align: center;
  line-height: 1.6;
}
.footer-directory a {
  color: var(--text-light);
  text-decoration: none;
}
.footer-directory a:hover { text-decoration: underline; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .site-nav { display: none; }
  .site-nav.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: #fff;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 99;
    gap: 4px;
  }
  .site-nav.is-open a {
    padding: 12px 16px;
    font-size: 16px;
    border-radius: 8px;
  }
  .menu-toggle { display: block; }

  .rooms-hero { min-height: 40vh; }
  .rooms-hero h1 { font-size: 28px; }
  .rooms-hero-content { padding: 40px 24px; }

  .amenities-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .room-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  .section { padding: 72px 20px; }
  .cta-section { padding: 80px 20px; }
}

@media (max-width: 520px) {
  .amenities-grid { grid-template-columns: 1fr 1fr; }
  .room-grid { grid-template-columns: 1fr; }
  .rooms-hero-actions { flex-direction: column; }
  .rooms-hero-actions a { text-align: center; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}
