/* ============================================================
   Therato Guest House — design replica (static, no functionality)
   ============================================================ */

:root {
  --gold: #b07a3d;
  --gold-light: #c89b5a;
  --gold-dark: #97662f;
  --gold-grad: linear-gradient(135deg, #c08a3e 0%, #a06f2e 100%);
  --cream: #f6f3ee;
  --cream-2: #efeae1;
  --ink: #262320;
  --ink-soft: #3a3631;
  --muted: #726c64;
  --line: #e4ddd1;
  --dark: #1b1916;
  --olive: #34332a;
  --white: #ffffff;
  --shadow: 0 12px 34px rgba(40, 33, 24, 0.10);
  --shadow-sm: 0 6px 18px rgba(40, 33, 24, 0.08);
  --radius: 6px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 26px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn-gold {
  background: var(--gold-grad);
  color: #fff;
  box-shadow: 0 8px 20px rgba(160, 111, 46, 0.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(160, 111, 46, 0.45); }
.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.55);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.22); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--gold-dark);
  border: 1.5px solid var(--gold);
}
.btn-outline:hover { background: var(--gold); color: #fff; }
.btn-block { width: 100%; justify-content: center; }
.btn:disabled, .btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}
.demo-note {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.demo-note i { color: var(--gold); }

/* ---------- Section headings ---------- */
.eyebrow {
  text-align: center;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 700;
  text-align: center;
  color: var(--ink);
  line-height: 1.2;
}
.title-rule {
  width: 64px; height: 3px;
  background: var(--gold-grad);
  margin: 18px auto 0;
  border-radius: 3px;
}
.italic-accent {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #fff 0%, #fdf4e6 40%, #f4c77a 70%, #d98a3a 100%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  flex-shrink: 0;
}
.brand-logo::before {
  content: "";
  position: absolute;
  left: 50%; top: 26%;
  transform: translateX(-50%);
  width: 16px; height: 26px;
  background: #c2531f;
  border-radius: 50% 50% 6px 6px / 70% 70% 6px 6px;
}
.brand-logo::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 38%;
  background: linear-gradient(#e98a2c, #b5601c);
}
.brand-text { line-height: 1.12; display: flex; flex-direction: column; }
.brand-text .name {
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: #fff;
}
.brand-text .name .accent { color: var(--gold-light); }
.brand-text .tag {
  display: block;
  font-style: italic;
  font-size: 0.64rem;
  color: var(--gold-light);
  letter-spacing: 0.05em;
  margin-top: 2px;
}
/* On light sections the header brand uses dark text — handled inline where needed */

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(20,16,10,0.82) 0%, rgba(20,16,10,0.45) 55%, rgba(20,16,10,0.25) 100%),
    url("https://images.unsplash.com/photo-1566073771259-6a8506099945?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
  padding: 120px 0 130px;
}
.hero-inner { max-width: 640px; }
.hero .eyebrow {
  text-align: left;
  color: var(--gold-light);
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  line-height: 1.08;
  margin-bottom: 20px;
}
.hero h1 .italic-accent { color: var(--gold-light); display: block; }
.hero p {
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 30px;
  color: rgba(255,255,255,0.92);
}
.hero p .hl { color: var(--gold-light); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Hero feature bar ---------- */
.feature-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(40, 39, 30, 0.92);
  border-top: 2px solid var(--gold);
}
.feature-bar .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.feature {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f1ece2;
  flex: 1 1 0;
  min-width: 150px;
}
.feature i { color: var(--gold-light); font-size: 1.25rem; width: 26px; text-align: center; }
.feature .f-title { font-size: 0.82rem; font-weight: 600; }
.feature .f-sub { font-size: 0.7rem; color: #b7b0a3; }

/* ============================================================
   Accommodation
   ============================================================ */
.section { padding: 84px 0; }
.accommodation { background: var(--cream); }
.rooms {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 46px;
}
.room-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.room-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.room-img { height: 150px; background-size: cover; background-position: center; }
.room-body { padding: 16px 16px 20px; display: flex; flex-direction: column; flex: 1; }
.room-body h3 { font-family: var(--serif); font-size: 1.1rem; margin-bottom: 4px; }
.room-body .room-desc { font-size: 0.82rem; color: var(--muted); margin-bottom: 14px; }
.room-meta { font-size: 0.78rem; color: var(--ink-soft); display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.room-meta span { display: flex; align-items: center; gap: 8px; }
.room-meta i { color: var(--gold); width: 16px; }
.room-card .btn { margin-top: auto; }

/* ============================================================
   Split feature sections (Business / Conference / Discover)
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.split-text { padding: 70px clamp(24px, 5vw, 80px); display: flex; flex-direction: column; justify-content: center; }
.split-media { background-size: cover; background-position: center; min-height: 420px; }
.split h2 { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.15; }
.split h2 .italic-accent { display: block; font-size: 0.78em; margin-top: 4px; }
.split .lead { margin: 18px 0 24px; font-size: 0.96rem; max-width: 420px; }
.check-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; }
.check-list li { display: flex; align-items: center; gap: 12px; font-size: 0.92rem; }
.check-list i { color: var(--gold); font-size: 0.85rem; }

/* Business (dark) */
.business { background: var(--dark); color: #efe9df; }
.business .split-text { color: #efe9df; }
.business .lead { color: #c4bcae; }
.business .italic-accent { color: var(--gold-light); }

/* Conference (light) */
.conference { background: var(--cream-2); }
.conference .lead { color: var(--muted); }

/* Discover (light) — media is a 2x2 grid */
.discover { background: var(--cream); }
.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
  gap: 6px;
  min-height: 420px;
}
.media-grid div { background-size: cover; background-position: center; }
.discover .lead { color: var(--muted); }

/* ============================================================
   Testimonials
   ============================================================ */
.reviews { background: var(--cream-2); }
.reviews-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr 1fr 1fr;
  gap: 22px;
  align-items: stretch;
  margin-top: 44px;
}
.rating-box { display: flex; flex-direction: column; justify-content: center; }
.rating-box .gr { font-size: 0.82rem; color: var(--muted); letter-spacing: 0.05em; }
.rating-box .score { font-family: var(--serif); font-size: 3.4rem; font-weight: 700; line-height: 1; color: var(--ink); }
.rating-box .stars { color: var(--gold); font-size: 1.05rem; margin: 8px 0 6px; letter-spacing: 2px; }
.rating-box .based { font-size: 0.8rem; color: var(--muted); margin-bottom: 20px; }
.review-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.review-card .quote-mark { font-family: var(--serif); font-size: 2.6rem; color: var(--gold-light); line-height: 0.6; margin-bottom: 14px; }
.review-card p { font-size: 0.9rem; color: var(--ink-soft); font-style: italic; margin-bottom: 20px; flex: 1; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer .avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--gold-grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 0.95rem;
}
.reviewer .who { font-size: 0.85rem; }
.reviewer .who strong { display: block; }
.reviewer .who span { color: var(--muted); font-size: 0.78rem; }

/* ============================================================
   Plan Your Stay (booking form)
   ============================================================ */
.plan { background: var(--cream); }
.plan .section-title { text-align: left; }
.plan .plan-sub { text-align: left; margin: 6px 0 26px; }
.booking-form {
  display: grid;
  grid-template-columns: 1fr 1fr 0.7fr 0.7fr auto;
  gap: 16px;
  align-items: end;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}
.field input, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--ink);
  background: #fdfbf8;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); }

/* ============================================================
   Get In Touch
   ============================================================ */
.contact { background: var(--cream-2); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  align-items: start;
}
.contact-col h2 { font-family: var(--serif); font-size: 2rem; margin-bottom: 4px; }
.contact-col .sub { color: var(--gold); font-style: italic; margin-bottom: 24px; }
.contact-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 24px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 0.9rem; }
.contact-list i {
  color: var(--gold); font-size: 1rem; margin-top: 3px;
  width: 20px; text-align: center;
}
.socials { display: flex; gap: 12px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft); transition: all 0.18s ease;
}
.socials a:hover { background: var(--gold); color: #fff; border-color: var(--gold); transform: translateY(-2px); }
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 340px;
  background:
    linear-gradient(rgba(176,122,61,0.06), rgba(176,122,61,0.06)),
    url("https://maps.googleapis.com/maps/api/staticmap?center=Bothasig,Cape+Town&zoom=13&size=600x400&maptype=roadmap") center/cover;
  position: relative;
}
.map-embed .pin {
  position: absolute; top: 44%; left: 50%; transform: translate(-50%,-100%);
  color: var(--gold-dark); font-size: 2rem;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}
.map-fallback {
  position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center;
  background: linear-gradient(135deg,#e9e2d4,#d8cdb8); color:#7a7060; gap:8px;
}
.message-form { display: flex; flex-direction: column; gap: 14px; }
.message-form h3 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 4px; }
.message-form input, .message-form textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.9rem;
  background: #fff;
}
.message-form textarea { min-height: 96px; resize: vertical; }
.message-form input:focus, .message-form textarea:focus { outline: none; border-color: var(--gold); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--dark); color: #d8d1c5; padding: 28px 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
  align-items: center;
}
.footer-copy { font-size: 0.82rem; color: #b3ac9f; }
.footer-item { display: flex; align-items: center; gap: 12px; }
.footer-item i { color: var(--gold-light); font-size: 1.2rem; }
.footer-item .fi-title { font-size: 0.85rem; font-weight: 600; color: #efe9df; }
.footer-item .fi-sub { font-size: 0.72rem; color: #9c958a; }

/* ---------- Floating WhatsApp ---------- */
.fab-whatsapp {
  position: fixed;
  bottom: 22px; right: 22px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 8px 22px rgba(37,211,102,0.5);
  z-index: 80;
  transition: transform 0.18s ease;
}
.fab-whatsapp:hover { transform: scale(1.08); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1000px) {
  .rooms { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .rating-box { grid-column: 1 / -1; align-items: center; text-align: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .booking-form { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; }
  .split-media, .media-grid { min-height: 280px; order: -1; }
  .feature-bar { position: static; }
  .hero { min-height: auto; }
  .rooms { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .booking-form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-item { justify-content: center; }
}
