/* =====================================================
   BRIAN HEAD OUTDOOR ADVENTURES — SITE STYLES
   ===================================================== */

:root {
  --black:      #0a0a0a;
  --charcoal:   #1c1c1e;
  --dark:       #111111;
  --gray-dark:  #3a3a3c;
  --gray:       #8e8e93;
  --gray-light: #d1d1d6;
  --ash:        #f5f5f0;
  --stone:      #e5e2dc;
  --white:      #ffffff;
  --red:        #d42b20;
  --red-dark:   #a91f16;
  --max:        1200px;
  --header-height: 80px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  color: var(--charcoal);
  background: var(--ash);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { color: inherit; }

h1, h2, h3, h4, h5 {
  font-family: 'Oswald', 'Arial Black', Arial, sans-serif;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ── HEADER ── */
.site-header {
  position: fixed;
  z-index: 50;
  top: 0; right: 0; left: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 clamp(16px, 4vw, 48px);
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--white);
  transition: background 200ms ease, box-shadow 200ms ease;
}

.site-header.is-scrolled {
  background: rgba(10, 10, 10, 0.97);
  box-shadow: 0 2px 24px rgba(0,0,0,0.45);
}

.brand img {
  width: 68px;
  height: 58px;
  object-fit: contain;
}

/* ── NAV ── */
.primary-nav > ul,
.subnav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav > ul {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-item { position: relative; }

.nav-item > a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 10px;
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  transition: color 120ms;
}

.nav-item.is-active > a,
.nav-item > a:hover { color: var(--white); }

/* Book Now nav link styled as a pill button */
.primary-nav > ul > li:first-child > a {
  background: var(--red);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 3px;
  margin-right: 6px;
}
.primary-nav > ul > li:first-child > a:hover {
  background: var(--red-dark);
}

.subnav-toggle { display: none; }

.subnav {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 225px;
  padding: 8px 0;
  background: rgba(10,10,10,0.97);
  border-top: 2px solid var(--red);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
}

.has-children:hover > .subnav,
.has-children:focus-within > .subnav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.subnav .nav-item > a {
  min-height: 34px;
  text-transform: none;
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 8px 18px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  padding: 10px;
  cursor: pointer;
  gap: 4px;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  background: var(--white);
  transition: transform 200ms, opacity 200ms;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height) + 60px) 24px 80px;
  color: var(--white);
  text-align: center;
  background-image:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.28) 0%,
      rgba(0,0,0,0.52) 60%,
      rgba(0,0,0,0.68) 100%
    ),
    var(--hero-image);
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

.sub-hero {
  min-height: 62vh;
}

.hero-content {
  width: min(920px, 100%);
  text-shadow: 0 2px 18px rgba(0,0,0,0.55);
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(48px, 9vw, 96px);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero p {
  margin: 0 auto 32px;
  max-width: 700px;
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 500;
  line-height: 1.5;
  opacity: 0.95;
}

.polaris {
  width: min(300px, 75vw);
  margin: 0 auto 18px;
}

/* ── BUTTONS ── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 28px;
  border: 2px solid transparent;
  border-radius: 3px;
  font-family: 'Oswald', 'Arial Black', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease,
              transform 160ms ease, box-shadow 160ms ease;
  cursor: pointer;
  white-space: nowrap;
}

.button-red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.button-red:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,43,32,0.4);
}

.button-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.65);
}
.button-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

.button-outline-dark {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.button-outline-dark:hover {
  background: var(--charcoal);
  color: var(--white);
}

.button-light {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.button-light:hover {
  background: var(--ash);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--dark);
}

.trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max);
  margin: 0 auto;
}

.trust-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 16px;
  text-align: center;
  color: var(--white);
  border-right: 1px solid rgba(255,255,255,0.08);
}
.trust-stat:last-child { border-right: none; }

.trust-number {
  font-family: 'Oswald', sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  margin-bottom: 5px;
}

.trust-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
}

/* ── LOCATIONS SECTION ── */
.locations-section {
  padding: 90px 24px;
  background: var(--white);
}

.locations-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.location-card {
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  transition: transform 200ms ease, box-shadow 200ms ease;
  display: flex;
  flex-direction: column;
}
.location-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.14);
}

.location-card-img {
  height: 220px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}

.location-card-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.location-card-body .button {
  margin-top: auto;
}

.location-card-body h3 {
  font-size: 27px;
  color: var(--black);
}

.location-card-body p {
  color: var(--gray-dark);
  font-size: 15px;
  line-height: 1.65;
}

/* ── VEHICLES ── */
.vehicle-band {
  padding: 90px 24px;
  text-align: center;
  background: var(--ash);
}

.vehicle-band h2 {
  font-size: clamp(34px, 5vw, 52px);
  margin-bottom: 10px;
}

.vehicle-band-sub {
  font-size: 17px;
  color: var(--gray-dark);
  margin-bottom: 48px;
}

.vehicle-grid {
  width: min(var(--max), 100%);
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: end;
}

.vehicle-item {
  display: grid;
  gap: 10px;
  text-align: center;
}

.vehicle-grid img {
  width: 100%;
  aspect-ratio: 1.3;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.12));
  transition: transform 220ms ease, filter 220ms ease;
}
.vehicle-item:hover img {
  transform: scale(1.05) translateY(-4px);
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.2));
}

.vehicle-name {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--charcoal);
}

.vehicle-seats {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray);
}

/* ── DESTINATIONS ── */
.destinations {
  padding: 90px 24px;
  color: var(--white);
  background-image:
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.56)),
    var(--section-image);
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

.section-heading {
  width: min(780px, 100%);
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(36px, 5vw, 60px);
  margin-bottom: 12px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.5);
}

.section-heading p {
  font-size: 18px;
  line-height: 1.65;
  opacity: 0.9;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

.section-heading.dark h2 {
  text-shadow: none;
  color: var(--charcoal);
}
.section-heading.dark p {
  opacity: 1;
  text-shadow: none;
  color: var(--gray-dark);
}

.destination-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 14px;
}

.destination-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 10px;
  background: rgba(255,255,255,0.9);
  border: 2px solid transparent;
  border-radius: 5px;
  text-decoration: none;
  color: var(--black);
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}
.destination-tile:hover {
  transform: translateY(-4px);
  background: var(--white);
  border-color: var(--red);
}

.destination-tile img {
  max-height: 78px;
  object-fit: contain;
}

.destination-tile-label {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  line-height: 1.3;
}

/* ── HOW IT WORKS ── */
.how-it-works {
  padding: 90px 24px;
  background: var(--white);
  text-align: center;
}

.steps-grid {
  width: min(940px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: start;
}

.step {
  display: grid;
  gap: 14px;
  justify-items: center;
}

.step-num {
  width: 66px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-size: 30px;
  font-weight: 700;
  border-radius: 50%;
}

.step h3 {
  font-size: 21px;
  color: var(--black);
}

.step p {
  font-size: 15px;
  color: var(--gray-dark);
  line-height: 1.7;
}

/* ── HERO CTA BAND ── */
.hero-cta-band {
  padding: 110px 24px;
  text-align: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--black) 60%);
}

.hero-cta-band h2 {
  font-size: clamp(42px, 7vw, 76px);
  margin-bottom: 14px;
}

.hero-cta-band p {
  font-size: 19px;
  opacity: 0.88;
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ── SPLIT SECTION (inner pages) ── */
.split-section,
.content-band,
.page-title,
.cta-band {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.split-section {
  padding: 80px 0;
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.callout,
.info-panel,
.contact-card,
.simple-card {
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: 5px;
  padding: 24px;
}

.callout {
  display: grid;
  gap: 10px;
  border-left: 5px solid var(--red);
}

.content-band {
  padding: 80px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
}

.prose {
  font-size: 18px;
  line-height: 1.75;
}

.prose h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 42px);
}

.prose p {
  margin-bottom: 16px;
  color: var(--gray-dark);
}

.prose p:last-child { margin-bottom: 0; }

.info-panel ul {
  margin: 10px 0 0;
  padding-left: 22px;
}

.info-panel li { margin-bottom: 6px; font-size: 15px; }

.page-title {
  padding: 148px 0 52px;
  text-align: center;
}

.page-title h1 {
  font-size: clamp(38px, 6vw, 64px);
  margin-bottom: 16px;
}

.page-title p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 19px;
  color: var(--gray-dark);
}

/* ── MAP PAGE ── */
.map-section {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto 80px;
  display: grid;
  gap: 24px;
}

.map-section a {
  display: block;
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: 5px;
  padding: 12px;
}

.map-section img {
  width: 100%;
  max-height: 84vh;
  object-fit: contain;
}

/* ── CTA BAND (inner pages) ── */
.cta-band {
  margin-bottom: 80px;
  padding: 56px 36px;
  text-align: center;
  color: var(--white);
  background: var(--black);
  border-radius: 5px;
}

.cta-band h2 {
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: 20px;
}

/* ── GALLERY ── */
.gallery-grid,
.card-grid,
.contact-grid {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto 80px;
  display: grid;
  gap: 18px;
}

.gallery-grid { grid-template-columns: repeat(3, 1fr); }

.gallery-grid a {
  display: block;
  background: var(--black);
  overflow: hidden;
  border-radius: 4px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 300ms ease, opacity 300ms ease;
}

.gallery-grid a:hover img {
  transform: scale(1.05);
  opacity: 0.88;
}

.card-grid,
.contact-grid { grid-template-columns: repeat(4, 1fr); }

.simple-card,
.contact-card {
  display: grid;
  gap: 8px;
  text-decoration: none;
  transition: border-color 150ms, box-shadow 150ms;
}

.simple-card:hover,
.contact-card:hover {
  border-color: var(--red);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.contact-card { grid-template-rows: auto 1fr; }

/* ── FOOTER ── */
.site-footer {
  background: var(--black);
  color: var(--white);
}

.footer-cta {
  padding: 56px 32px;
  text-align: center;
  background: var(--red);
}

.footer-cta h2 {
  font-size: clamp(26px, 4vw, 44px);
  margin-bottom: 10px;
}

.footer-cta p {
  font-size: 17px;
  opacity: 0.92;
  margin-bottom: 26px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.footer-body {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding: 60px clamp(24px, 6vw, 72px);
}

.footer-body > div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-logo { width: 80px; margin-bottom: 4px; }

.footer-body p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
}

.footer-body a,
.footer-body span {
  font-size: 14px;
  color: rgba(255,255,255,0.68);
  text-decoration: none;
}

.footer-body a:hover { color: var(--white); }

.footer-body strong {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 4px;
}

.footer-bottom {
  padding: 18px clamp(24px, 6vw, 72px);
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
}

.footer-bottom a:hover { color: rgba(255,255,255,0.65); }

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* ── FIXED BOOK BUTTON ── */
.fixed-book {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  padding: 14px 22px;
  color: var(--white);
  background: var(--red);
  font-family: 'Oswald', 'Arial Black', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-radius: 4px;
  box-shadow: 0 6px 24px rgba(212,43,32,0.45);
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.fixed-book:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(212,43,32,0.55);
}

/* ── RESPONSIVE: TABLET ── */
@media (max-width: 1100px) {
  .primary-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    background: rgba(10,10,10,0.98);
    transform: translateY(-120%);
    transition: transform 200ms ease;
    z-index: 49;
  }

  .nav-open .primary-nav { transform: translateY(0); }

  .primary-nav > ul {
    display: block;
    padding: 14px 18px 32px;
  }

  .nav-item > a {
    padding: 12px 8px;
    font-size: 15px;
  }

  .menu-toggle { display: flex; }

  .subnav {
    position: static;
    display: none;
    min-width: 0;
    padding: 0 0 0 20px;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border-top: none;
  }

  .subnav-open > .subnav { display: block; }

  .subnav-toggle {
    position: absolute;
    top: 4px;
    right: 0;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    color: var(--white);
    background: transparent;
    font-size: 26px;
    cursor: pointer;
  }

  .trust-bar-inner { grid-template-columns: repeat(4, 1fr); }
  .locations-grid { grid-template-columns: 1fr 1fr; }
  .destination-grid { grid-template-columns: repeat(3, minmax(120px, 1fr)); }
  .steps-grid { grid-template-columns: 1fr; max-width: 460px; }
  .footer-body { grid-template-columns: 1fr 1fr; }
}

/* ── RESPONSIVE: MOBILE ── */
@media (max-width: 760px) {
  :root { --header-height: 68px; }

  .hero {
    min-height: 100svh;
    background-attachment: scroll;
    padding: calc(var(--header-height) + 50px) 18px 64px;
  }

  .destinations { background-attachment: scroll; }

  .hero h1 { font-size: 52px; }
  .hero p { font-size: 18px; }

  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .trust-stat:nth-child(2n) { border-right: none; }
  .trust-stat:last-child { border-bottom: none; }

  .locations-grid,
  .steps-grid,
  .contact-grid,
  .split-section,
  .content-band,
  .footer-body { grid-template-columns: 1fr; }

  .vehicle-grid { grid-template-columns: repeat(2, 1fr); }
  .destination-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .card-grid { grid-template-columns: 1fr 1fr; }

  .split-section,
  .content-band {
    width: calc(100% - 36px);
    padding: 56px 0;
  }

  .page-title {
    width: calc(100% - 36px);
    padding-top: 116px;
  }

  .cta-band {
    width: calc(100% - 36px);
    padding: 36px 20px;
  }

  .hero-cta-band { padding: 72px 20px; }

  .button { min-width: 180px; }

  .footer-body { padding: 40px 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .fixed-book {
    right: 12px;
    bottom: 12px;
    padding: 12px 16px;
    font-size: 14px;
  }
}
