/* OnAdventure — hand-built replacement for the WordPress/Salient theme.
   Design tokens extracted from the original rendered site. */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/montserrat.woff2) format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/opensans-600.woff2) format('woff2');
}

:root {
  --grad-from: #7b868c;
  --grad-to: #485359;
  --brand-gradient: linear-gradient(to right, var(--grad-from), var(--grad-to));
  --text: #676767;
  --heading: #444;
  --hero-bg: #454156;
  --header-w: 275px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 30px;
  color: var(--text);
  background: #fff;
}

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

/* ---------- Header / navigation ---------- */

.site-header {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--header-w);
  background: #fff;
  z-index: 100;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.logo img { width: 180px; height: auto; }

.menu-toggle { display: none; }

.site-nav { display: flex; flex-direction: column; gap: 14px; margin: auto 0; }

.site-nav a {
  font-size: 15px;
  font-weight: 500;
  line-height: 2;
  color: #999;
  text-decoration: none;
  transition: color .2s ease;
}
.site-nav a:hover, .site-nav a.active { color: #262a2b; }

main { margin-left: var(--header-w); }

/* ---------- Sections ---------- */

section { min-height: 100vh; min-height: 100svh; }

/* Hero */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(rgba(10, 10, 10, .5), rgba(10, 10, 10, .5)),
    var(--hero-bg) url(/img/hero-bg.jpg) center top / cover no-repeat;
  background-image:
    linear-gradient(rgba(10, 10, 10, .5), rgba(10, 10, 10, .5)),
    image-set(url(/img/hero-bg.avif) type('image/avif'), url(/img/hero-bg.jpg) type('image/jpeg'));
  color: #fff;
  padding: 80px 24px;
}

.hero h1 {
  font-size: 50px;
  font-weight: 700;
  line-height: 1.32;
  margin-bottom: 18px;
}

.hero p {
  max-width: 640px;
  margin: 0 auto 34px;
}

/* Amazon section */
.amazon {
  display: flex;
  align-items: center;
  background: #fff;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 48px;
}

.split-text h2 {
  font-size: 50px;
  font-weight: 700;
  line-height: 1.32;
  margin-bottom: 22px;
}

.split-text p { margin-bottom: 30px; }

.split-media img { width: 100%; }

.gradient-text {
  color: var(--grad-to);
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Reviews */
.reviews {
  background: #fff;
  text-align: center;
  padding: 110px 48px 80px;
}

.reviews h2 {
  font-size: 32px;
  font-weight: 500;
  color: var(--heading);
  line-height: 1.4;
}

.divider {
  width: 120px;
  height: 3px;
  background: var(--brand-gradient);
  margin: 15px auto 48px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  padding: 16px 22px;
  text-decoration: none;
  border: 2.4px solid;
  background-image: linear-gradient(to right, transparent, transparent);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.btn:hover {
  background-image: var(--brand-gradient);
  border-color: transparent;
  color: #fff;
}

.btn-light { color: #fff; border-color: #fff; }
.btn-dark  { color: var(--grad-to); border-color: var(--grad-to); }

/* ---------- Section dots ---------- */

.dots {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 100;
}

.dots a {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, .35);
  background: transparent;
  transition: background .2s ease, transform .2s ease;
}

.hero-in-view .dots a { border-color: rgba(255, 255, 255, .7); }

.dots a.active {
  background: var(--grad-to);
  border-color: var(--grad-to);
  transform: scale(1.2);
}
.hero-in-view .dots a.active { background: #fff; border-color: #fff; }

/* ---------- Mobile ---------- */

@media (max-width: 999px) {
  .site-header {
    inset: 0 0 auto 0;
    width: auto;
    height: 64px;
    padding: 0 16px;
    flex-direction: row;
    align-items: center;
    gap: 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
  }

  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .logo img { width: 110px; }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: 0;
    cursor: pointer;
  }
  .menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #999;
  }

  .site-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 24px 28px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, .1);
    display: none;
  }

  .site-nav a {
    font-family: 'Open Sans', sans-serif;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -1px;
    line-height: 1.5;
    color: var(--heading);
  }
  body.menu-open .site-nav { display: flex; }

  main { margin-left: 0; padding-top: 64px; }
  .hero { min-height: calc(100svh - 64px); }

  .hero h1, .split-text h2 { font-size: 35px; }

  .split { grid-template-columns: 1fr; padding: 56px 24px; }

  .reviews { padding: 72px 20px 56px; }
  .dots { display: none; }
}
