/* ============ Damas Home — warm boutique theme ============ */
:root {
  --cream:      #f5efe4;   /* page background */
  --cream-2:    #ede4d4;   /* alt section / tint */
  --panel:      #fbf7ef;   /* card panels */
  --tan:        #e7dcc9;   /* quote band */
  --terra:      #c15f3c;   /* primary accent */
  --terra-dark: #a54d2e;
  --terra-soft: #f4ddd1;   /* terracotta chip bg */
  --teal:       #4d8a7d;   /* secondary accent (athletic) */
  --teal-soft:  #dcebe5;   /* teal chip bg */
  --ink:        #33291f;   /* headings */
  --body:       #6f6558;   /* muted body text */
  --dark:       #2a2118;   /* footer + cta band */
  --line:       rgba(51, 41, 31, 0.12);
  --radius:     22px;
  --radius-sm:  16px;
  --shadow:     0 24px 55px rgba(60, 42, 33, 0.10);
  --shadow-sm:  0 12px 30px rgba(60, 42, 33, 0.08);
  --display: "Fraunces", Georgia, serif;
  --sans: "Figtree", -apple-system, BlinkMacSystemFont, 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.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
section[id] { scroll-margin-top: 84px; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.12; color: var(--ink); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.4em; }
h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); }
h4 { font-size: 1.35rem; }
em { font-style: italic; color: var(--terra); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 26px; }
.section { padding: 110px 0; }
.section-cream { background: var(--cream-2); }
.center-head { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.light { color: var(--cream); }

/* Eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--terra); margin-bottom: 18px;
}
.eyebrow-teal { color: var(--teal); }
.eyebrow-terra { color: var(--terra); }
.eyebrow.light { color: #f0d9cb; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--terra); display: inline-block; }
.dot-teal { background: var(--teal); }
.dot-terra { background: var(--terra); }

.lead { font-size: 1.16rem; color: var(--body); max-width: 640px; }
.lead.center { margin: 0 auto; }
.hero-sub { font-size: 1.16rem; }

/* ============ Buttons ============ */
.btn {
  display: inline-block; padding: 15px 30px; border-radius: 999px;
  font-family: var(--sans); font-weight: 600; font-size: 0.95rem;
  text-decoration: none; transition: all 0.22s ease; cursor: pointer;
}
.btn-solid { background: var(--terra); color: #fff; box-shadow: 0 10px 24px rgba(193, 95, 60, 0.28); }
.btn-solid:hover { background: var(--terra-dark); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,0.6); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.14); }
.btn-outline { border: 1.5px solid var(--teal); color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: #fff; }
.btn-outline-terra { border-color: var(--terra); color: var(--terra); }
.btn-outline-terra:hover { background: var(--terra); color: #fff; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.center-head .actions { justify-content: center; }

/* ============ Chips ============ */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 28px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 15px; border-radius: 999px;
  font-size: 0.83rem; font-weight: 600; letter-spacing: 0.01em;
}
.chip-teal { background: var(--teal-soft); color: #35635a; }
.chip-terra { background: var(--terra-soft); color: #9c4529; }
.chip-dark {
  background: rgba(20, 14, 9, 0.42); color: #f3ece2;
  border: 1px solid rgba(255,255,255,0.18); backdrop-filter: blur(6px);
}

/* ============ Nav ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nav-inner {
  max-width: 1240px; margin: 0 auto; padding: 20px 30px;
  display: flex; align-items: center; gap: 24px;
}
.brand { font-family: var(--display); font-size: 1.5rem; font-weight: 500; color: #fff; text-decoration: none; transition: color 0.3s; }
.brand span { color: var(--terra); font-style: italic; }
.nav-links { display: flex; gap: 34px; margin: 0 auto; }
.nav-links a { color: rgba(255,255,255,0.9); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:hover { color: #fff; }
.nav-cta { padding: 11px 24px; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; color: #fff; cursor: pointer; }

.nav.scrolled { background: rgba(245, 239, 228, 0.94); backdrop-filter: blur(10px); box-shadow: 0 4px 20px rgba(60,42,33,0.08); }
.nav.scrolled .brand { color: var(--ink); }
.nav.scrolled .nav-links a { color: var(--body); }
.nav.scrolled .nav-links a:hover { color: var(--terra); }
.nav.scrolled .nav-toggle { color: var(--terra); }

/* ============ Hero ============ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-slideshow { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; will-change: opacity, transform; animation: heroKenBurns 24s infinite;
}
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 8s; }
.hero-slide:nth-child(3) { animation-delay: 16s; }
@keyframes heroKenBurns {
  0%   { opacity: 0; transform: scale(1.0); }
  4%   { opacity: 1; }
  30%  { opacity: 1; }
  35%  { opacity: 0; transform: scale(1.12); }
  100% { opacity: 0; transform: scale(1.0); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(28,18,11,0.78) 0%, rgba(28,18,11,0.45) 45%, rgba(28,18,11,0.12) 100%),
    linear-gradient(to top, rgba(28,18,11,0.55) 0%, rgba(28,18,11,0) 40%);
}
.hero-content { position: relative; max-width: 1240px; margin: 0 auto; padding: 0 30px; width: 100%; color: #fff; }
.hero-content h1 { color: #fff; margin-bottom: 22px; }
.hero-content h1 em { color: #eab08f; }
.hero-sub { max-width: 560px; color: #f0e6db; margin-bottom: 32px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* ============ The Stays ============ */
.stay {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  margin-bottom: 90px;
}
.stay:last-child { margin-bottom: 0; }
.stay-rev .stay-media { order: 2; }
.stay-rev .stay-body { order: 1; }
.stay-hero { width: 100%; height: 400px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); cursor: zoom-in; }
.stay-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.stay-thumbs img { height: 110px; width: 100%; object-fit: cover; border-radius: var(--radius-sm); cursor: zoom-in; transition: transform 0.25s, box-shadow 0.25s; }
.stay-thumbs img:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.stay-body h3 { margin-bottom: 16px; }
.stay-body > p { color: var(--body); font-size: 1.06rem; }
.stay-body .btn { margin-top: 2px; }

/* ============ Hosts ============ */
.hosts-hero { position: relative; margin-bottom: 40px; }
.hosts-hero .kenburns { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.hosts-hero .kenburns img { width: 100%; height: 460px; object-fit: cover; object-position: center 32%; will-change: transform; animation: kenBurns 22s ease-in-out infinite alternate; }
@keyframes kenBurns {
  0%   { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.1) translate(-1.5%, -1%); }
}
.photo-badge {
  position: absolute; left: 22px; bottom: 22px;
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(251, 247, 239, 0.92); backdrop-filter: blur(6px);
  padding: 10px 18px; border-radius: 999px;
  font-size: 0.85rem; font-weight: 600; color: var(--ink); box-shadow: var(--shadow-sm);
}

.host-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.host-card { background: var(--panel); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.host-card > img { width: 100%; height: 230px; object-fit: cover; cursor: zoom-in; }
.host-body { padding: 30px 32px 34px; }
.host-body h3 { margin-bottom: 14px; }
.host-body p { color: var(--body); }
.host-more { margin-top: 14px; }
.host-more p + p { margin-top: 14px; }
.read-more {
  display: inline-block;
  margin-top: 16px;
  padding: 0;
  border: none;
  background: none;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--teal);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  transition: color 0.2s ease;
}
.read-more:hover { color: var(--ink); }
.host-body .chips { margin-bottom: 0; }

/* Quote band */
.quote-band { background: var(--tan); margin-top: 80px; padding: 74px 0; }
.quote-inner { text-align: center; max-width: 780px; }
.stars { color: var(--terra); letter-spacing: 6px; font-size: 1.05rem; margin-bottom: 26px; }
.quote-band blockquote {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.4; color: var(--ink);
}
.quote-by { margin-top: 22px; font-size: 0.9rem; color: var(--body); letter-spacing: 0.02em; }

/* ============ The Grounds ============ */
.grounds-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 56px; }
.grounds-gallery img { width: 100%; height: 260px; object-fit: cover; border-radius: var(--radius-sm); cursor: zoom-in; transition: transform 0.25s; }
.grounds-gallery img:hover { transform: translateY(-3px); }
.grounds-gallery img:first-child { grid-row: span 1; }

.feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature { background: var(--panel); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.feature img { width: 100%; height: 200px; object-fit: cover; cursor: zoom-in; }
.feature-body { padding: 26px 28px 30px; }
.feature-body h4 { margin-bottom: 12px; }
.feature-body p { color: var(--body); font-size: 0.98rem; }

/* ============ Location ============ */
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.loc-text p { color: var(--body); margin-bottom: 24px; font-size: 1.06rem; }
.loc-list { list-style: none; }
.loc-list li { display: flex; justify-content: space-between; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line); }
.loc-list strong { font-weight: 600; }
.loc-list span { color: var(--terra); font-weight: 700; font-size: 0.92rem; }
.loc-map iframe { width: 100%; height: 400px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ============ CTA band ============ */
.cta-band { background: var(--dark); color: var(--cream); padding: 86px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { color: var(--cream); }
.cta-band h2 em { color: #eab08f; }
.cta-inner .actions { margin-top: 0; }

/* ============ Footer ============ */
.footer { background: #211a12; color: #b6a897; padding: 60px 0 44px; }
.footer .brand { color: var(--cream); font-size: 1.35rem; }
.footer .brand span { color: var(--terra); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; align-items: start; }
.footer-inner > div p { font-size: 0.92rem; margin-top: 12px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: #b6a897; text-decoration: none; font-size: 0.95rem; }
.footer-links a:hover { color: var(--terra); }
.footer-note { grid-column: 1 / -1; border-top: 1px solid rgba(182,168,151,0.2); padding-top: 22px; margin-top: 8px; font-size: 0.85rem; }

/* ============ Lightbox ============ */
.lightbox[hidden] { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(28, 18, 11, 0.92); display: flex; align-items: center; justify-content: center; padding: 4vw; }
.lightbox img { max-height: 90vh; max-width: 92vw; border-radius: 10px; box-shadow: 0 24px 70px rgba(0,0,0,0.5); }
.lightbox-close { position: absolute; top: 20px; right: 30px; background: none; border: none; color: var(--cream); font-size: 2.4rem; cursor: pointer; line-height: 1; }

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none; opacity: 0; }
  .hero-slide:first-child { opacity: 1; }
  .hosts-hero .kenburns img { animation: none; transform: none; }
}

/* ============ Responsive ============ */
@media (max-width: 940px) {
  .stay, .host-cards, .loc-grid { grid-template-columns: 1fr; gap: 36px; }
  .stay-rev .stay-media { order: 1; }
  .stay-rev .stay-body { order: 2; }
  .stay { margin-bottom: 64px; }
  .grounds-gallery { grid-template-columns: 1fr 1fr; }
  .feature-cards { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .cta-inner { flex-direction: column; text-align: center; align-items: center; }
  .section { padding: 80px 0; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 16px; margin: 0;
    background: rgba(245, 239, 228, 0.97); backdrop-filter: blur(10px);
    padding: 22px 30px; box-shadow: 0 10px 24px rgba(60,42,33,0.12);
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--body); }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-cta { display: none; }
  .stay-hero { height: 300px; }
  .hosts-hero .kenburns img { height: 320px; }
  .grounds-gallery { grid-template-columns: 1fr 1fr; }
  .grounds-gallery img { height: 180px; }
}
