/* Elevated Adventures KC branding — matched to the real live site
   (elevatedadventureskc.com), not the earlier gold/Roboto Slab concept this
   file started from. Colors below were sampled directly from the live
   site's rendered output (converted from its oklch values to RGB) rather
   than guessed: background #12241C, accent #E78B30 (warm orange, not gold),
   headings in a serif system stack, body in a sans system stack — the real
   site loads no custom webfont at all.

   Two things happen in this file:

   1. A token bridge — maps this palette onto the token names
      core/site.css, core/admin.css and core/booking.css already use
      (--bg, --text, --accent, …), so the booking wizard and admin panel
      stay on-brand for free.

   2. This client's own component styles (header, cards, badges, forms,
      footer) — hand-written to match the real site's look, not a literal
      port of its Tailwind output (this project stays vanilla CSS, no
      build step, by design — see the repo README).

   One fixed dark look, no light variant — matches the real site, which has
   no theme toggle either. */

/* ── 1. token bridge ─────────────────────────────────────────────────── */

:root {
  --serif: ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, sans-serif;
}

[data-theme="dark"], [data-theme="light"] {
  --bg:          var(--eakc-bg);
  --bg2:         var(--eakc-surface);
  --bg3:         var(--eakc-surface-2);
  --surface:     var(--eakc-surface);
  --border:      var(--eakc-border);
  --border-mid:  var(--eakc-border-strong);
  --text:        var(--eakc-text);
  --text-mid:    var(--eakc-text-mid);
  --text-dim:    var(--eakc-text-dim);
  --accent:      var(--eakc-accent);
  --accent2:     var(--eakc-accent-hover);
  --tag-bg:      rgba(231, 139, 48, 0.10);
  --tag-border:  rgba(231, 139, 48, 0.25);

  /* core/admin.css's one destructive-hover state (deleting a photo) — the
     real site's palette has no red either; kept separate from the brand
     orange so a destructive action doesn't look like a normal highlight. */
  --terra: #C0392B;
}

/* ── 2. Elevated Adventures KC palette ───────────────────────────────── */

:root {
  --eakc-bg:            #12241C;   /* page background — sampled from the live site */
  --eakc-surface:       #0E1D16;   /* card/section surface, slightly darker */
  --eakc-surface-2:     #16301F;   /* raised surface (hover, inputs) */
  --eakc-accent:        #E78B30;   /* warm orange — the real accent, not gold */
  --eakc-accent-hover:  #CE7A28;
  --eakc-on-accent:     #09090B;   /* near-black text on the orange accent */

  --eakc-text:          #F5F2EC;
  --eakc-text-mid:      rgba(245, 242, 236, 0.75);
  --eakc-text-dim:      rgba(245, 242, 236, 0.45);

  --eakc-border:        rgba(245, 242, 236, 0.10);
  --eakc-border-strong: rgba(231, 139, 48, 0.20);
  --eakc-shadow:        0 14px 40px rgba(0, 0, 0, 0.45);

  --eakc-green-2:       #174513;   /* secondary green accent, sampled from a live badge */
}

/* ── 3. resets + base type ───────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }

body {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--eakc-text-mid);
  background-color: var(--eakc-bg);
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--eakc-text);
  margin-bottom: 0.5em;
}

h1 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--eakc-accent);
  margin-bottom: 0.75rem;
}

/* ── 4. header / nav ──────────────────────────────────────────────────── */

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background-color: rgba(18, 36, 28, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--eakc-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-container a { display: flex; align-items: center; text-decoration: none; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; color: var(--eakc-text); }
.brand-subtitle { font-size: 0.8rem; color: var(--eakc-text-dim); }

header nav a {
  color: var(--eakc-text-mid);
  text-decoration: none;
  margin-left: 20px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
header nav a:hover, header nav a[aria-current="page"] { color: var(--eakc-accent); }

.cta-button, .submit-button, .btn {
  display: inline-block;
  background-color: var(--eakc-accent);
  color: var(--eakc-on-accent);
  border: none;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  margin-left: 20px;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.cta-button:hover, .submit-button:hover, .btn:hover { background-color: var(--eakc-accent-hover); transform: translateY(-1px); }
.cta-button.ghost, .btn-ghost {
  background: none;
  color: var(--eakc-text);
  border: 1px solid var(--eakc-border-strong);
}
.cta-button.ghost:hover, .btn-ghost:hover { background: rgba(231, 139, 48, 0.08); }

.hamburger-menu { display: none; cursor: pointer; background: none; border: none; padding: 0; }
.hamburger-menu span { display: block; width: 24px; height: 2px; background-color: var(--eakc-text); margin: 5px 0; }

/* ── 5. hero ──────────────────────────────────────────────────────────── */

.hero-section {
  position: relative;
  padding: 5rem 5% 4rem;
  text-align: center;
  background: linear-gradient(180deg, var(--eakc-bg), var(--eakc-surface));
  border-bottom: 1px solid var(--eakc-border);
}
.hero-section .eyebrow { display: flex; justify-content: center; }
.hero-section p.lead { max-width: 60ch; margin: 0 auto 2rem; font-size: 1.1rem; color: var(--eakc-text-mid); }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-actions .cta-button { margin-left: 0; }

/* ── 6. page sections / containers ───────────────────────────────────── */

.section { padding: 4rem 5%; }
.section.alt { background-color: var(--eakc-surface); border-top: 1px solid var(--eakc-border); border-bottom: 1px solid var(--eakc-border); }
.container { max-width: 1100px; margin: 0 auto; }
.section-head { text-align: center; max-width: 65ch; margin: 0 auto 2.5rem; }

/* ── 7. cards, badges ─────────────────────────────────────────────────── */

.card {
  background-color: var(--eakc-surface-2);
  border: 1px solid var(--eakc-border);
  border-radius: 14px;
  padding: 2rem;
  box-shadow: var(--eakc-shadow);
}

.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin: 0 0.4rem 0.4rem 0;
}
.badge.active   { background: rgba(231, 139, 48, 0.15); color: var(--eakc-accent); }
.badge.paused   { background: rgba(245, 242, 236, 0.08); color: var(--eakc-text-dim); }
.badge.upcoming { background: rgba(23, 69, 19, 0.35); color: #7FBD6E; }
.badge.free     { background: rgba(23, 69, 19, 0.35); color: #7FBD6E; }

.disclaimer-box {
  background: var(--eakc-surface-2);
  border: 1px solid var(--eakc-border-strong);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  font-size: 0.95rem;
  color: var(--eakc-text-mid);
  margin: 2rem 0;
}
.disclaimer-box strong { color: var(--eakc-text); }

/* ── 8. tour cards ────────────────────────────────────────────────────── */
/* Image beside text, alternating which side the image is on — matches the
   real site's actual two-column tour layout (sampled from its rendered
   DOM), not just its color tokens. No real photography exists yet, so
   .tour-card-media falls back to a gradient placeholder at the same
   aspect ratio and radius the real photo slot uses — the layout is real
   even though the image isn't; swap in a photo via the admin panel's
   Booking types tab whenever one exists, nothing else has to change. */
.tour-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  background-color: var(--eakc-surface-2);
  border: 1px solid var(--eakc-border);
  border-radius: 14px;
  padding: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 800px) {
  /* 2fr/3fr, not an even 1fr/1fr — at 4:3 an even-width image column ran
     tall enough to feel oversized for what's just a placeholder. Aligned
     to start, not center: center was letting each column float to its
     own vertical middle independently, so the photo and the heading next
     to it didn't line up at the top. */
  .tour-card { grid-template-columns: 2fr 3fr; align-items: start; }
  /* Every other card mirrors — image right, text left — same as the real
     site alternating which column the photo lands in per tour. */
  .tour-card:nth-child(even) .tour-card-media { order: 2; }
}

.tour-card-media {
  aspect-ratio: 4 / 3;
  max-height: 320px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--eakc-border);
  background: linear-gradient(135deg, var(--eakc-surface), var(--eakc-bg));
}
.tour-card-media img { width: 100%; height: 100%; object-fit: cover; }
.tour-card-media.no-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--eakc-text-dim);
  font-family: var(--serif);
  font-size: 0.9rem;
  text-align: center;
  padding: 1rem;
}

.tour-card-body .meta { font-size: 0.85rem; color: var(--eakc-text-dim); margin-bottom: 1rem; }
.tour-card-body ul { list-style: none; margin: 1rem 0; }
.tour-card-body li { padding: 0.6rem 0; border-bottom: 1px solid var(--eakc-border); font-size: 0.95rem; }
.tour-card-body li:last-child { border-bottom: none; }
.tour-card-body li strong { color: var(--eakc-text); }
.tour-card-body .actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.tour-card-body .actions .cta-button { margin-left: 0; }

/* Same shape as .tour-card .actions, for the Private Group Tours card on
   tours.html, which isn't wrapped in a .tour-card. */
.tour-card-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.tour-card-actions .cta-button { margin-left: 0; }

/* ── 9. Blazing Trails timeline ───────────────────────────────────────── */

.timeline { display: flex; flex-direction: column; gap: 1.5rem; }

.timeline-item {
  display: flex;
  gap: 1.5rem;
  background: var(--eakc-surface-2);
  border: 1px solid var(--eakc-border);
  border-radius: 14px;
  padding: 1.5rem;
}

.timeline-date {
  flex-shrink: 0;
  width: 72px;
  text-align: center;
  background: var(--eakc-bg);
  border: 1px solid var(--eakc-border-strong);
  border-radius: 10px;
  padding: 0.6rem 0.3rem;
}
.timeline-date .month { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: var(--eakc-accent); text-transform: uppercase; }
.timeline-date .day { font-size: 1.5rem; font-weight: 700; color: var(--eakc-text); font-family: var(--serif); }

.timeline-body { flex: 1; min-width: 0; }
.timeline-body h3 { margin-bottom: 0.3rem; }
.timeline-body .when { font-size: 0.85rem; color: var(--eakc-text-dim); margin-bottom: 0.75rem; }
.timeline-body p { margin-bottom: 1rem; font-size: 0.95rem; }
.timeline-body .rsvp-status { font-size: 0.85rem; color: var(--eakc-text-dim); margin-top: 0.75rem; }

/* ── 10. sponsorship tiers ────────────────────────────────────────────── */

.tier-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.tier-card { background: var(--eakc-surface-2); border: 1px solid var(--eakc-border); border-radius: 14px; padding: 1.75rem; }
.tier-card h3 { font-size: 1.1rem; }
.tier-card ul { list-style: none; margin: 1rem 0; font-size: 0.9rem; color: var(--eakc-text-mid); }
.tier-card li { padding: 0.4rem 0; }

/* ── 11. FAQ ──────────────────────────────────────────────────────────── */

.faq-item { border-bottom: 1px solid var(--eakc-border); padding: 1.25rem 0; }
.faq-item h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.faq-item p { font-size: 0.9rem; color: var(--eakc-text-mid); }

/* ── 11b. booking page shell (book.html's wizard) ─────────────────────
   Dropped when this file was rewritten to match the real site — the
   wizard's own step/card/button styling comes from core/booking.css and
   core/admin.css regardless, but with no width constraint or card chrome
   on the shell itself, the form stretched to the full page width instead
   of reading as a card. */
.booking-body {
  background-color: var(--eakc-bg);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.booking-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1.5rem 4rem;
  text-align: center;
}
.booking-container h1 { margin-bottom: 2rem; }

.booking-form {
  width: 100%;
  max-width: 560px;
  background-color: var(--eakc-surface-2);
  border: 1px solid var(--eakc-border);
  border-radius: 14px;
  padding: 2rem;
  box-shadow: var(--eakc-shadow);
  text-align: left;
}

.booking-note {
  margin-top: 1.5rem;
  color: var(--eakc-text-dim);
  font-size: 0.9rem;
}

/* ── 12. inquiry form (universal — Tours, B2B, Signup) ───────────────── */

.inquiry-form { display: flex; flex-direction: column; gap: 1.25rem; max-width: 640px; }
.inquiry-form .row { display: flex; gap: 1rem; flex-wrap: wrap; }
.inquiry-form .row .field { flex: 1; min-width: 200px; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: 0.8rem; font-weight: 600; color: var(--eakc-text-mid); }
.field .optional { font-weight: 400; color: var(--eakc-text-dim); }

.inquiry-form input[type="text"],
.inquiry-form input[type="email"],
.inquiry-form input[type="tel"],
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--eakc-border-strong);
  border-radius: 8px;
  background-color: var(--eakc-bg);
  color: var(--eakc-text);
  font-size: 0.95rem;
  font-family: inherit;
}
.inquiry-form input:focus, .inquiry-form select:focus, .inquiry-form textarea:focus {
  outline: none;
  border-color: var(--eakc-accent);
  box-shadow: 0 0 0 3px rgba(231, 139, 48, 0.18);
}
.inquiry-form textarea { min-height: 5rem; resize: vertical; }

.form-message { font-size: 0.9rem; font-weight: 600; color: #7FBD6E; }
.form-message.error { color: var(--eakc-accent-hover); }

/* ── 13. accessibility basics ─────────────────────────────────────────
   core/site.css deliberately leaves these to each client — the skip-link
   and focus ring need a color pair that reads against this client's own
   --accent. Dark text on the orange accent matches .cta-button above. */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 500;
  background: var(--eakc-accent);
  color: var(--eakc-on-accent);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  padding: 0.9rem 1.5rem;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--eakc-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── 14. footer ───────────────────────────────────────────────────────── */

footer {
  background-color: var(--eakc-bg);
  color: var(--eakc-text-dim);
  text-align: center;
  padding: 2rem 5%;
  font-size: 0.85rem;
  border-top: 1px solid var(--eakc-border);
}
footer a { color: var(--eakc-accent); text-decoration: none; }
footer a:hover { text-decoration: underline; }
.legal-links { display: flex; justify-content: center; gap: 1.25rem; margin-top: 0.75rem; flex-wrap: wrap; }

/* ── 15. booking wizard / admin radius match ─────────────────────────── */
/* core/admin.css and core/booking.css use sharp 2–4px corners by default;
   this client's real site uses ~8px rounded everything. Overriding just
   the radius (not the palette, which the token bridge above already
   handles) keeps the wizard/admin visually consistent with the rest of
   this site without forking either shared stylesheet. */
.btn, .type-card, .slot-row, .form, input, select, textarea,
.image-preview, .photo-cell, .admin-thumb, .event-thumb {
  border-radius: 8px;
}

/* ── 16. responsive ───────────────────────────────────────────────────── */

@media (max-width: 768px) {
  header { padding: 1rem; }
  .brand-subtitle { display: none; }
  .hamburger-menu { display: block; }

  nav#main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(18, 36, 28, 0.97);
    border-bottom: 1px solid var(--eakc-border);
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
  }
  nav#main-nav.active { display: flex; }
  header nav a { margin: 0.75rem 0; font-size: 1.1rem; }
  .cta-button { margin: 0.75rem 0 0; }

  .timeline-item { flex-direction: column; }
  .timeline-date { width: auto; align-self: flex-start; }
}
