/* Canyon Ridge Campgrounds (demo tenant site)
   Plain CSS, no build step. Shared by index.html, west.html and harbor.html. */

:root {
  --night: #1f1a2e;
  --canyon: #b4532f;
  --canyon-dk: #8a3a20;
  --sand: #f3e6d3;
  --sand-2: #ead6b8;
  --cream: #fbf6ee;
  --paper: #ffffff;
  --juniper: #24453a;
  --juniper-2: #2f5a4b;
  --sage: #dfe8df;
  --lake: #2f6f86;
  --lake-soft: #dcecf1;
  --sunset: #e98a3c;
  --sunset-soft: #fbe6d2;
  --ink: #241c17;
  --muted: #6b5d52;
  --line: #e7dccb;
  --shadow-sm: 0 1px 2px rgba(36, 28, 23, .06), 0 3px 10px rgba(36, 28, 23, .06);
  --shadow-lg: 0 2px 6px rgba(36, 28, 23, .08), 0 28px 60px -16px rgba(36, 28, 23, .32);
  --radius: 16px;
  --display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--canyon-dk); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.1; margin: 0; color: var(--ink); }
p { margin: 0; }
ul { margin: 0; padding: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Demo strip ─────────────────────────────────────────────────────────── */

.demo-strip {
  background: var(--night); color: #d9d0e8;
  font-size: 13.5px; text-align: center; padding: 7px 16px; line-height: 1.4;
}
.demo-strip a { color: #ffd2a8; }

/* ── Buttons ────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 24px; border-radius: 999px;
  font: 600 16px/1 var(--body); text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--canyon); color: #fff; box-shadow: 0 8px 20px -8px rgba(180, 83, 47, .7); }
.btn-primary:hover { background: var(--canyon-dk); }
.btn-lake { background: var(--lake); color: #fff; box-shadow: 0 8px 20px -8px rgba(47, 111, 134, .7); }
.btn-lake:hover { background: #245a6d; }
.btn-juniper { background: var(--juniper); color: #fff; box-shadow: 0 8px 20px -8px rgba(36, 69, 58, .7); }
.btn-juniper:hover { background: #193429; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--sand); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.btn-outline { border-color: var(--line); color: var(--ink); background: var(--paper); }
.btn-outline:hover { border-color: var(--canyon); color: var(--canyon-dk); }
.btn-sm { padding: 10px 17px; font-size: 15px; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--sunset); outline-offset: 3px; }

/* ── Header ─────────────────────────────────────────────────────────────── */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 238, .9);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: 40px; }
.brand-name { font-family: var(--display); font-size: 23px; line-height: 1; }
.brand-name small { display: block; font-family: var(--body); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15.5px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--canyon); }
.nav-cta { margin-left: 8px; }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 72px;
    flex-direction: column; gap: 0; background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px; box-shadow: var(--shadow-sm);
  }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-open .nav-links { display: flex; }
  .nav-cta { display: none; }
}

/* ── Hero ───────────────────────────────────────────────────────────────── */

.hero { position: relative; color: #fff; overflow: hidden; background: var(--night); }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(25, 18, 32, .72) 0%, rgba(25, 18, 32, .35) 50%, rgba(25, 18, 32, 0) 75%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; padding: 120px 24px 200px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: #ffd9b5; margin-bottom: 18px;
}
.hero-eyebrow svg { width: 16px; height: 16px; }
.hero h1 { color: #fff; font-size: clamp(44px, 7vw, 84px); max-width: 12ch; }
.hero h1 em { font-style: italic; color: #ffc88f; }
.hero-lede { font-size: clamp(18px, 2vw, 21px); color: #f1e6ea; max-width: 34em; margin: 22px 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px;
  font-size: 15px; color: #f3e7ea;
}
.hero-facts span { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 18px; height: 18px; color: #ffc88f; }

.hero-sm .hero-inner { padding: 96px 24px 110px; }
.hero-sm h1 { font-size: clamp(40px, 6vw, 70px); }
.hero-sm::after { background: linear-gradient(90deg, rgba(25, 18, 32, .82) 0%, rgba(25, 18, 32, .55) 45%, rgba(25, 18, 32, .1) 80%); }

@media (max-width: 640px) {
  .hero-inner { padding: 72px 20px 150px; }
  .hero::after { background: linear-gradient(180deg, rgba(25, 18, 32, .7) 0%, rgba(25, 18, 32, .35) 70%, rgba(25, 18, 32, .1) 100%); }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ── Booking bar (overlaps hero) ────────────────────────────────────────── */

.book-bar-wrap { position: relative; z-index: 2; margin-top: -84px; }
.book-bar {
  background: var(--paper); border-radius: 22px; box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 0; overflow: hidden;
}
.book-bar > div { padding: 26px 28px; }
.book-bar > div + div { border-left: 1px solid var(--line); }
.book-bar h2 { font-size: 26px; }
.book-bar p { color: var(--muted); font-size: 15px; margin-top: 6px; }
.book-choice { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.book-choice .label { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.book-choice.west .label { color: var(--canyon); }
.book-choice.harbor .label { color: var(--lake); }
.book-choice strong { display: block; font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.2; }

@media (max-width: 860px) {
  .book-bar { grid-template-columns: 1fr; }
  .book-bar > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .book-choice .btn { align-self: flex-start; }
}

/* ── Sections ───────────────────────────────────────────────────────────── */

.section { padding: 110px 0; }
.section-tight { padding: 80px 0; }
.section-sand { background: var(--sand); }
.section-dark { background: var(--juniper); color: #e5efe9; }
.section-dark h2, .section-dark h3 { color: #fff; }
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--canyon); margin-bottom: 14px;
}
.section-dark .eyebrow { color: #ffc88f; }
.section-head { max-width: 680px; margin-bottom: 54px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 52px); }
.section-head p { color: var(--muted); font-size: 18.5px; margin-top: 16px; }
.section-dark .section-head p { color: #c6d8ce; }

@media (max-width: 640px) {
  .section { padding: 76px 0; }
  .section-tight { padding: 60px 0; }
}

/* ── Intro / welcome ────────────────────────────────────────────────────── */

.intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.intro h2 { font-size: clamp(34px, 4.2vw, 50px); }
.intro p { color: var(--muted); font-size: 18px; margin-top: 18px; }
.intro-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; box-shadow: var(--shadow-sm);
}
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: 42px; line-height: 1; color: var(--canyon); }
.stat span { display: block; color: var(--muted); font-size: 15px; margin-top: 8px; }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; gap: 40px; } }

/* ── Campground cards ───────────────────────────────────────────────────── */

.grounds { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.ground {
  background: var(--paper); border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.ground-art { aspect-ratio: 16 / 9; background: var(--sand-2); }
.ground-art svg { width: 100%; height: 100%; }
.ground-body { padding: 30px 32px 34px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.ground-tag { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ground.west .ground-tag { color: var(--canyon); }
.ground.harbor .ground-tag { color: var(--lake); }
.ground h3 { font-size: 36px; }
.ground p { color: var(--muted); }
.ground-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; font-size: 15.5px; }
.ground-list li { display: flex; gap: 9px; align-items: flex-start; }
.ground-list svg { width: 18px; height: 18px; flex: none; margin-top: 4px; }
.ground.west .ground-list svg { color: var(--canyon); }
.ground.harbor .ground-list svg { color: var(--lake); }
.ground-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 8px; }
@media (max-width: 900px) { .grounds { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .ground-list { grid-template-columns: 1fr; } .ground-body { padding: 26px 22px 28px; } }

/* ── Feature grid (amenities / activities) ──────────────────────────────── */

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px;
}
.section-dark .feature { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.feature-icon {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: var(--sunset-soft); color: var(--canyon); margin-bottom: 18px;
}
.section-dark .feature-icon { background: rgba(255, 200, 143, .14); color: #ffc88f; }
.feature-icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 23px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 16px; }
.section-dark .feature p { color: #c6d8ce; }
.feature .where { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--juniper-2); background: var(--sage); border-radius: 999px; padding: 3px 11px; }
.section-dark .feature .where { background: rgba(255, 255, 255, .1); color: #e5efe9; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* ── Rates ──────────────────────────────────────────────────────────────── */

.rates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rate {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; display: flex; flex-direction: column; gap: 10px;
}
.rate.featured { border: 2px solid var(--canyon); box-shadow: var(--shadow-lg); position: relative; }
.rate.featured::before {
  content: "Most popular"; position: absolute; top: -13px; left: 22px;
  background: var(--canyon); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em;
  padding: 4px 11px; border-radius: 999px;
}
.rate h3 { font-size: 22px; }
.rate .price { font-family: var(--display); font-size: 46px; line-height: 1; color: var(--ink); }
.rate .price small { font-family: var(--body); font-size: 15px; color: var(--muted); }
.rate p { color: var(--muted); font-size: 15px; }
.rate .avail { font-size: 13.5px; font-weight: 600; color: var(--juniper-2); margin-top: auto; padding-top: 6px; }
.rates-note { margin-top: 30px; color: var(--muted); font-size: 15px; text-align: center; }
@media (max-width: 960px) { .rates { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .rates { grid-template-columns: 1fr; } }

/* ── Longer stays strip ─────────────────────────────────────────────────── */

.long-stay {
  margin-top: 46px; background: var(--juniper); color: #e5efe9; border-radius: 22px;
  padding: 34px 38px; display: flex; gap: 30px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.long-stay h3 { color: #fff; font-size: 28px; }
.long-stay p { color: #c6d8ce; margin-top: 6px; max-width: 46em; }

/* ── Map / location ─────────────────────────────────────────────────────── */

.location { display: grid; grid-template-columns: 1.25fr 1fr; gap: 54px; align-items: center; }
.map-card { background: var(--paper); border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.location h2 { font-size: clamp(32px, 4vw, 46px); }
.location p { color: var(--muted); margin-top: 16px; }
.drive-list { list-style: none; margin-top: 26px; display: grid; gap: 12px; }
.drive-list li { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.drive-list b { font-weight: 600; }
.drive-list span { color: var(--muted); }
@media (max-width: 900px) { .location { grid-template-columns: 1fr; } }

/* ── FAQ ────────────────────────────────────────────────────────────────── */

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 4px 24px;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 17.5px;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 400; color: var(--canyon); line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; }

/* ── CTA band ───────────────────────────────────────────────────────────── */

.cta-band { position: relative; overflow: hidden; background: var(--night); color: #fff; }
.cta-band .hero-art { opacity: .55; }
.cta-inner { position: relative; z-index: 1; padding: 100px 24px; text-align: center; }
.cta-inner h2 { color: #fff; font-size: clamp(36px, 5vw, 58px); }
.cta-inner p { color: #eadfe6; font-size: 19px; margin: 16px auto 32px; max-width: 34em; }
.cta-inner .hero-actions { justify-content: center; }

/* ── Campground detail pages ────────────────────────────────────────────── */

.detail { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.detail h2 { font-size: clamp(32px, 4vw, 44px); }
.detail p { color: var(--muted); margin-top: 16px; font-size: 18px; }
.panel {
  background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 30px;
  box-shadow: var(--shadow-sm); position: sticky; top: 96px;
}
.panel h3 { font-size: 26px; }
.panel dl { margin: 18px 0 24px; display: grid; gap: 12px; }
.panel dl div { display: flex; justify-content: space-between; gap: 14px; font-size: 15.5px; border-bottom: 1px solid var(--line); padding-bottom: 11px; }
.panel dt { color: var(--muted); }
.panel dd { margin: 0; font-weight: 600; text-align: right; }
.panel .btn { width: 100%; }
.panel .btn + .btn { margin-top: 10px; }
@media (max-width: 900px) { .detail { grid-template-columns: 1fr; } .panel { position: static; } }

.site-table { width: 100%; border-collapse: collapse; margin-top: 30px; background: var(--paper); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); font-size: 15.5px; }
.site-table th, .site-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.site-table th { background: var(--sand); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.site-table tr:last-child td { border-bottom: 0; }
.site-table td:last-child, .site-table th:last-child { text-align: right; white-space: nowrap; }
.table-wrap { overflow-x: auto; }

.checklist { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin-top: 26px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--juniper-2); }
@media (max-width: 520px) { .checklist { grid-template-columns: 1fr; } }

.other-ground {
  display: grid; grid-template-columns: 1fr 1.3fr; background: var(--paper); border: 1px solid var(--line);
  border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-sm);
}
.other-ground .ground-art { aspect-ratio: auto; min-height: 240px; }
.other-ground > div:last-child { padding: 36px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.other-ground h3 { font-size: 34px; }
.other-ground p { color: var(--muted); }
@media (max-width: 760px) { .other-ground { grid-template-columns: 1fr; } }

/* ── Footer ─────────────────────────────────────────────────────────────── */

.site-footer { background: #1a1512; color: #cbbfb3; padding: 72px 0 34px; font-size: 15.5px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: #fff; }
.site-footer .brand-name small { color: #a8998b; }
.site-footer p { margin-top: 16px; max-width: 26em; }
.site-footer h4 { font-family: var(--body); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: #e8ddd2; text-decoration: none; }
.site-footer a:hover { color: #ffc88f; text-decoration: underline; }
.footer-bottom {
  margin-top: 54px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between; align-items: center; font-size: 14px; color: #a8998b;
}
.powered { display: inline-flex; align-items: center; gap: 10px; color: #e8ddd2; text-decoration: none; }
.powered img { width: 26px; height: 26px; }
.powered b { color: #fff; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── Reveal on scroll ───────────────────────────────────────────────────── */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }
