/* Rated RV — static rebuild, "serious outdoor outfitter" pass.
   Palette: charcoal + campfire rust + warm tan, unified across the page
   AND the Wheelbase booking/reviews widgets (recolored via their data attrs).
   Fonts: Bevan for big woodsy display headlines, Oswald for condensed
   labels/badges, Inter for body copy. */

:root {
  --ink: #1c1a17;
  --ink-soft: #2a2622;
  --canvas: #f5efe4;
  --rust: #c1502e;
  --rust-deep: #9c3d21;
  --tan: #d9a566;
  --cream: #f5efe4;
  --max-width: 1120px;

  --font-display: 'Bevan', Georgia, serif;
  --font-label: 'Oswald', sans-serif;
  --font-body: 'Inter', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.6;
}

h1, h2 {
  font-family: var(--font-display);
  line-height: 1.2;
  letter-spacing: 0.5px;
  color: var(--ink);
}

h3 {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;
  color: var(--rust);
}

a { color: var(--rust); }

.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.85rem 1.75rem;
  background: var(--rust);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 3px;
  border: 2px solid var(--rust);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover {
  transform: translateY(-2px);
  background: transparent;
  color: var(--rust);
}
.btn--sm { padding: 0.5rem 1rem; margin-top: 0; font-size: 0.85rem; }
.btn--lg { padding: 1.1rem 2.5rem; font-size: 1.1rem; margin-top: 1.5rem; }

/* Top bar */
.topbar {
  background: var(--ink);
  color: #fff;
  font-size: 0.85rem;
  font-family: var(--font-label);
  letter-spacing: 0.5px;
}
.topbar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.5rem 1.25rem;
  text-align: center;
}
.topbar a { color: var(--tan); text-decoration: none; }

/* Main nav */
.mainnav {
  background: var(--canvas);
  border-bottom: 1px solid rgba(28,26,23,0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}
.mainnav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mainnav__logo img { height: 46px; display: block; }
.mainnav__links { display: flex; align-items: center; gap: 1.5rem; }
.mainnav__links a {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-label);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.mainnav__links a:hover { color: var(--rust); }

/* Mobile nav toggle (hidden on desktop) */
.mainnav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}
.mainnav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.mainnav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mainnav__toggle.is-open span:nth-child(2) { opacity: 0; }
.mainnav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28,26,23,0.35) 0%, rgba(28,26,23,0.65) 60%, rgba(28,26,23,0.92) 100%);
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.25rem;
  color: #fff;
  text-align: center;
}
.hero__badge {
  display: inline-block;
  background: var(--rust);
  color: #fff;
  font-family: var(--font-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.8rem;
  padding: 0.4rem 1rem;
  border-radius: 2px;
  margin-bottom: 0.75rem;
}
.hero__logo { display: block; max-width: 180px; margin: 0 auto 1.25rem; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5)); }
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  margin: 0.4rem 0;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.hero p {
  max-width: 620px;
  margin: 0 auto 0.5rem;
  font-size: 1.1rem;
  color: rgba(245,239,228,0.92);
}

/* Trust strip */
.trust {
  background: var(--ink);
  padding: 3rem 1.25rem;
}
.trust__grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.trust__item h3 { color: var(--tan); }
.trust__item p { color: rgba(245,239,228,0.8); font-size: 0.95rem; margin-top: 0.5rem; }

/* Fleet / booking widget */
.fleet {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.25rem;
  text-align: center;
}
.fleet h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  position: relative;
  display: inline-block;
  padding-bottom: 0.75rem;
}
.fleet h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 70px;
  height: 4px;
  background: var(--rust);
  transform: translateX(-50%);
}
.section__intro { max-width: 560px; margin: 0.5rem auto 2rem; color: var(--ink-soft); }
#outdoorsy-book-now-container { max-width: 100%; margin: 0 auto; text-align: left; }

/* Feature band (mountain road van) */
.feature-band {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.feature-band__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-band__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(28,26,23,0.85) 0%, rgba(28,26,23,0.35) 100%);
}
.feature-band__content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.25rem;
  color: #fff;
}
.feature-band__content h2 { color: #fff; font-size: clamp(1.6rem, 3.5vw, 2.4rem); max-width: 520px; }
.feature-band__content p { max-width: 480px; color: rgba(245,239,228,0.9); }

/* Reviews */
.reviews {
  position: relative;
  padding: 5rem 1.25rem;
  overflow: hidden;
}
.reviews__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.reviews__overlay {
  position: absolute;
  inset: 0;
  background: rgba(245,239,228,0.94);
  z-index: 1;
}
.reviews__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}
.reviews__content h2 { color: var(--ink); margin-bottom: 2rem; }
#wheelbase-reviews {
  max-width: 100%;
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 10px 25px rgba(28,26,23,0.15);
}
/* Safety net: force the third-party widget's own text dark, in case it
   assumes a light background internally. If it still looks off once the
   widget actually renders live, tell me what's happening and I'll adjust. */
#wheelbase-reviews, #wheelbase-reviews * { color: var(--ink); }

/* About / meet the owner */
.about {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.25rem 6rem;
}
.about h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  position: relative;
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}
.about h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 70px;
  height: 4px;
  background: var(--rust);
}
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(28,26,23,0.25);
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.about__text p { color: var(--ink-soft); }
.about__text strong { color: var(--rust-deep); }

.about__quote {
  max-width: 640px;
  margin: 3rem auto 0;
  padding: 0 1.25rem;
  text-align: center;
  border: none;
}
.about__quote p {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  line-height: 1.5;
  color: var(--rust-deep);
}

.about__framed {
  margin: 2rem 0 0;
  text-align: center;
}
.about__framed img {
  max-width: 320px;
  width: 100%;
  border: 6px solid #fff;
  border-radius: 2px;
  transform: rotate(-2.5deg);
  box-shadow: 0 10px 25px rgba(28,26,23,0.35);
}
.about__framed figcaption {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  color: var(--rust-deep);
  margin-top: 1rem;
}

/* Contact */
.contact {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 5rem 1.25rem;
}
.contact h2 { color: #fff; }
.contact p { max-width: 480px; margin: 0 auto; color: rgba(245,239,228,0.85); }

/* Footer */
.site-footer {
  text-align: center;
  padding: 2.5rem 1.25rem;
  background: var(--ink);
  color: #fff;
  border-top: 1px solid rgba(217,165,102,0.3);
}
.site-footer img { max-width: 90px; margin-bottom: 0.5rem; }
.site-footer p { margin: 0.25rem 0; font-size: 0.85rem; }
.site-footer a { color: var(--tan); }
.site-footer .credit a { color: rgba(245,239,228,0.6); }

/* Responsive */
@media (max-width: 820px) {
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; }

  .mainnav__toggle { display: flex; }

  .mainnav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--canvas);
    border-bottom: 1px solid rgba(28,26,23,0.1);
    box-shadow: 0 8px 16px rgba(28,26,23,0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .mainnav__links.is-open { max-height: 320px; }
  .mainnav__links a { padding: 0.9rem 1.25rem; width: 100%; }
  .mainnav__links a.btn { margin: 0.75rem 1.25rem 1rem; width: calc(100% - 2.5rem); text-align: center; }
}
