/* =========================================================
   Namibia Bundu Bashing Tour & Safari cc
   BRANDING: change the colours below to your own brand colours.
   Everything on the site uses these few values.
   ========================================================= */
:root {
  --sand: #f4ead8;        /* page background */
  --sand-deep: #e8d6b5;   /* cards and panels */
  --dune: #c8642d;        /* main accent (buttons, links) */
  --dune-dark: #9c4719;
  --acacia: #5b6b3a;      /* secondary accent */
  --earth: #3b2a1e;       /* main text */
  --earth-soft: #6b5544;  /* softer text */
  --white: #fffaf2;
  --placeholder: #b5179e; /* marks text that still needs your real details */

  --font-head: "Georgia", "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--earth);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--dune-dark); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* Placeholder marker: anything in this style still needs real content */
.ph {
  background: rgba(181, 23, 158, .08);
  border-bottom: 2px dashed var(--placeholder);
  color: inherit;
  padding: 0 .15em;
}
.ph-note {
  font-size: .8rem;
  color: var(--placeholder);
  font-weight: 600;
  letter-spacing: .02em;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(244, 234, 216, .95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--sand-deep);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--earth); }
.brand-logo {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px dashed var(--placeholder);
  display: grid; place-items: center;
  font-size: .6rem; font-weight: 700; color: var(--placeholder); text-align: center; line-height: 1.1;
  flex-shrink: 0;
}
.brand-name { font-family: var(--font-head); font-weight: 700; line-height: 1.1; font-size: 1.05rem; }
.brand-name small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .72rem; color: var(--earth-soft); letter-spacing: .08em; text-transform: uppercase; }

.menu { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.menu a {
  display: block; padding: 8px 14px; border-radius: 999px;
  text-decoration: none; color: var(--earth); font-weight: 500;
}
.menu a:hover { background: var(--sand-deep); }
.menu a[aria-current="page"] { background: var(--earth); color: var(--white); }

.menu-toggle { display: none; background: none; border: 2px solid var(--earth); border-radius: 8px; padding: 6px 10px; font: inherit; font-weight: 600; color: var(--earth); cursor: pointer; }

@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; background: var(--sand); padding: 8px 16px 16px;
    border-bottom: 1px solid var(--sand-deep);
  }
  .menu.open { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  color: var(--white);
  min-height: 78vh; display: flex; align-items: flex-end;
  padding: 120px 0 64px;
}
.hero-small { min-height: 42vh; padding: 100px 0 48px; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30,18,10,.05) 30%, rgba(30,18,10,.65) 100%);
}
.hero > .wrap { position: relative; z-index: 1; width: 100%; }
.hero p.lead { font-size: 1.2rem; max-width: 620px; opacity: .95; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; opacity: .9; }

/* Placeholder "photos": painted desert scenes. Replace with real photos later. */
.scene { position: absolute; inset: 0; }
.scene svg { width: 100%; height: 100%; display: block; }
.photo-tag {
  position: absolute; z-index: 2; top: 84px; right: 16px;
  background: var(--white); color: var(--placeholder);
  font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 13px 24px; border-radius: 999px;
  background: var(--dune); color: var(--white); text-decoration: none;
  font-weight: 600; border: 2px solid var(--dune); cursor: pointer; font-size: 1rem;
}
.btn:hover { background: var(--dune-dark); border-color: var(--dune-dark); }
.btn-ghost { background: transparent; border-color: currentColor; color: inherit; }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: currentColor; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- Sections ---------- */
section.block { padding: 72px 0; }
section.alt { background: var(--sand-deep); }
.section-head { max-width: 680px; margin-bottom: 36px; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: center; }

.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 2px 0 rgba(59,42,30,.06), 0 10px 30px -18px rgba(59,42,30,.35);
  display: flex; flex-direction: column;
}
.card-img { position: relative; aspect-ratio: 16/10; }
.card-img .photo-tag { top: 10px; right: 10px; }
.card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.card-body .btn { align-self: flex-start; margin-top: auto; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; font-size: .85rem; }
.meta li { background: var(--sand); padding: 3px 10px; border-radius: 999px; }

.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature-icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px;
  background: var(--acacia); color: var(--white); display: grid; place-items: center; font-size: 1.4rem;
}

.photo-frame { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }

.cta {
  background: var(--earth); color: var(--white); border-radius: var(--radius);
  padding: 48px 32px; text-align: center;
}
.cta p { opacity: .9; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---------- Contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--sand-deep); }
.contact-list strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--earth-soft); }

form.enquiry { background: var(--white); border-radius: var(--radius); padding: 28px; }
form.enquiry label { display: block; font-weight: 600; margin: 0 0 6px; font-size: .95rem; }
form.enquiry input, form.enquiry select, form.enquiry textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--sand-deep); border-radius: 10px;
  font: inherit; background: var(--sand); color: var(--earth); margin-bottom: 18px;
}
form.enquiry input:focus, form.enquiry select:focus, form.enquiry textarea:focus { outline: 2px solid var(--dune); border-color: transparent; }
.form-note { font-size: .88rem; color: var(--earth-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--earth); color: #e9dcc6; padding: 48px 0 28px; margin-top: 0; }
.site-footer a { color: #f3c99f; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.site-footer h3 { color: var(--white); font-size: 1.05rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.copyright { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; font-size: .85rem; opacity: .8; }

/* ---------- Listen (read aloud) button ---------- */
.listen-btn {
  position: fixed; right: 16px; bottom: 16px; z-index: 30;
  display: flex; align-items: center; gap: 8px;
  background: var(--acacia); color: var(--white); border: none;
  padding: 12px 18px; border-radius: 999px; font: inherit; font-weight: 600;
  box-shadow: 0 8px 24px -8px rgba(0,0,0,.4); cursor: pointer;
}
.listen-btn:hover { filter: brightness(1.08); }
.listen-btn[hidden] { display: none; }
.listen-btn .dot { width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.listen-btn.playing .dot { animation: pulse 1s infinite; }
@keyframes pulse { 50% { opacity: .3; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .listen-btn.playing .dot { animation: none; }
}
