/* ===========================================================
   Travis Tours and Travels — Premium Editorial Design System
   =========================================================== */

:root {
  --black: #0d0f0d;
  --charcoal: #15170f;
  --charcoal-2: #1c1f18;
  --cream: #f7f2e6;
  --cream-dim: #efe6d1;
  --ink: #17190f;
  --ink-soft: #5c5f4f;
  --ink-faint: #8a8d7a;
  --gold: #c6994e;
  --gold-light: #e4c485;
  --gold-deep: #9c7736;
  --teal: #1f6f63;
  --hairline-dark: rgba(247, 242, 230, 0.14);
  --hairline-light: rgba(23, 25, 15, 0.12);

  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --radius-sm: 4px;
  --radius-md: 10px;
  --container: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.4em;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.section { padding: 120px 0; }
.section--tight { padding: 72px 0; }
.section--dark { background: var(--black); color: var(--cream-dim); }
.section--dark h2, .section--dark h3 { color: var(--cream); }
.section--charcoal { background: var(--charcoal); color: var(--cream-dim); }
.section--charcoal h2, .section--charcoal h3 { color: var(--cream); }

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.kicker::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
.kicker--center { justify-content: center; }

.section-heading { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-heading .kicker { justify-content: center; }
.section-heading h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
.section-heading p { color: var(--ink-soft); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.section--dark .section-heading p, .section--charcoal .section-heading p { color: rgba(247,242,230,0.68); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 30px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn::after { content: '→'; transition: transform 0.25s ease; }
.btn:hover::after { transform: translateX(4px); }

.btn--primary { background: var(--gold); color: var(--black); }
.btn--primary:hover { background: var(--gold-light); }

.btn--ghost { background: transparent; color: var(--cream); border-color: rgba(247,242,230,0.4); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-light); }

.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { border-color: var(--gold-deep); color: var(--gold-deep); }

.btn--dark { background: var(--black); color: var(--cream); }
.btn--dark:hover { background: var(--charcoal-2); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  border-bottom: 1px solid var(--hairline-dark);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  position: relative;
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--cream); }
.brand-word { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; line-height: 1; }
.brand-sub { display: block; font-family: var(--font-body); font-size: 0.55rem; font-weight: 600; letter-spacing: 0.18em; color: var(--gold); margin-top: 3px; }

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: #000;
  border: 1px solid rgba(198, 153, 78, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.nav-links { display: flex; gap: 40px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  position: relative;
  padding: 4px 0;
  color: rgba(247,242,230,0.75);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: -4px;
  height: 1px;
  background: var(--gold);
  transition: right 0.25s ease;
}
.nav-links a.is-active, .nav-links a:hover { color: var(--cream); }
.nav-links a.is-active::after, .nav-links a:hover::after { right: 0; }

.nav-cta { display: flex; align-items: center; gap: 24px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 1px; background: var(--cream); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  background: linear-gradient(180deg, rgba(13,15,13,0.35) 0%, rgba(13,15,13,0.55) 55%, rgba(13,15,13,0.92) 100%),
    url('https://images.unsplash.com/photo-1723709431768-d749b0d814b9?q=80&w=1800&auto=format&fit=crop') center/cover no-repeat;
  overflow: hidden;
  padding-bottom: 80px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top left, rgba(198,153,78,0.14), transparent 55%);
  pointer-events: none;
}

.hero-content { max-width: 720px; position: relative; }
.hero .kicker { color: var(--gold-light); }
.hero .kicker::before { background: var(--gold-light); }
.hero h1 {
  color: var(--cream);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 600;
}
.hero h1 em { font-style: italic; font-weight: 300; color: var(--gold-light); }
.hero p.lead { font-size: 1.15rem; color: rgba(247,242,230,0.82); max-width: 560px; font-family: var(--font-body); }
.hero-actions { display: flex; gap: 18px; margin-top: 36px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid var(--hairline-dark);
  padding-top: 28px;
}
.hero-stats div {
  padding: 0 32px;
  border-left: 1px solid var(--hairline-dark);
}
.hero-stats div:first-child { padding-left: 0; border-left: none; }
.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2rem;
  color: var(--cream);
}
.hero-stats div span { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(247,242,230,0.55); }

.page-hero {
  padding: 200px 0 96px;
  color: var(--cream);
  background: linear-gradient(180deg, rgba(13,15,13,0.55), rgba(13,15,13,0.88)),
    url('https://images.unsplash.com/photo-1623302485960-d61687113a11?q=80&w=1800&auto=format&fit=crop') center/cover no-repeat;
}
.page-hero .kicker { color: var(--gold-light); }
.page-hero .kicker::before { background: var(--gold-light); }
.page-hero h1 { color: var(--cream); font-size: clamp(2.4rem, 5vw, 3.6rem); max-width: 760px; }
.page-hero p { color: rgba(247,242,230,0.78); max-width: 620px; font-size: 1.05rem; }

/* ---------- Numbered value props ---------- */
.numbered-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.numbered-item { border-top: 1px solid var(--hairline-light); padding-top: 24px; }
.numbered-item .num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--gold-deep);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 14px;
}
.numbered-item h3 { font-size: 1.25rem; margin-bottom: 10px; }
.numbered-item p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

/* ---------- Bento featured packages ---------- */
.bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}
.bento-feature {
  grid-row: 1 / 3;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 480px;
  color: var(--cream);
  background-size: cover;
  background-position: center;
}
.bento-feature::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(13,15,13,0.88) 0%, rgba(13,15,13,0.25) 55%, rgba(13,15,13,0.05) 100%);
}
.bento-feature-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px; z-index: 1; }
.bento-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(230,196,133,0.5);
  padding: 5px 12px;
  border-radius: 2px;
  margin-bottom: 16px;
}
.bento-feature h3 { color: var(--cream); font-size: 1.9rem; margin-bottom: 10px; }
.bento-feature p { color: rgba(247,242,230,0.82); font-size: 0.95rem; max-width: 440px; }
.bento-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(247,242,230,0.2);
  font-size: 0.82rem;
}
.bento-meta .price { font-family: var(--font-display); color: var(--gold-light); font-size: 1.05rem; }

.bento-side {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 230px;
  color: var(--cream);
  background-size: cover;
  background-position: center;
}
.bento-side::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(13,15,13,0.85) 10%, rgba(13,15,13,0.1) 90%);
}
.bento-side-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; z-index: 1; }
.bento-side h4 { color: var(--cream); font-size: 1.1rem; margin-bottom: 6px; }
.bento-side .bento-meta { font-size: 0.75rem; margin-top: 12px; padding-top: 12px; }

/* ---------- Editorial tour rows (tours.html) ---------- */
.tour-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid var(--hairline-light);
}
.tour-row:first-of-type { border-top: none; }
.tour-row:nth-child(even) .tour-row-media { order: 2; }
.tour-row-media { border-radius: var(--radius-md); overflow: hidden; height: 340px; }
.tour-row-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.tour-row:hover .tour-row-media img { transform: scale(1.05); }
.tour-row-body .bento-tag { color: var(--gold-deep); border-color: var(--gold-deep); }
.tour-row-body h3 { font-size: 1.7rem; margin-bottom: 12px; }
.tour-row-body p.summary { color: var(--ink-soft); font-size: 1rem; }
.tour-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 24px; }
.tour-tags span {
  font-size: 0.75rem;
  color: var(--ink-soft);
  border: 1px solid var(--hairline-light);
  padding: 6px 12px;
  border-radius: 2px;
}
.tour-row-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--hairline-light);
}
.tour-row-footer .duration { font-size: 0.85rem; color: var(--ink-soft); }
.tour-row-footer .price { font-family: var(--font-display); font-size: 1.1rem; color: var(--gold-deep); }

/* ---------- Fleet spec list ---------- */
.fleet-list { border-top: 1px solid var(--hairline-light); }
.fleet-row {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr auto;
  gap: 32px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid var(--hairline-light);
}
.fleet-row .name { font-family: var(--font-display); font-size: 1.3rem; }
.fleet-row .best-for { font-size: 0.85rem; color: var(--gold-deep); text-transform: uppercase; letter-spacing: 0.06em; }
.fleet-row .desc { color: var(--ink-soft); font-size: 0.92rem; }
.fleet-row .seating { font-size: 0.8rem; color: var(--ink-faint); text-align: right; white-space: nowrap; }

/* ---------- Testimonial rotator ---------- */
.quote-rotator { max-width: 780px; margin: 0 auto; text-align: center; position: relative; min-height: 220px; }
.quote-mark { font-family: var(--font-display); font-size: 4rem; color: var(--gold); line-height: 1; margin-bottom: 8px; }
.quote-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.quote-slide.is-active { display: block; opacity: 1; }
.quote-slide p.quote-text {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 1.5rem;
  color: var(--cream);
  line-height: 1.5;
  margin-bottom: 24px;
}
.quote-author { font-size: 0.8rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--gold-light); }
.quote-dots { display: flex; justify-content: center; gap: 10px; margin-top: 32px; }
.quote-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(247,242,230,0.3);
  border: none; cursor: pointer; padding: 0;
  transition: background 0.2s ease;
}
.quote-dot.is-active { background: var(--gold); }

/* ---------- CTA band ---------- */
.cta-band {
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-md);
  padding: 72px 48px;
  text-align: center;
}
.cta-band h2 { color: var(--cream); }
.cta-band p { color: rgba(247,242,230,0.72); max-width: 480px; margin: 0 auto 32px; }

/* ---------- Gallery ---------- */
.gallery-grid {
  columns: 4 220px;
  column-gap: 16px;
}
.gallery-item { break-inside: avoid; margin-bottom: 16px; border-radius: var(--radius-md); overflow: hidden; cursor: pointer; }
.gallery-item img { width: 100%; display: block; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.05); }

.lightbox {
  position: fixed; inset: 0;
  background: rgba(13,15,13,0.95);
  display: none; align-items: center; justify-content: center;
  z-index: 999; padding: 32px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius-sm); }
.lightbox-close {
  position: absolute; top: 28px; right: 32px;
  background: none; border: 1px solid rgba(247,242,230,0.3); border-radius: 50%;
  width: 40px; height: 40px;
  color: var(--cream); font-size: 1.4rem;
  cursor: pointer;
}

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-grid .full { grid-column: 1 / -1; }

label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--ink-soft);
}

input, select, textarea {
  width: 100%;
  padding: 14px 4px;
  border: none;
  border-bottom: 1px solid var(--hairline-light);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
  border-radius: 0;
}
input:focus, select:focus, textarea:focus { outline: none; border-bottom-color: var(--gold-deep); }
textarea { resize: vertical; min-height: 120px; }

.form-note { font-size: 0.82rem; color: var(--ink-faint); margin-top: 18px; }
.form-success {
  display: none;
  border: 1px solid var(--teal);
  color: var(--teal);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-size: 0.9rem;
}
.form-success.is-visible { display: block; }

.contact-info { display: grid; gap: 26px; }
.contact-info .item { display: flex; gap: 18px; align-items: flex-start; border-top: 1px solid var(--hairline-light); padding-top: 22px; }
.contact-info .item:first-child { border-top: none; padding-top: 0; }
.contact-info .label { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 6px; }
.contact-info .value { font-size: 1rem; }
.contact-info .value a { color: var(--ink); border-bottom: 1px solid var(--gold-deep); }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: rgba(247,242,230,0.65); padding: 88px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; margin-bottom: 40px; border-bottom: 1px solid var(--hairline-dark); }
.footer-brand-word { font-family: var(--font-display); font-size: 1.8rem; color: var(--cream); }
.footer-brand-sub { font-size: 0.65rem; letter-spacing: 0.18em; color: var(--gold); text-transform: uppercase; margin: 6px 0 20px; }
.site-footer h4 { color: var(--cream); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--font-body); font-weight: 600; margin-bottom: 20px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; font-size: 0.9rem; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: space-between; font-size: 0.78rem; flex-wrap: wrap; gap: 12px; }
.social-row { display: flex; gap: 14px; }
.social-row a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--hairline-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
}
.social-row a:hover { border-color: var(--gold); color: var(--gold-light); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .numbered-grid { grid-template-columns: 1fr; gap: 32px; }
  .bento { grid-template-columns: 1fr; grid-template-rows: auto; }
  .bento-feature { grid-row: auto; min-height: 340px; }
  .tour-row { grid-template-columns: 1fr; gap: 24px; }
  .tour-row:nth-child(even) .tour-row-media { order: 0; }
  .fleet-row { grid-template-columns: 1fr; gap: 8px; text-align: left; }
  .fleet-row .seating { text-align: left; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .gallery-grid { columns: 2 200px; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta .btn--ghost { display: none; }
  .nav-toggle { display: flex; }
  .nav.is-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--black);
    padding: 24px 32px;
    gap: 20px;
    border-bottom: 1px solid var(--hairline-dark);
  }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .cta-band { padding: 48px 24px; }
  .hero { min-height: 80vh; padding-bottom: 56px; }
  .section { padding: 80px 0; }
}
