/* ============================================
   Southland World Travel — Design Tokens
   ============================================ */
:root {
  --sage: #A9B9BB;
  --tan: #E1C5AF;
  --taupe: #BAA59A;
  --grey: #D0CFCC;
  --teal: #5F999C;
  --deep-teal: #33585A;
  --deep-teal-2: #24403F;
  --cream: #FBF9F6;
  --ink: #26302F;

  --font-display: 'Cinzel', serif;
  --font-body: 'Jost', sans-serif;
  --font-accent: 'Crimson Pro', serif;

  --max-width: 1180px;
  --radius: 2px;
}

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

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

  /* Layered background: fine grain texture over soft, colorful gradient washes
     in the brand palette, so the page reads as more than flat cream. */
  background-color: var(--cream);
  background-image:
    url('images/texture-grain.png'),
    radial-gradient(ellipse 900px 620px at 8% 0%, rgba(225,197,175,0.38), transparent 60%),
    radial-gradient(ellipse 900px 700px at 96% 18%, rgba(95,153,156,0.20), transparent 60%),
    radial-gradient(ellipse 800px 620px at 15% 60%, rgba(186,165,154,0.24), transparent 60%),
    radial-gradient(ellipse 900px 700px at 100% 100%, rgba(169,185,187,0.30), transparent 60%);
  background-repeat: repeat, no-repeat, no-repeat, no-repeat, no-repeat;
  background-attachment: fixed, fixed, fixed, fixed, fixed;
}

/* Sections that sit on white cards (e.g. supplier strip, alternating bands)
   get a faint tint + the same grain so they don't read as flat white next
   to the colorful body wash. */
.section-tint {
  position: relative;
  background-color: #FCFAF8;
  background-image:
    url('images/texture-grain.png'),
    linear-gradient(180deg, rgba(225,197,175,0.16), rgba(95,153,156,0.10));
  background-repeat: repeat, no-repeat;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--deep-teal-2);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.4rem; }

p { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  color: var(--teal);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 0.9em;
}

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

section { padding: 88px 0; }
section.tight { padding: 56px 0; }

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 34px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid var(--deep-teal-2);
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-primary {
  background: var(--deep-teal-2);
  color: #fff;
}
.btn-primary:hover { background: var(--teal); border-color: var(--teal); }
.btn-outline {
  background: transparent;
  color: var(--deep-teal-2);
}
.btn-outline:hover { background: var(--deep-teal-2); color: #fff; }
.btn-light {
  border-color: #fff;
  color: #fff;
}
.btn-light:hover { background: #fff; color: var(--deep-teal-2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252, 248, 243, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--grey);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.site-header .logo img { height: 46px; width: auto; }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 34px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

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

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(36,64,63,0.35) 0%, rgba(36,64,63,0.6) 100%);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 640px; }
.hero .eyebrow { color: var(--tan); }
.hero h1 { color: #fff; margin-bottom: 0.4em; }
.hero p.lead { font-size: 1.15rem; max-width: 520px; margin-bottom: 2em; color: #F1EEE9; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.hero.hero-sm { min-height: 46vh; }

/* ---------- Cards: Promotions ---------- */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 30px;
}
.promo-card {
  background: #fff;
  border: 1px solid var(--grey);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(36,64,63,0.14);
}
.promo-card .promo-img { aspect-ratio: 4/3; overflow: hidden; }
.promo-card .promo-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.promo-card:hover .promo-img img { transform: scale(1.06); }
.promo-body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.promo-body .tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 10px;
}
.promo-body h3 { margin-bottom: 8px; }
.promo-body p { color: #566261; font-size: 0.95rem; flex: 1; }
.promo-body .promo-link {
  margin-top: 14px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--deep-teal-2);
  border-bottom: 1px solid var(--deep-teal-2);
  align-self: flex-start;
}

/* ---------- Supplier logo strip ---------- */
.supplier-strip {
  position: relative;
  background-color: #FCFAF8;
  background-image:
    url('images/texture-grain.png'),
    linear-gradient(180deg, rgba(225,197,175,0.16), rgba(95,153,156,0.10));
  background-repeat: repeat, no-repeat;
  border-top: 1px solid var(--grey);
  border-bottom: 1px solid var(--grey);
  padding: 50px 0;
}
.supplier-strip .section-head { margin-bottom: 30px; }

/* Two auto-scrolling rows of supplier logos, moving in opposite directions.
   Each row's logo list is duplicated once in the HTML (.marquee-group,
   repeated) so the loop is seamless; the keyframes just slide the track
   left by exactly one group-width (-50% of the doubled track). */
.marquee-row {
  overflow: hidden;
  padding: 14px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
}
.marquee-track--left { animation: marquee-left 42s linear infinite; }
.marquee-track--right { animation: marquee-right 42s linear infinite; }
.marquee-row:hover .marquee-track { animation-play-state: paused; }

.marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 44px;
  padding-right: 44px;
}
.marquee-track img {
  height: 52px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.65);
  transition: filter 0.25s ease;
}
.marquee-track img:hover { filter: grayscale(0%) opacity(1); }

@keyframes marquee-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes marquee-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track--left, .marquee-track--right { animation: none; }
}

/* ---------- Badges (About) ---------- */
.badge-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  align-items: flex-start;
}
.badge-item { text-align: center; width: 150px; }
.badge-item img { width: 110px; margin: 0 auto 10px; }
.badge-item span { font-size: 0.82rem; color: #566261; }

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 34px;
}
.testimonial {
  background: #fff;
  border: 1px solid var(--grey);
  padding: 34px 30px;
}
.testimonial p.quote {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--deep-teal-2);
}
.testimonial .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testimonial .who img { width: 46px; height: 46px; border-radius: 50%; }
.testimonial .who strong { display: block; font-size: 0.9rem; }
.testimonial .who span { font-size: 0.8rem; color: #7a8584; }

/* ---------- Two-column / feature sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split img { border-radius: var(--radius); }

/* ---------- Trip type / specialty chips ---------- */
.chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.chip-card {
  background: #fff;
  border: 1px solid var(--grey);
  padding: 30px 26px;
  border-top: 3px solid var(--teal);
}
.chip-card h3 { margin-bottom: 8px; font-size: 1.2rem; }
.chip-card p { font-size: 0.92rem; color: #566261; margin: 0; }

/* ---------- Destination list ---------- */
.destination-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 4px;
}
.destination-item {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.destination-item img { width: 100%; height: 100%; object-fit: cover; }
.destination-item .label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px;
  background: linear-gradient(180deg, transparent, rgba(36,64,63,0.82));
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--grey);
  padding: 44px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  color: var(--deep-teal-2);
  font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--grey);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
  border-radius: var(--radius);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: #fff;
}
.form-note { font-size: 0.82rem; color: #7a8584; margin-top: 18px; }

/* ---------- Resources ---------- */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 26px;
}
.resource-card {
  background: #fff;
  border: 1px solid var(--grey);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.resource-card .icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.resource-card a.dl {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--deep-teal-2);
  border-bottom: 1px solid var(--deep-teal-2);
  align-self: flex-start;
  margin-top: auto;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--deep-teal-2);
  color: #fff;
  text-align: center;
  padding: 80px 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #D9E2E1; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--deep-teal-2);
  color: #C9D4D3;
  padding: 60px 0 30px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.site-footer h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 16px;
}
.site-footer .logo img { height: 40px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 22px;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: #92A3A2;
}

/* ---------- Utility ---------- */
.hidden-page-note {
  background: var(--tan);
  color: var(--deep-teal-2);
  text-align: center;
  font-size: 0.85rem;
  padding: 10px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .main-nav { position: fixed; top: 74px; left: 0; right: 0; background: var(--cream); border-bottom: 1px solid var(--grey); max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
  .main-nav.open { max-height: 480px; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 10px 28px 20px; }
  .main-nav li { border-bottom: 1px solid var(--grey); }
  .main-nav a { display: block; padding: 14px 0; }
  .nav-toggle { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
/* Make text links easy to spot on light backgrounds */
main p a:not(.btn),
main li a:not(.btn),
main td a:not(.btn) {
  color: #24504F;                 /* deep teal, readable on white and on your beige sections */
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

main p a:not(.btn):hover,
main li a:not(.btn):hover,
main td a:not(.btn):hover {
  color: #163534;
  text-decoration-thickness: 2px;
}

main p a:focus-visible,
main li a:focus-visible,
main td a:focus-visible {
  outline: 2px solid #24504F;
  outline-offset: 2px;
}