:root {
  --dune-orange: #c9642c;
  --dune-terracotta: #a8441f;
  --dune-sand: #e8d5b5;
  --dune-sand-light: #f5ecda;
  --night-navy: #14181f;
  --night-navy-light: #1f2530;
  --ink: #2a2118;
  --ink-soft: #5c5346;
  --white: #ffffff;
  --gap: clamp(1rem, 3vw, 2.5rem);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 24, 31, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--dune-sand-light);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.15;
  font-weight: 600;
  color: var(--night-navy);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 var(--gap); }

/* --- nav --- */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--night-navy);
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-nav .container { display: flex; align-items: center; justify-content: space-between; }
.brand { color: var(--white); font-family: Georgia, serif; font-size: 1.35rem; letter-spacing: 0.02em; }
.brand span { color: var(--dune-orange); }
.nav-links { display: flex; gap: 1.75rem; }
.nav-links a { color: var(--dune-sand); font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--dune-orange); }
.nav-cta {
  background: var(--dune-orange); color: var(--white) !important;
  padding: 0.55rem 1.2rem; border-radius: 8px; font-weight: 600; font-size: 0.9rem;
}
.nav-cta:hover { background: var(--dune-terracotta); }
.nav-toggle { display: none; }

/* --- hero (CSS-drawn dunes, no stock photography yet) --- */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex; align-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, #2b3244 0%, #4a3a3a 38%, var(--dune-terracotta) 62%, var(--dune-orange) 100%);
  background-size: cover; background-position: center; background-attachment: fixed;
}
.tour-hero { background-size: cover; background-position: center; }
@media (max-width: 860px) { .hero { background-attachment: scroll; min-height: 68vh; } }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20,24,31,0.72) 0%, rgba(20,24,31,0.32) 42%, rgba(168,68,31,0.55) 100%);
}
.tour-hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(120deg, rgba(20,24,31,0.82) 10%, rgba(168,68,31,0.62) 100%);
}
.tour-hero { position: relative; }
.tour-hero .container { position: relative; z-index: 2; }
.hero::before, .hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 42%;
  background-repeat: no-repeat; background-size: cover;
}
.hero::before {
  height: 30%;
  background: radial-gradient(120% 100% at 20% 100%, rgba(0,0,0,0.35), transparent 60%),
              radial-gradient(120% 100% at 80% 100%, rgba(0,0,0,0.3), transparent 65%);
}
.hero::after {
  height: 18%;
  background: linear-gradient(180deg, transparent, rgba(20,24,31,0.55));
}
.hero-trees {
  position: absolute; bottom: 0; left: 0; right: 0; height: 22%;
  background-image:
    linear-gradient(180deg, transparent 0%, transparent 100%);
}
.hero-content { position: relative; z-index: 2; color: var(--white); max-width: 640px; }
.hero-eyebrow {
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.78rem;
  color: var(--dune-sand); margin-bottom: 1rem; font-weight: 600;
}
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); color: var(--white); margin-bottom: 1.1rem; }
.hero p.lead { font-size: 1.1rem; color: rgba(255,255,255,0.88); max-width: 520px; margin-bottom: 1.8rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 0.85rem 1.6rem; border-radius: 9px;
  font-weight: 600; font-size: 0.98rem; transition: all 0.2s; border: 2px solid transparent;
}
.btn-primary { background: var(--dune-orange); color: var(--white); }
.btn-primary:hover { background: var(--dune-terracotta); }
.btn-outline { border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

/* --- sections --- */
section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-head { max-width: 640px; margin-bottom: 2.5rem; }
.section-eyebrow {
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem;
  color: var(--dune-terracotta); font-weight: 700; margin-bottom: 0.6rem;
}
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.section-head p { color: var(--ink-soft); margin-top: 0.8rem; font-size: 1.05rem; }

.trust-strip { background: var(--night-navy); color: var(--dune-sand); padding: 1.1rem 0; }
.trust-strip .container { display: flex; gap: 2.5rem; flex-wrap: wrap; justify-content: center; font-size: 0.9rem; }
.trust-strip strong { color: var(--white); }

/* --- tour cards --- */
.tour-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.8rem; }
.tour-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform 0.25s;
}
.tour-card:hover { transform: translateY(-4px); }
.tour-card-img {
  height: 190px; position: relative;
  background: linear-gradient(160deg, var(--dune-orange), var(--dune-terracotta));
}
.tour-card-img.route-2 { background: linear-gradient(160deg, #7a8471, #4a5540); }
.tour-card-img.route-3 { background: linear-gradient(160deg, #3d4a5c, #1f2530); }
.tour-card-img.route-4 { background: linear-gradient(160deg, #d99a3e, #8a4a1e); }
.tour-card-img.route-5 { background: linear-gradient(160deg, #b0562f, #5c2c14); }
.tour-card-img.route-6 { background: linear-gradient(160deg, #55707a, #22323a); }
.tour-card-icon {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  opacity: 0.35;
}
.tour-card-icon svg { width: 72px; height: 72px; stroke: #fff; fill: none; stroke-width: 1.4; }
.tour-card-img.has-photo { background-size: cover; background-position: center; }
.tour-card-img.has-photo::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,24,31,0.12) 0%, rgba(20,24,31,0.55) 100%);
}
.tour-card-img.has-photo .tour-card-icon { display: none; }
.tour-card-img { transition: filter 0.35s; }
.tour-card:hover .tour-card-img.has-photo { filter: brightness(1.08) saturate(1.08); }

/* --- cinematic scroll reveal (progressive enhancement: only hides content once JS confirms it can reveal it) --- */
.js-ready .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s cubic-bezier(.2,.7,.3,1), transform 0.8s cubic-bezier(.2,.7,.3,1); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal-stagger.in-view { transition-delay: var(--delay, 0ms); }

/* --- gallery strip --- */
.gallery-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; }
.gallery-strip img { width: 100%; height: 220px; object-fit: cover; border-radius: 10px; transition: transform 0.5s; }
.gallery-strip a:hover img { transform: scale(1.04); }
@media (max-width: 860px) { .gallery-strip { grid-template-columns: repeat(2, 1fr); } }

.photo-note {
  background: #fff3cd; border: 1px dashed #d9b86a; color: #6b5300;
  font-size: 0.82rem; padding: 0.9rem 1.1rem; border-radius: 8px; margin: 1.5rem 0;
}

.destinations-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.dest-chip {
  background: var(--white); border: 1px solid var(--dune-sand); border-radius: 10px;
  padding: 1.1rem 1.2rem; text-align: center; font-weight: 600; color: var(--night-navy);
  transition: all 0.2s;
}
.dest-chip:hover { border-color: var(--dune-orange); background: var(--dune-sand-light); }
.dest-chip .flag { font-size: 1.6rem; display: block; margin-bottom: 0.4rem; }
.tour-card-days {
  position: absolute; top: 0.9rem; left: 0.9rem;
  background: rgba(20,24,31,0.55); color: var(--white); font-size: 0.8rem;
  padding: 0.3rem 0.7rem; border-radius: 6px; font-weight: 600;
}
.tour-card-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.tour-card-body h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.tour-card-body .route { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 0.8rem; }
.tour-card-body p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 1.2rem; }
.tour-card-footer {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  padding-top: 1rem; border-top: 1px solid #eee2cc;
}
.price-from { font-size: 0.78rem; color: var(--ink-soft); }
.price-value { font-size: 1.15rem; font-weight: 700; color: var(--night-navy); }
.tour-card-footer a { color: var(--dune-terracotta); font-weight: 600; font-size: 0.92rem; }

/* --- why-us --- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.why-item h4 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.why-item p { color: var(--ink-soft); font-size: 0.94rem; }
.why-item .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; background: var(--dune-sand);
  color: var(--dune-terracotta); font-weight: 700; margin-bottom: 0.9rem;
}

/* --- CTA band --- */
.cta-band {
  background: linear-gradient(120deg, var(--night-navy), #2b2115);
  color: var(--white); text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 0.8rem; }
.cta-band p { color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto 1.8rem; }

/* --- placeholder notice (dev-only, remove before public launch) --- */
.dev-notice {
  background: #fff3cd; border: 1px solid #ffe08a; color: #6b5300;
  font-size: 0.85rem; padding: 0.6rem 1rem; text-align: center;
}

/* --- footer --- */
footer { background: var(--night-navy); color: var(--dune-sand); padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2rem; }
.footer-grid h5 { color: var(--white); font-size: 0.95rem; margin-bottom: 0.9rem; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 0.5rem; font-size: 0.9rem; }
.footer-grid a:hover { color: var(--dune-orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.2rem;
  font-size: 0.82rem; color: rgba(232,213,181,0.6); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
}

/* --- tour detail page --- */
.tour-hero {
  background: linear-gradient(160deg, var(--night-navy) 0%, var(--dune-terracotta) 100%);
  color: var(--white); padding: 4rem 0 3rem;
}
.tour-hero .breadcrumb { font-size: 0.85rem; color: var(--dune-sand); margin-bottom: 1rem; }
.tour-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 2.8rem); }
.tour-meta { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 1.5rem; }
.tour-meta div { font-size: 0.85rem; color: var(--dune-sand); }
.tour-meta strong { display: block; color: var(--white); font-size: 1.1rem; }

.tour-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; align-items: start; }
.itinerary-day { display: flex; gap: 1.2rem; margin-bottom: 2rem; }
.itinerary-day .day-num {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%;
  background: var(--dune-sand); color: var(--dune-terracotta); font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 0.95rem;
}
.itinerary-day h4 { margin-bottom: 0.4rem; }
.itinerary-day p { color: var(--ink-soft); font-size: 0.96rem; }
.itinerary-day .meta-tags { margin-top: 0.5rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.itinerary-day .meta-tags span {
  font-size: 0.76rem; background: var(--dune-sand-light); border: 1px solid var(--dune-sand);
  padding: 0.2rem 0.6rem; border-radius: 20px; color: var(--ink-soft);
}

.booking-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.8rem; position: sticky; top: 90px;
}
.booking-card .price-tag { font-size: 2rem; font-weight: 700; color: var(--night-navy); }
.booking-card .price-tag small { font-size: 0.85rem; font-weight: 400; color: var(--ink-soft); }
.booking-card ul { list-style: none; margin: 1.2rem 0; }
.booking-card li { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 0.55rem; padding-left: 1.4rem; position: relative; }
.booking-card li::before { content: "✓"; position: absolute; left: 0; color: var(--dune-orange); font-weight: 700; }
.booking-card .btn { width: 100%; text-align: center; margin-bottom: 0.7rem; }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tour-layout { grid-template-columns: 1fr; }
  .booking-card { position: static; }
  .nav-links { display: none; }
}
