/* =================================================================
   Fun USA Tours — homepage hub
   Tokens mirror the live funhoustontours.com (Elementor) build.
   ================================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette (from the live site's Elementor globals) */
  --navy:        #0a2342;   /* primary   */
  --navy-2:      #2a415c;   /* secondary */
  --text:        #4a5a6d;   /* body copy (slightly darker than site --text for contrast) */
  --text-soft:   #7a8a9d;
  --line:        #b2beca;   /* accent / borders */
  --tint-1:      #e2eaf1;
  --tint-2:      #eaf2f8;
  --tint-3:      #f2f9fe;

  /* CTA + accent colours */
  --cta:         #d81b60;
  --cta-2:       #dd3a76;   /* hover / gradient stop */
  --yellow:      #ffc145;
  --cyan:        #48b8d0;
  --purple:      #8075ff;
  --green:       #3bb273;

  --white:       #ffffff;

  /* Type */
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-body:    "Manrope", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Shape */
  --radius:      18px;
  --radius-sm:   12px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 4px 14px rgba(10, 35, 66, .07);
  --shadow:    0 14px 40px rgba(10, 35, 66, .12);
  --shadow-lg: 0 26px 60px rgba(10, 35, 66, .18);

  /* Layout */
  --maxw: 1180px;
  --gap:  clamp(16px, 3vw, 32px);
  --header-h: 76px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; color: var(--navy); line-height: 1.05; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(18px, 5vw, 40px); }

/* Display headings use Bebas Neue — tall condensed caps, so add letter-spacing */
.hero__title,
.section__title,
.cta-band__title,
.dest-card__name {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: .5px;
  text-transform: uppercase;
}

/* =================================================================
   Buttons
   ================================================================= */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  line-height: 1;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--cta {
  --btn-bg: var(--cta);
  background: linear-gradient(135deg, var(--cta), var(--cta-2));
  box-shadow: 0 10px 24px rgba(216, 27, 96, .32);
}
.btn--cta:hover { box-shadow: 0 14px 30px rgba(216, 27, 96, .42); }

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--navy); background: var(--navy); color: #fff; }

.btn--lg { padding: 17px 32px; font-size: 1.02rem; }
.btn--sm { padding: 11px 18px; font-size: .85rem; }

/* =================================================================
   Header / nav
   ================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); border-color: var(--tint-1); }
.site-header__inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand__mark { color: var(--cta); display: inline-flex; }
.brand__text { font-size: 1.18rem; color: var(--navy); letter-spacing: .2px; }
.brand__text strong { color: var(--cta); }
.brand--light .brand__text { color: #fff; }
.brand--light .brand__mark { color: var(--yellow); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; align-items: center; gap: 26px; }
.nav__link { font-weight: 600; font-size: .96rem; color: var(--navy-2); position: relative; }
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--cta); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav__link:hover { color: var(--navy); }
.nav__link:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: .25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =================================================================
   Hero
   ================================================================= */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  /* Replace with photo: a city skyline. Gradient is the placeholder. */
  background:
    radial-gradient(120% 90% at 80% -10%, rgba(72,184,208,.35), transparent 55%),
    radial-gradient(110% 80% at 0% 110%, rgba(216,27,96,.40), transparent 55%),
    linear-gradient(135deg, #0a2342 0%, #15315a 45%, #2a415c 100%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .5;
}
.hero__inner {
  position: relative; z-index: 1;
  padding-top: clamp(56px, 9vw, 110px);
  padding-bottom: clamp(70px, 10vw, 130px);
  max-width: 760px;
}
.hero__eyebrow {
  margin: 0 0 18px;
  font-weight: 700; font-size: .8rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--yellow);
}
.hero__title {
  color: #fff;
  font-size: clamp(3rem, 8vw, 6rem);
  margin-bottom: 22px;
}
.hero__lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: #d7e2ef; max-width: 60ch; margin: 0 0 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.btn--ghost.btn--lg { color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost.btn--lg:hover { background: #fff; color: var(--navy); border-color: #fff; }

.hero__picker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hero__picker-label { color: #aebccd; font-size: .9rem; font-weight: 600; }
.chip {
  display: inline-flex; align-items: center;
  padding: 8px 16px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  font-size: .9rem; font-weight: 600; color: #fff;
  transition: background .2s ease, transform .15s ease;
}
.chip:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }

/* Trust strip */
.hero__stats { position: relative; z-index: 1; background: rgba(0,0,0,.18); border-top: 1px solid rgba(255,255,255,.12); }
.hero__stats-inner { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 22px; }
.stat { flex: 1 1 120px; text-align: center; }
.stat__num { display: block; font-family: var(--font-display); font-size: 2.2rem; color: #fff; line-height: 1; }
.stat__label { font-size: .82rem; letter-spacing: 1px; text-transform: uppercase; color: #aebccd; }

/* =================================================================
   Section scaffolding
   ================================================================= */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section--tint { background: var(--tint-3); }
.section--navy { background: var(--navy); }

.section__head { max-width: 640px; margin: 0 auto clamp(32px, 5vw, 54px); text-align: center; }
.section__head--row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  max-width: none; text-align: left;
}
.section__eyebrow {
  margin: 0 0 10px; font-weight: 700; font-size: .78rem; letter-spacing: 2px;
  text-transform: uppercase; color: var(--cta);
}
.section__title { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.section__sub { margin: 14px 0 0; color: var(--text-soft); font-size: 1.05rem; }
.section__head--light .section__title { color: #fff; }
.section__head--light .section__eyebrow { color: var(--yellow); }

/* =================================================================
   Destinations grid
   ================================================================= */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.dest-card {
  position: relative; display: block;
  border-radius: var(--radius); overflow: hidden;
  min-height: 280px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  isolation: isolate;
}
.dest-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.dest-card--featured { grid-column: span 2; grid-row: span 1; min-height: 320px; }

.dest-card .media { position: absolute; inset: 0; z-index: -2; transition: transform .5s ease; }
.dest-card:hover .media { transform: scale(1.06); }
/* dark gradient so white text stays readable over the placeholder media */
.dest-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(7,22,42,.85) 0%, rgba(7,22,42,.25) 55%, rgba(7,22,42,.05) 100%);
}
.dest-card__body { position: relative; display: block; padding: 26px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; }
.dest-card__name { font-size: clamp(2rem, 3vw, 2.8rem); color: #fff; }
.dest-card--featured .dest-card__name { font-size: clamp(2.6rem, 4.5vw, 4rem); }
.dest-card__tag { font-weight: 600; color: #e7eef6; margin-top: 4px; }
.dest-card__meta { margin-top: 12px; font-size: .9rem; font-weight: 700; color: var(--yellow); letter-spacing: .3px; }
.dest-card__badge {
  position: absolute; top: 16px; left: 16px; z-index: 1;
  background: linear-gradient(135deg, var(--cta), var(--cta-2));
  color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  padding: 7px 13px; border-radius: var(--radius-pill);
  box-shadow: 0 6px 16px rgba(216,27,96,.4);
}

/* ---- Placeholder "photos": distinct gradient per destination ----
   Replace each .media--* with a real <img> when assets are ready. */
.media--houston    { background: linear-gradient(150deg, #1e3a6b, #48b8d0); }
.media--galveston  { background: linear-gradient(150deg, #0f6e8c, #ffc145); }
.media--austin     { background: linear-gradient(150deg, #5a3aa0, #8075ff); }
.media--san-antonio{ background: linear-gradient(150deg, #b03a2e, #ffc145); }
.media--dallas     { background: linear-gradient(150deg, #163a5f, #3bb273); }
.media--space      { background: linear-gradient(150deg, #0a2342, #8075ff); }
.media--combo      { background: linear-gradient(150deg, #1e3a6b, #d81b60); }

/* =================================================================
   Why us / features
   ================================================================= */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.feature {
  background: #fff; border-radius: var(--radius); padding: 30px 26px;
  border: 1px solid var(--tint-1); box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature__icon {
  --ic: var(--cyan);
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 16px;
  color: var(--ic); background: color-mix(in srgb, var(--ic) 14%, #fff);
  margin-bottom: 18px;
}
.feature__title { font-size: 1.18rem; margin-bottom: 8px; }
.feature__text { margin: 0; color: var(--text-soft); font-size: .98rem; }

/* =================================================================
   Popular tours
   ================================================================= */
.tour-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.tour-card {
  display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--tint-1); box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.tour-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.tour-card__media { position: relative; aspect-ratio: 4 / 3; display: block; }
.tour-card__city {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(10,35,66,.78); color: #fff;
  font-size: .74rem; font-weight: 700; letter-spacing: .4px;
  padding: 6px 11px; border-radius: var(--radius-pill);
}
.tour-card__body { display: flex; flex-direction: column; gap: 12px; padding: 20px; flex: 1; }
.tour-card__title { font-size: 1.1rem; line-height: 1.25; }
.tour-card__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 0; font-size: .85rem; color: var(--text-soft); }
.tour-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font-family: var(--font-display); font-size: 1.7rem; color: var(--navy); line-height: 1; }
.price__from { display: block; font-family: var(--font-body); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-soft); }

/* =================================================================
   How it works (steps)
   ================================================================= */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); counter-reset: step; }
.step {
  position: relative; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius);
  padding: 34px 28px; color: #d7e2ef;
}
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  font-family: var(--font-display); font-size: 1.6rem; color: var(--navy);
  background: var(--yellow); margin-bottom: 18px;
}
.step__title { color: #fff; font-size: 1.25rem; margin-bottom: 8px; }
.step__text { margin: 0; font-size: .98rem; }

/* =================================================================
   Testimonials slider
   ================================================================= */
.reviews { max-width: 760px; margin-inline: auto; }
.reviews__track { position: relative; min-height: 230px; }
.review {
  position: absolute; inset: 0; margin: 0; text-align: center;
  background: #fff; border: 1px solid var(--tint-1); border-radius: var(--radius);
  padding: 40px clamp(24px, 5vw, 54px); box-shadow: var(--shadow-sm);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .4s ease, transform .4s ease, visibility .4s;
}
.review.is-active { opacity: 1; visibility: visible; transform: none; position: relative; }
.review__stars { color: var(--yellow); font-size: 1.3rem; letter-spacing: 3px; margin-bottom: 18px; }
.review__quote { font-size: clamp(1.1rem, 2.4vw, 1.45rem); color: var(--navy); line-height: 1.45; margin: 0 0 22px; font-weight: 500; }
.review__author { color: var(--text-soft); }
.review__author strong { display: block; color: var(--navy); font-size: 1.02rem; }
.review__author span { font-size: .9rem; }

.reviews__controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }
.reviews__btn {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--navy); font-size: 1.5rem; line-height: 1; cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .15s ease;
}
.reviews__btn:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.reviews__dots { display: flex; gap: 9px; }
.reviews__dots button {
  width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: var(--line); transition: background .2s ease, transform .2s ease;
}
.reviews__dots button.is-active { background: var(--cta); transform: scale(1.25); }

/* =================================================================
   CTA band
   ================================================================= */
.cta-band {
  background: linear-gradient(135deg, var(--cta) 0%, var(--cta-2) 60%, #b3164f 100%);
  color: #fff;
}
.cta-band__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  padding-block: clamp(40px, 6vw, 64px);
}
.cta-band__title { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.cta-band__text { margin: 8px 0 0; color: #ffe2ee; }
.cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.cta-band__phone { font-weight: 800; font-size: 1.25rem; color: #fff; }
.cta-band .btn--cta { background: #fff; color: var(--cta); box-shadow: 0 12px 28px rgba(0,0,0,.18); }
.cta-band .btn--cta:hover { background: var(--navy); color: #fff; }

/* =================================================================
   Footer
   ================================================================= */
.site-footer { background: var(--navy); color: #aebccd; }
.site-footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px;
  padding-block: clamp(48px, 7vw, 72px);
}
.site-footer__about { margin: 16px 0 0; font-size: .95rem; max-width: 34ch; }
.site-footer__heading { color: #fff; font-size: 1rem; margin-bottom: 16px; letter-spacing: .3px; }
.site-footer__col a:hover { color: #fff; }
.site-footer__col li { margin-bottom: 10px; }
.site-footer__contact li { margin-bottom: 14px; line-height: 1.5; }
.site-footer__bar { border-top: 1px solid rgba(255,255,255,.1); }
.site-footer__bar-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  padding-block: 20px; font-size: .85rem;
}
.site-footer__bar a:hover { color: #fff; }

/* =================================================================
   Responsive
   ================================================================= */
@media (max-width: 980px) {
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .dest-card--featured { grid-column: span 2; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .tour-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  /* Mobile nav */
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--tint-1);
    padding: 12px 24px 22px;
    box-shadow: var(--shadow);
    transform: translateY(-130%); transition: transform .3s ease;
  }
  .nav.is-open { transform: translateY(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { display: block; padding: 14px 0; border-bottom: 1px solid var(--tint-1); }
  .nav__link::after { display: none; }
  .nav__cta { margin-top: 14px; }

  .section__head--row { flex-direction: column; align-items: flex-start; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .dest-grid, .feature-grid, .tour-grid { grid-template-columns: 1fr; }
  .dest-card--featured { grid-column: auto; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
}
