/* ══════════════════════════════════════════════════════════════════
   /het-huis PAGE — custom layout for property detail
   ══════════════════════════════════════════════════════════════════ */

/* Page header — property stats under title */
.page-header--house {
  padding-bottom: clamp(24px, 3vw, 40px);
}

.property-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(24px, 4vw, 40px);
}
.property-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.property-stat__val {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  line-height: 1;
  color: var(--terra);
  font-feature-settings: 'lnum';
  font-variant-numeric: tabular-nums;
}
.property-stat__val small {
  font-size: 0.55em;
  margin-left: 2px;
  color: rgba(28, 20, 17, 0.55);
}
.property-stat__lbl {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(28, 20, 17, 0.55);
}

/* ── HERO PHOTO — single natural-aspect signature shot ───────── */
.hero-photo {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 32px);
  position: relative;
}
.hero-photo__link {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  cursor: zoom-in;
  background: rgba(28, 20, 17, 0.04);
}
.hero-photo__link img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s var(--ease-out);
}
.hero-photo__link:hover img { transform: scale(1.015); }

.hero-photo__all-btn {
  position: absolute;
  bottom: 20px;
  right: clamp(28px, 5vw, 48px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: #fff;
  color: var(--dark);
  border: 1px solid rgba(28, 20, 17, 0.15);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}
.hero-photo__all-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

@media (max-width: 560px) {
  .hero-photo__all-btn { bottom: 14px; right: 28px; padding: 10px 14px; font-size: 0.75rem; gap: 6px; }
}

/* ── ROOMS — tour of the house ───────────────────────────────── */
.rooms {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 64px);
}
.rooms__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(40px, 5vw, 64px);
}
.rooms__intro {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(28, 20, 17, 0.65);
  margin-top: 16px;
}

.rooms__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(24px, 3vw, 40px);
}
.room {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(28, 20, 17, 0.06);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.room:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(28, 20, 17, 0.06);
}
.room__photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.room__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.room:hover .room__photo img { transform: scale(1.04); }

.room__body {
  padding: clamp(20px, 2.5vw, 28px);
}
.room__num {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--terra);
  font-weight: 600;
  margin: 0 0 8px;
}
.room__name {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: 400;
  color: var(--dark);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.room__desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(28, 20, 17, 0.7);
  margin: 0;
}

/* ── MASONRY GALLERY ─────────────────────────────────────────── */
.photo-masonry {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 64px);
}
.photo-masonry__header {
  text-align: center;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.masonry {
  column-count: 3;
  column-gap: 12px;
}
.masonry__item {
  display: block;
  margin: 0 0 12px;
  break-inside: avoid;
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
  transition: transform 0.4s var(--ease-out);
}
.masonry__item img {
  width: 100%;
  display: block;
  transition: filter 0.3s;
}
.masonry__item:hover img { filter: brightness(1.04) saturate(1.1); }

@media (max-width: 900px) { .masonry { column-count: 2; } }
@media (max-width: 560px) { .masonry { column-count: 1; } }

/* ── FACILITIES ─────────────────────────────────────────────── */
.facilities {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 64px);
}
.facilities__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(32px, 4vw, 56px);
}
.facilities__intro {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(28, 20, 17, 0.65);
  margin-top: 16px;
}

.facilities__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 3vw, 40px);
}

.facility-cat {
  padding: clamp(20px, 2.5vw, 28px) clamp(20px, 2.5vw, 28px) clamp(24px, 3vw, 32px);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(28, 20, 17, 0.06);
  border-radius: 14px;
  transition: background 0.3s var(--ease-out);
}
.facility-cat:hover {
  background: rgba(255, 255, 255, 0.85);
}

.facility-cat__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(197, 104, 60, 0.18);
}
.facility-cat__icon {
  color: var(--terra);
  flex-shrink: 0;
}
.facility-cat__title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--dark);
  margin: 0;
  letter-spacing: -0.005em;
}

.facility-cat ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.facility-cat li {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(28, 20, 17, 0.75);
  padding: 6px 0 6px 18px;
  position: relative;
}
.facility-cat li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terra);
  opacity: 0.45;
}

/* ── LAYOUT DIAGRAM ──────────────────────────────────────────── */
.layout-section {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 64px);
}
.layout-section__header { text-align: center; margin-bottom: clamp(32px, 4vw, 56px); }

.layout-section__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 60px);
  align-items: center;
}
@media (max-width: 760px) {
  .layout-section__body { grid-template-columns: 1fr; gap: 32px; }
}

.layout-diagram {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(197, 104, 60, 0.15);
  border-radius: 18px;
}
.layout-floor {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.layout-floor__name {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--terra);
  font-weight: 600;
  margin: 0;
}
.layout-rooms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.layout-room {
  padding: 18px 10px;
  background: rgba(197, 104, 60, 0.08);
  border: 1px solid rgba(197, 104, 60, 0.2);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--dark);
  text-align: center;
  line-height: 1.35;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
}
.layout-room--lg {
  grid-column: span 2;
  background: rgba(197, 104, 60, 0.15);
  border-color: rgba(197, 104, 60, 0.3);
  font-weight: 500;
}
.layout-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(28, 20, 17, 0.15), transparent);
}

.layout-notes p {
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.75;
  color: rgba(28, 20, 17, 0.75);
  margin: 0 0 18px;
}
.layout-notes p:last-child { margin-bottom: 0; }
.layout-notes strong { color: var(--dark); font-weight: 500; }
.layout-notes__ps {
  font-style: italic;
  padding-top: 16px;
  border-top: 1px solid rgba(28, 20, 17, 0.08);
  color: rgba(28, 20, 17, 0.58) !important;
  font-size: 0.9rem !important;
}

/* ── LIGHTBOX ───────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 6, 4, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 4vw, 40px);
}
.lightbox.is-open { display: flex; animation: lightbox-in 0.25s var(--ease-out); }
@keyframes lightbox-in { from { opacity: 0; } to { opacity: 1; } }

.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  animation: lightbox-img-in 0.3s var(--ease-out);
}
@keyframes lightbox-img-in { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.3rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  backdrop-filter: blur(12px);
}
.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.08);
}
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev  { left: 20px; }
.lightbox__next  { right: 20px; }
.lightbox__counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 560px) {
  .lightbox__prev { left: 12px; }
  .lightbox__next { right: 12px; }
  .lightbox__close { top: 14px; right: 14px; }
}
