/* =========================================
   RESIDENCE PAGE STYLES
   ========================================= */

/* PAGE HERO */
.page-hero {
  padding: clamp(var(--space-16), 10vw, var(--space-32)) var(--space-8);
  text-align: center;
}
.page-hero-inner { max-width: var(--content-narrow); margin: 0 auto; }
.page-hero-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 300;
  color: #F6F4EF;
  margin-top: var(--space-3);
  letter-spacing: 0.02em;
}

/* ROOM SECTIONS — alternating split layout */
.room-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 65vh;
}
.room-section--reverse { direction: rtl; }
.room-section--reverse > * { direction: ltr; }

.room-images { overflow: hidden; }
.room-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(var(--space-12), 6vw, var(--space-24)) clamp(var(--space-8), 5vw, var(--space-20));
  background: var(--color-surface);
}
.room-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 300;
  color: var(--color-dark);
  margin-bottom: var(--space-5);
}
.room-body {
  color: var(--color-text-muted);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: var(--space-8);
  font-size: var(--text-sm);
}
.room-specs {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--color-divider);
}
.room-specs li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-divider);
  font-size: var(--text-xs);
  font-weight: 300;
  gap: var(--space-4);
}
.room-specs li span:first-child {
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.room-specs li span:last-child {
  color: var(--color-text);
  text-align: right;
  font-weight: 400;
}

/* SLIDER */
.room-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--color-dark);
}
.room-slider-track {
  display: flex;
  height: 100%;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
.room-slide {
  min-width: 100%;
  height: 100%;
  flex-shrink: 0;
}
.room-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  background: oklch(0.1 0 0 / 0.45);
  color: #F6F4EF;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid oklch(1 0 0 / 0.2);
  backdrop-filter: blur(6px);
  transition: background var(--transition);
  z-index: 2;
}
.slider-btn:hover { background: oklch(0.1 0 0 / 0.65); }
.slider-prev { left: var(--space-4); }
.slider-next { right: var(--space-4); }
.slider-dots {
  position: absolute;
  bottom: var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-2);
}
.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: oklch(1 0 0 / 0.4);
  transition: background var(--transition);
}
.dot.active { background: #F6F4EF; }

@media (max-width: 800px) {
  .room-section { grid-template-columns: 1fr; direction: ltr; }
  .room-section--reverse { direction: ltr; }
  .room-images { min-height: 300px; }
  .room-slider { min-height: 300px; }
}

/* ADDITIONAL FEATURES GRID */
.features-grid {
  padding: clamp(var(--space-20), 10vw, var(--space-32)) var(--space-8);
  background: var(--color-bg);
}
.features-grid-inner { max-width: var(--content-default); margin: 0 auto; }
.features-grid-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-dark);
  text-align: center;
  margin-bottom: var(--space-12);
}
.features-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-divider);
}
.feature-card {
  background: var(--color-surface);
  padding: var(--space-10) var(--space-8);
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--color-dark);
  margin-bottom: var(--space-3);
}
.feature-card p {
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.7;
}
@media (max-width: 900px) {
  .features-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .features-cards { grid-template-columns: 1fr; }
}

/* INQUIRE CTA */
.inquire-cta {
  background: var(--color-dark);
  padding: clamp(var(--space-16), 8vw, var(--space-24)) var(--space-8);
  text-align: center;
}
.inquire-cta-inner { max-width: var(--content-narrow); margin: 0 auto; }
.inquire-cta h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: #F6F4EF;
  font-weight: 300;
  margin-bottom: var(--space-4);
}
.inquire-cta p {
  color: var(--color-taupe-light);
  font-weight: 300;
  font-size: var(--text-sm);
  margin-bottom: var(--space-8);
}
.inquire-cta .text-cta { color: #F6F4EF; border-bottom-color: oklch(1 0 0 / 0.4); }
.inquire-cta .text-cta:hover { color: #F6F4EF; border-bottom-color: #F6F4EF; }
