/* Marula Hill Guesthouse — hospitality concept. Warm print-editorial read:
   cream stock, terracotta ink, italic serif display, hairline rules instead
   of boxed cards, photos inset like plates in a magazine rather than
   full-bleed banners. Deliberately unlike SiteMzansi's own dark pill-button
   agency look and unlike the other two concepts (no sticky blurred nav, no
   filled block buttons, no side-by-side hero grid). */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;1,9..144,500&display=swap');

:root {
  --bg: #f8f4ec;
  --bg-raised: #efe8d9;
  --text: #241f16;
  --text-dim: #5c5445;
  --accent: #b6553a;
  --accent-ink: #fbf3ec;
  --border: #00000018;
  --rule: #00000030;
  --max: 1120px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
}

h1, h2 { font-family: var(--serif); font-weight: 600; margin: 0; line-height: 1.08; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
p { margin: 0; color: var(--text-dim); }
/* height:auto is required here — without it, the width/height HTML
   attributes on <img> map to literal CSS width/height presentational
   hints, and since nothing else declares 'height', that hint's raw pixel
   value wins even after max-width or aspect-ratio shrink the width,
   stretching every image out of proportion. */
img { max-width: 100%; width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.topbar {
  background: var(--text);
  color: var(--bg);
  text-align: center;
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  letter-spacing: 0.01em;
}
.topbar a { text-decoration: underline; }

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.6rem;
  border-radius: 2px;
  border: 1.5px solid var(--text);
  cursor: pointer;
  background: none;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.btn:hover { background: var(--text); color: var(--bg); }
.btn--primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn--primary:hover { background: var(--text); border-color: var(--text); color: var(--bg); }
.btn--lg { padding: 0.95rem 2rem; font-size: 1.1rem; }

.nav {
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
}
/* Three-zone nav — links / centered brand / CTA — rather than the
   brand-left, links-right bar used on the trade concept. */
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.35rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}
.nav__brand { grid-column: 2; justify-self: center; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.3rem; white-space: nowrap; }
.nav__links { grid-column: 1; justify-self: start; display: flex; gap: 2rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }
.nav__links a { padding-bottom: 4px; border-bottom: 1px solid transparent; }
.nav__links a:hover { border-color: var(--accent); color: var(--accent); }
.nav__inner .btn { grid-column: 3; justify-self: end; }
@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__inner { grid-template-columns: 1fr auto; }
  .nav__brand { grid-column: 1; justify-self: start; }
  .nav__inner .btn { grid-column: 2; }
}

/* Hero: centered, type-led, then a single inset "plate" photo below —
   structurally unlike the full-bleed image-with-scrim hero used elsewhere
   on this domain. */
.hero {
  max-width: 760px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 1rem;
  text-align: center;
}
.hero .eyebrow {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 1rem;
}
.hero h1 { max-width: 18ch; margin: 0 auto; }
.hero p { margin: 1.5rem auto 0; max-width: 46ch; font-size: 1.08rem; }
.hero .btn { margin-top: 2rem; }

.hero__plate {
  max-width: 640px;
  margin: 3.5rem auto 0;
  padding: 0.9rem 0.9rem 1.5rem;
  background: var(--bg-raised);
  border: 1px solid var(--border);
}
.hero__plate img { aspect-ratio: 16/10; object-fit: cover; }
.hero__plate figcaption {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  font-style: italic;
  font-family: var(--serif);
  color: var(--text-dim);
}

.amenities {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.amenities__item { display: flex; flex-direction: column; gap: 0.3rem; text-align: center; }
.amenities__num { font-family: var(--serif); font-style: italic; font-size: 1.8rem; color: var(--accent); }
.amenities__item span:last-child { font-size: 0.85rem; color: var(--text-dim); }
@media (max-width: 700px) { .amenities { grid-template-columns: 1fr 1fr; } }

.rooms { max-width: var(--max); margin: 0 auto; padding: 5rem 1.5rem; }
.rooms__intro { max-width: 60ch; margin-top: 0.75rem; margin-bottom: 3rem; }
.rooms__intro a { color: var(--accent); border-bottom: 1px solid var(--accent); }
/* align-items: start avoids the default grid stretch, which would
   otherwise pad the shorter column's figure out to match the taller
   one and leave a dead gap below its caption. */
.rooms__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.75rem; align-items: start; }
.rooms__item { margin: 0; }
.rooms__item img { border-radius: 2px; }
.rooms__item--wide img { aspect-ratio: 4/3; object-fit: cover; }
.rooms__item:not(.rooms__item--wide) img { aspect-ratio: 3/4; object-fit: cover; }
.rooms__item figcaption { margin-top: 0.9rem; font-size: 0.9rem; font-style: italic; font-family: var(--serif); color: var(--text-dim); }
@media (max-width: 760px) { .rooms__grid { grid-template-columns: 1fr; } }

.book { background: var(--bg-raised); border-top: 1px solid var(--rule); }
.book__inner { max-width: 480px; margin: 0 auto; padding: 5rem 1.5rem; }
.book__inner p { margin-top: 0.6rem; margin-bottom: 2.25rem; }
.book__form { display: flex; flex-direction: column; gap: 1.25rem; }
.book__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: 0.8rem; font-weight: 600; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.03em; }
.field input, .field select {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0.75rem 0.9rem;
  color: var(--text);
  font-size: 0.98rem;
  font-family: inherit;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); }
.book__note { font-size: 0.82rem; color: var(--text-dim); margin-top: 0.25rem; }
.book__estimate {
  margin: -0.5rem 0 0;
  padding: 0.85rem 1rem;
  background: var(--bg);
  border-left: 2px solid var(--accent);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--text);
}

/* ---------- Reviews ---------- */
.reviews { max-width: var(--max); margin: 0 auto; padding: 1rem 1.5rem 5.5rem; text-align: center; }
.reviews .eyebrow { display: inline-block; font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 1rem; margin-bottom: 0.5rem; }
.reviews__summary { margin-top: 0.75rem; margin-bottom: 3rem; font-size: 1rem; }
.reviews__summary strong { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 1.2rem; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; text-align: left; }
.reviews__item { margin: 0; padding-left: 1.25rem; border-left: 2px solid var(--accent); position: relative; }
.reviews__item::before {
  content: '\201C';
  position: absolute;
  left: -0.1em;
  top: -0.6rem;
  font-family: var(--serif);
  font-size: 2.25rem;
  color: var(--accent);
  line-height: 1;
}
.reviews__item p { font-family: var(--serif); font-size: 1.05rem; color: var(--text); font-style: italic; }
.reviews__item cite { display: block; margin-top: 0.85rem; font-size: 0.82rem; color: var(--text-dim); font-style: normal; }
@media (max-width: 760px) { .reviews__grid { grid-template-columns: 1fr; gap: 2rem; } }

.page-intro { max-width: var(--max); margin: 0 auto; padding: 4rem 1.5rem 1rem; text-align: center; }
.page-intro .eyebrow { display: block; font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 1rem; margin-bottom: 0.75rem; }
.page-intro p { max-width: 56ch; margin: 0.75rem auto 0; font-size: 1.05rem; }

.room-list { max-width: var(--max); margin: 0 auto; padding: 3rem 1.5rem 5rem; display: flex; flex-direction: column; gap: 3rem; }
.room-card { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.5rem; align-items: center; padding-bottom: 3rem; border-bottom: 1px solid var(--rule); }
.room-card:nth-child(even) { direction: rtl; }
.room-card:nth-child(even) > * { direction: ltr; }
.room-card img { border-radius: 2px; aspect-ratio: 4/3; object-fit: cover; }
.room-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.room-card__price { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--accent); white-space: nowrap; }
.room-card__price span { font-size: 0.75rem; color: var(--text-dim); font-family: inherit; font-style: normal; }
.room-card__body p { margin-top: 0.6rem; }
.room-card__desc { max-width: 48ch; }
.room-card .btn { margin-top: 1.5rem; }
@media (max-width: 760px) { .room-card, .room-card:nth-child(even) { grid-template-columns: 1fr; direction: ltr; } }

.gallery-grid { max-width: var(--max); margin: 0 auto; padding: 2rem 1.5rem 5rem; column-count: 3; column-gap: 1.5rem; }
.gallery-grid figure { margin: 0 0 1.5rem; break-inside: avoid; }
.gallery-grid img { border-radius: 2px; }
@media (max-width: 900px) { .gallery-grid { column-count: 2; } }
@media (max-width: 560px) { .gallery-grid { column-count: 1; } }

.gallery-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
}
.gallery-trigger img { transition: transform 0.4s var(--ease), filter 0.4s var(--ease); }
.gallery-trigger:hover img { transform: scale(1.02); filter: brightness(0.92); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20, 16, 10, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: 90vw; max-height: 85vh; border-radius: 2px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(247,243,234,0.4);
  background: none;
  color: var(--bg);
  color: #fbf3ec;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox__close:hover { border-color: var(--accent); color: var(--accent); }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(247,243,234,0.4);
  background: none;
  color: #fbf3ec;
  font-size: 1.3rem;
  cursor: pointer;
}
.lightbox__nav:hover { border-color: var(--accent); color: var(--accent); }
.lightbox__nav--prev { left: 1.5rem; }
.lightbox__nav--next { right: 1.5rem; }
.lightbox__count {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.9rem;
  color: rgba(247,243,234,0.75);
}
@media (max-width: 600px) { .lightbox__nav { width: 40px; height: 40px; } .lightbox__nav--prev { left: 0.5rem; } .lightbox__nav--next { right: 0.5rem; } }

.book__confirm { max-width: 480px; margin: 0 auto; padding: 5rem 1.5rem; font-size: 1.1rem; font-family: var(--serif); font-style: italic; }

/* ---------- Journal ---------- */
.journal-list { max-width: var(--max); margin: 0 auto; padding: 3rem 1.5rem 5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.journal-card--wide { grid-column: span 2; }
.journal-card a { display: block; }
.journal-card img { border-radius: 2px; aspect-ratio: 16/10; object-fit: cover; }
.journal-card--wide img { aspect-ratio: 21/9; }
.journal-card__body { padding-top: 1.1rem; }
.journal-card__date { display: block; font-family: var(--serif); font-style: italic; font-size: 0.85rem; color: var(--accent); margin-bottom: 0.4rem; }
.journal-card__body h2 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.journal-card--wide .journal-card__body h2 { font-size: 1.7rem; }
.journal-card__body p { max-width: 56ch; }
.journal-card__more { display: inline-block; margin-top: 0.9rem; font-family: var(--serif); font-style: italic; color: var(--accent); border-bottom: 1px solid var(--accent); }
.journal-card__more--soon { color: var(--text-dim); border-bottom: 1px solid var(--rule); }
@media (max-width: 760px) { .journal-list { grid-template-columns: 1fr; } .journal-card--wide { grid-column: span 1; } }

/* ---------- Journal post ---------- */
.post { max-width: 720px; margin: 0 auto; padding: 3.5rem 1.5rem 5rem; }
.post__breadcrumb { margin-bottom: 1.5rem; }
.post__breadcrumb a { color: var(--accent); font-size: 0.9rem; }
.post__header h1 { margin-top: 0.5rem; }
.post__lede { margin-top: 1.25rem; font-size: 1.15rem; max-width: 56ch; }
.post__figure { margin: 2.5rem 0; }
.post__figure img { border-radius: 2px; }
.post__body { display: flex; flex-direction: column; gap: 1.25rem; }
.post__body h2 { font-size: 1.4rem; margin-top: 0.75rem; }
.post__body p { font-size: 1.05rem; max-width: 66ch; }
.post__footer { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--rule); }

.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.25rem 1.5rem;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-dim);
  font-size: 0.9rem;
}
