/* ============================================================
   Grace's Outdoor Adventures - demo storefront styles
   Shared by index.html and the experience detail pages.
   ============================================================ */

:root {
  /* Savanna-at-dusk palette - deliberately not cream/terracotta */
  --forest: #16302a;
  --forest-deep: #0d211d;
  --gold: #e3a13a;
  --gold-soft: #f2c879;
  --sand: #f6f1e7;
  --ink: #14201c;
  --muted: #5c6b63;
  --line: #e4ddcf;
  --paste-btn: #0f172a; /* matches the dialog's ready-made snippet */

  --maxw: 1120px;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: "Bricolage Grotesque", "Inter", sans-serif;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}

a {
  color: inherit;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Book Now button: mirrors the snippet operators paste ---- */
.book-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: var(--paste-btn);
  color: #ffffff;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}
.book-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.28);
}
.book-btn--gold {
  background: var(--gold);
  color: #1c1206;
}
.book-btn--gold:hover {
  background: var(--gold-soft);
  box-shadow: 0 10px 22px rgba(227, 161, 58, 0.35);
}

.ghost-link {
  text-decoration: none;
  font-weight: 600;
  color: var(--sand);
  padding: 13px 18px;
  border-radius: 9px;
  border: 1px solid rgba(246, 241, 231, 0.28);
}
.ghost-link:hover {
  border-color: var(--gold-soft);
  color: var(--gold-soft);
}

/* ---- Header ---- */
header.site {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 241, 231, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand .mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: radial-gradient(
    circle at 30% 25%,
    var(--gold-soft),
    var(--gold) 55%,
    #b9781f
  );
  display: grid;
  place-items: center;
  color: #1c1206;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
/* Scope to .muted so this doesn't override the Book Now button's color. */
.nav-links a.muted {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
}
.nav-links a.muted:hover {
  color: var(--gold);
}
@media (max-width: 760px) {
  .nav-links a.muted {
    display: none;
  }
}

/* ---- Hero (home) ---- */
.hero {
  position: relative;
  color: var(--sand);
  background:
    radial-gradient(
      120% 90% at 80% -10%,
      rgba(227, 161, 58, 0.28),
      transparent 55%
    ),
    linear-gradient(160deg, var(--forest) 0%, var(--forest-deep) 100%);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 120px;
  background: radial-gradient(
    80% 120% at 50% 0%,
    rgba(0, 0, 0, 0.25),
    transparent 60%
  );
  pointer-events: none;
}
.hero-inner {
  padding: 92px 0 104px;
  max-width: 720px;
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 800;
}
.hero p.lede {
  font-size: 1.18rem;
  color: rgba(246, 241, 231, 0.82);
  margin: 20px 0 32px;
  max-width: 540px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.trust {
  margin-top: 30px;
  font-size: 0.86rem;
  color: rgba(246, 241, 231, 0.6);
}

/* ---- Sections & experience grid ---- */
.section {
  padding: 84px 0;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}
.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-weight: 700;
}
.section-head p {
  color: var(--muted);
  margin: 8px 0 0;
  max-width: 460px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 880px) {
  .grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
  }
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(20, 32, 28, 0.12);
}
.card .photo {
  height: 180px;
  position: relative;
  display: block;
}
.card .photo .tag {
  position: absolute;
  left: 14px;
  top: 14px;
  background: rgba(15, 23, 42, 0.82);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

/* Shared experience gradients (used on cards and detail heroes) */
.photo.mara,
.exp-hero.mara {
  background: linear-gradient(150deg, #c47a2c, #7c3f12);
}
.photo.kenya,
.exp-hero.kenya {
  background: linear-gradient(150deg, #2f6f5e, #123a30);
}
.photo.gate,
.exp-hero.gate {
  background: linear-gradient(150deg, #b5532f, #5c1f12);
}

.card-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-body h3 {
  font-size: 1.28rem;
  font-weight: 700;
}
.card-body h3 a {
  text-decoration: none;
}
.card-body h3 a:hover {
  color: var(--gold);
}
.card-body p {
  color: var(--muted);
  font-size: 0.96rem;
  margin: 9px 0 0;
  flex: 1;
}
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}
.price {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: 1.18rem;
}
.price span {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--muted);
}
.view-link {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 10px 16px;
  border-radius: 9px;
}
.view-link:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ---- CTA band ---- */
.band {
  background:
    radial-gradient(
      120% 140% at 0% 0%,
      rgba(227, 161, 58, 0.22),
      transparent 55%
    ),
    var(--forest);
  color: var(--sand);
  border-radius: 20px;
  padding: 56px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.band h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 700;
  max-width: 460px;
}
.band p {
  margin: 10px 0 0;
  color: rgba(246, 241, 231, 0.78);
}

/* ---- Footer ---- */
footer.site {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding: 40px 0;
}
.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}
.foot a {
  text-decoration: none;
  color: var(--muted);
}
.foot a:hover {
  color: var(--gold);
}
.powered {
  font-size: 0.82rem;
  color: var(--muted);
}
.demo-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  padding: 16px;
  background: #efe8d9;
}

/* ============================================================
   Experience detail pages
   ============================================================ */
.exp-hero {
  position: relative;
  color: var(--sand);
  overflow: hidden;
}
.exp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13, 33, 29, 0.25) 0%,
    rgba(13, 33, 29, 0.78) 100%
  );
}
.exp-hero-inner {
  position: relative;
  padding: 40px 0 64px;
}
.crumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(246, 241, 231, 0.82);
  margin-bottom: 36px;
}
.crumb:hover {
  color: var(--gold-soft);
}
.exp-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  max-width: 720px;
}
.exp-hero .tagline {
  font-size: 1.12rem;
  color: rgba(246, 241, 231, 0.82);
  margin: 16px 0 0;
  max-width: 560px;
}
.exp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 26px;
  font-size: 0.92rem;
  color: rgba(246, 241, 231, 0.9);
}
.exp-meta b {
  color: var(--gold-soft);
  font-weight: 600;
}

/* Two-column body: details + sticky booking card */
.detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
  padding: 64px 0;
}
@media (max-width: 880px) {
  .detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.detail h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 12px;
}
.detail h2:not(:first-child) {
  margin-top: 36px;
}
.detail p {
  color: var(--ink);
  margin: 0 0 14px;
}
.included {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.included li {
  display: flex;
  gap: 12px;
  color: var(--ink);
}
.included li svg {
  flex-shrink: 0;
  margin-top: 4px;
}
.itinerary {
  list-style: none;
  counter-reset: day;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
.itinerary li {
  counter-increment: day;
  position: relative;
  padding-left: 52px;
}
.itinerary li::before {
  content: "Day " counter(day);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--gold);
  background: #fbf3e3;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 8px;
}
.itinerary li strong {
  display: block;
  font-weight: 600;
}
.itinerary li span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Booking card */
.book-card {
  position: sticky;
  top: 96px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 14px 36px rgba(20, 32, 28, 0.08);
}
.book-card .price {
  font-size: 1.7rem;
}
.book-card .from {
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.book-card .book-btn {
  width: 100%;
  justify-content: center;
  margin-top: 18px;
}
.book-card .secondary {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}
.book-card .secondary:hover {
  color: var(--gold);
}
.book-card .reassure {
  margin: 16px 0 0;
  font-size: 0.84rem;
  color: var(--muted);
  text-align: center;
}
