/* Tishmac Safaris — public site.
   Editorial, understated-luxury design system. Colors come from theme.css
   variables; typography: Cormorant Garamond (display) + Jost (body). */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Jost", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  font-size: 1.0625rem;
  color: var(--color-text);
  background: var(--color-background);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.15;
  margin: 0 0 1rem;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }

a { color: var(--color-accent); text-decoration: none; }
a:hover { opacity: 0.85; }

.kicker {
  display: block;
  font-family: "Jost", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

/* ---------- Header ---------- */
.site-header {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--color-border);
  position: sticky; top: 0; z-index: 50;
}
.site-header__inner {
  max-width: 1200px; margin: 0 auto; padding: 1.1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.site-brand { display: flex; align-items: center; gap: 0.65rem; }
.site-brand__logo { height: 44px; width: auto; }
.site-brand__name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.5rem; font-weight: 600; color: var(--color-primary);
}
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a {
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--color-text);
}
.site-nav__cta {
  color: var(--color-secondary) !important;
  border: 1px solid var(--color-secondary);
  padding: 0.55rem 1.3rem; border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}
.site-nav__cta:hover { background: var(--color-secondary); color: #fff !important; opacity: 1; }
@media (max-width: 760px) {
  .site-header__inner { flex-direction: column; gap: 0.9rem; padding: 0.9rem 1rem; }
  .site-brand__logo { height: 36px; }
  .site-nav { gap: 1.1rem; }
  .site-nav a { font-size: 0.72rem; letter-spacing: 0.14em; }
  .site-nav__cta { padding: 0.45rem 0.9rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero--home {
  /* IMAGE SLOT: replace the gradient with a full-bleed photo — add a
     background-image pointing at /static/images/hero.jpg, center/cover,
     no-repeat. NOTE: never write the actual CSS image-function syntax in
     comments here; the static-manifest hasher parses asset references even
     inside comments and fails the whole build on missing files. */
  background:
    radial-gradient(120% 90% at 80% 10%, rgba(169, 139, 79, 0.25) 0%, transparent 55%),
    linear-gradient(165deg, var(--color-primary-dark, #10261E) 0%, var(--color-primary) 60%, #234b3a 100%);
  min-height: 78vh;
  display: flex; align-items: center;
}
.hero--page {
  background: linear-gradient(165deg, var(--color-primary-dark, #10261E) 0%, var(--color-primary) 100%);
}
.hero__inner {
  max-width: 860px; margin: 0 auto; padding: 6.5rem 1.5rem;
  text-align: center; width: 100%;
}
.hero--page .hero__inner { padding: 4.5rem 1.5rem; }
.hero__kicker {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--color-secondary);
  margin: 0 0 1.4rem;
}
.hero__title {
  color: #fff; font-size: clamp(2.8rem, 6vw, 4.4rem);
  font-weight: 500; margin-bottom: 1.4rem;
}
.hero__subtitle {
  font-size: 1.15rem; font-weight: 300; line-height: 1.8;
  max-width: 40rem; margin: 0 auto 2.4rem; color: rgba(255, 255, 255, 0.85);
}
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.button {
  display: inline-block; padding: 0.85rem 2.2rem;
  font-family: "Jost", sans-serif; font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  border-radius: 2px; border: 1px solid transparent; cursor: pointer;
  transition: all 0.25s ease;
}
.button--primary { background: var(--color-secondary); color: #fff; }
.button--primary:hover { background: transparent; border-color: var(--color-secondary); color: var(--color-secondary); opacity: 1; }
.button--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.button--ghost:hover { background: rgba(255, 255, 255, 0.12); opacity: 1; }
.button--light { background: #fff; color: var(--color-primary); }
.button--light:hover { opacity: 0.9; }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section--tinted { background: var(--color-surface); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.section--dark { background: var(--color-primary-dark, #10261E); color: rgba(255,255,255,0.85); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section__inner { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.section__inner--narrow { max-width: 760px; }
.section__lead {
  color: var(--color-muted-text); max-width: 42rem;
  font-size: 1.1rem; margin: 0 0 3rem;
}
.section--centered { text-align: center; }
.section--centered .section__lead { margin-left: auto; margin-right: auto; }

/* Editorial split */
.editorial { display: grid; grid-template-columns: 5fr 7fr; gap: 4rem; align-items: start; }
@media (max-width: 820px) { .editorial { grid-template-columns: 1fr; gap: 1.5rem; } }
.editorial__statement { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.editorial__body p { margin: 0 0 1.2rem; color: var(--color-text); }
.editorial__body p:last-child { margin-bottom: 0; }

/* Pillars (numbered, borderless) */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 3rem; margin-top: 3.5rem; }
.pillars__item h3 { margin: 0.8rem 0 0.6rem; }
.pillars__item p { margin: 0; color: var(--color-muted-text); font-size: 0.98rem; }
.pillars__number {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.1rem; color: var(--color-secondary);
  letter-spacing: 0.12em;
}
.pillars__number::after {
  content: ""; display: block; width: 2.4rem; height: 1px;
  background: var(--color-secondary); margin-top: 0.7rem;
}

/* Destinations — editorial rows */
.destinations { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--color-border); }
.destinations__item {
  display: flex; justify-content: space-between; align-items: baseline; gap: 2rem;
  padding: 1.4rem 0.25rem; border-bottom: 1px solid var(--color-border);
}
.destinations__item strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem; font-weight: 500; color: var(--color-primary);
}
.destinations__item span { color: var(--color-muted-text); font-size: 0.95rem; text-align: right; }
@media (max-width: 620px) {
  .destinations__item { flex-direction: column; gap: 0.2rem; }
  .destinations__item span { text-align: left; }
}

/* Steps */
.steps { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 3rem; }
.steps__item { text-align: left; }
.steps__number {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.6rem; color: var(--color-secondary); line-height: 1;
}
.steps__item h3 { margin: 0.8rem 0 0.5rem; }
.steps__item p { margin: 0; color: var(--color-muted-text); font-size: 0.98rem; }

/* CTA band */
.cta-band { background: var(--color-primary-dark, #10261E); color: #fff; }
.cta-band__inner { max-width: 760px; margin: 0 auto; padding: 5.5rem 1.5rem; text-align: center; }
.cta-band__title { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.cta-band__text { color: rgba(255, 255, 255, 0.8); max-width: 34rem; margin: 0 auto 2.2rem; }

/* ---------- Cards (functional pages: payment, trip, contact aside) ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; }
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 1.75rem;
}
.card h3 { margin-top: 0; }

/* Image slots — solid, intentional placeholders until photos are added */
.media-slot {
  background: linear-gradient(150deg, var(--color-primary) 0%, #2a5240 100%);
  min-height: 180px; margin-bottom: 1.1rem;
}
.media-slot--wide { min-height: 280px; margin-bottom: 2rem; }

/* ---------- Forms ---------- */
.form__row { margin-bottom: 1.4rem; display: flex; flex-direction: column; }
.form__label {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--color-muted-text); margin-bottom: 0.5rem;
}
.form input, .form textarea {
  padding: 0.85rem 1rem; border: 1px solid var(--color-border);
  background: var(--color-surface); font: inherit; font-weight: 300;
  border-radius: 2px; outline: none; transition: border-color 0.2s;
}
.form input:focus, .form textarea:focus { border-color: var(--color-secondary); }
.form textarea { min-height: 160px; }
.form__error { color: #a33a2a; margin: 0.4rem 0 0; font-size: 0.88rem; }
.form__hint { color: var(--color-muted-text); font-size: 0.92rem; margin-top: 1.1rem; }

.messages { padding-top: 1.5rem; }
.message {
  padding: 0.9rem 1.2rem; border: 1px solid var(--color-border);
  background: var(--color-surface); font-size: 0.95rem;
}
.message--success { border-color: var(--color-secondary); }

/* Contact layout */
.contact-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; }
@media (max-width: 780px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-layout__aside .card { margin-bottom: 1.25rem; }
.contact-tips { padding-left: 1.1rem; margin: 0; }
.contact-tips li { margin-bottom: 0.45rem; font-size: 0.95rem; color: var(--color-muted-text); }

/* About values */
.about-values { list-style: none; padding: 0; margin: 2rem 0; }
.about-values li {
  padding: 1.2rem 0; margin: 0; border-bottom: 1px solid var(--color-border);
}
.about-values li:first-child { border-top: 1px solid var(--color-border); }
.about-values strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem; font-weight: 600; color: var(--color-primary);
  display: block; margin-bottom: 0.15rem;
}

/* ---------- Payment / trip pages ---------- */
.pay-meta { color: var(--color-muted-text); font-size: 0.95rem; }
.pay-lines { width: 100%; border-collapse: collapse; margin: 0.9rem 0; }
.pay-lines td { padding: 0.55rem 0; border-bottom: 1px solid var(--color-border); }
.pay-lines__amount { text-align: right; white-space: nowrap; }
.pay-total { font-size: 1.2rem; margin-top: 1.2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-primary-dark, #10261E); color: rgba(255, 255, 255, 0.75); margin-top: 0; }
.site-footer__inner { max-width: 1100px; margin: 0 auto; padding: 4rem 1.5rem 3rem; text-align: center; }
.site-footer__wordmark {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem; color: #fff; margin: 0 0 0.3rem;
}
.site-footer__tag {
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--color-secondary); margin: 0 0 1.8rem;
}
.site-footer__contacts { list-style: none; padding: 0; margin: 0 0 1.8rem; font-size: 0.95rem; }
.site-footer__contacts li { margin-bottom: 0.3rem; }
.site-footer__links { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; }
.site-footer__links a {
  color: rgba(255, 255, 255, 0.65); font-size: 0.75rem;
  letter-spacing: 0.2em; text-transform: uppercase;
}
.site-footer__links a:hover { color: #fff; }
