/* =============================================================
   LUXE TRAVELS — Design System (Navy / Gold)
   Palette: Navy #0B1B33 (base) / #132A4C (raised) / Gold #C9A24B
            (accent) / Cream #F7F3EA (light bg) / Ink #1C1B18 (text)
   Type: 'Fraunces' (display, luxury serif w/ character) +
         'Manrope' (body/UI) + 'JetBrains Mono' (data: prices/dates)
   Signature: a hand-drawn dotted "route line" that connects
   section markers — travel = a line through places, not cards.
   ============================================================= */

:root {
  --navy-950: #071427;
  --navy-900: #0B1B33;
  --navy-800: #132A4C;
  --navy-700: #1D3A63;
  --gold-500: #C9A24B;
  --gold-400: #DBBE73;
  --gold-100: #F3E9CE;
  --cream-50: #FBF9F4;
  --cream-100: #F7F3EA;
  --ink-900: #1C1B18;
  --ink-600: #55524A;
  --line: rgba(201, 162, 75, 0.25);
  --shadow-soft: 0 20px 60px -25px rgba(7, 20, 39, 0.45);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
}

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

body {
  margin: 0;
  background: var(--cream-100);
  color: var(--ink-900);
  font-family: 'Manrope', -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-display {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy-900);
  margin: 0;
}

.font-mono { font-family: 'JetBrains Mono', monospace; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- Layout shell ---------- */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }

/* ---------- Eyebrow / route-marker label ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--gold-500);
}

.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); }
.section-head p { color: var(--ink-600); font-size: 17px; margin-top: 12px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Route line (signature motif) ---------- */
.route-line {
  position: relative;
}
.route-line::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 0;
  border-left: 2px dotted var(--line);
  transform: translateX(-50%);
  z-index: 0;
}

/* ---------- Top utility bar ---------- */
.utility-bar {
  background: var(--navy-950);
  border-bottom: 1px solid rgba(201,162,75,0.1);
  font-size: 12.5px;
  color: rgba(247,243,234,0.65);
}
.utility-bar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 38px;
}
.utility-left { display: flex; align-items: center; gap: 20px; }
.utility-social { display: flex; align-items: center; gap: 12px; }
.utility-social a { color: rgba(247,243,234,0.55); font-size: 12.5px; transition: color .15s; }
.utility-social a:hover { color: var(--gold-400); }
.utility-phone { display: flex; align-items: center; gap: 7px; color: var(--cream-50); font-weight: 600; }
.utility-phone i { color: var(--gold-500); }
.utility-right { display: flex; align-items: center; gap: 18px; }
.utility-right a { color: rgba(247,243,234,0.65); transition: color .15s; font-weight: 600; }
.utility-right a:hover { color: var(--gold-400); }
@media (max-width: 720px) {
  .utility-bar { display: none; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 27, 51, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,162,75,0.15);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand {
  font-family: 'Fraunces', serif;
  font-size: 22px; font-weight: 600;
  color: var(--cream-50);
  display: flex; align-items: center; gap: 6px;
}
.brand-logo { height: 42px; width: auto; display: block; }
.brand span { color: var(--gold-500); }
.nav-links { display: flex; gap: 34px; align-items: center; }
.nav-links a {
  color: rgba(247,243,234,0.82);
  font-size: 14.5px; font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--gold-400); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: none; color: var(--cream-50); font-size: 22px; cursor: pointer; }
.search-icon-btn {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--gold-500); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; transition: background .2s;
}
.search-icon-btn:hover { background: var(--gold-400); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 14.5px; font-weight: 600;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: linear-gradient(135deg, var(--gold-400), var(--gold-500)); color: var(--navy-950); box-shadow: 0 12px 26px -12px rgba(201,162,75,0.7); }
.btn-gold:hover { box-shadow: 0 16px 32px -12px rgba(201,162,75,0.85); }
.btn-outline { background: transparent; border-color: rgba(247,243,234,0.35); color: var(--cream-50); }
.btn-outline:hover { border-color: var(--gold-400); color: var(--gold-400); }
.btn-navy { background: var(--navy-900); color: var(--cream-50); }
.btn-navy:hover { background: var(--navy-800); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--cream-50);
  padding: 120px 0 130px;
  overflow: hidden;
  background: var(--navy-950);
}
.hero::before {
  content: "";
  position: absolute; inset: -5%;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center 35%;
  animation: heroDrift 24s ease-in-out infinite alternate;
  z-index: 0;
}
@keyframes heroDrift {
  0%   { transform: scale(1) translate3d(0,0,0); }
  100% { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,20,39,0.5) 0%, rgba(7,20,39,0.32) 45%, rgba(7,20,39,0.72) 100%);
  z-index: 2;
}
@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
}
.hero-video {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover;
}
@media (max-width: 720px) {
  /* Skip video on small/mobile-data connections — keep the static image only */
  .hero-video { display: none; }
}
.hero-inner { position: relative; z-index: 3; max-width: 760px; margin: 0 auto; text-align: center; }
.hero .eyebrow { color: var(--gold-400); justify-content: center; }
.hero .eyebrow::before { display: none; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; justify-content: center; }
.hero-stats { display: flex; gap: 44px; margin-top: 56px; flex-wrap: wrap; justify-content: center; }
.hero .eyebrow { color: var(--gold-400); }
.hero h1 {
  font-size: clamp(38px, 5.4vw, 66px);
  color: var(--cream-50);
  line-height: 1.05;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.hero h1 em {
  color: var(--gold-400); font-style: normal;
  text-shadow:
    1px 1px 0 #9C7A2E,
    2px 2px 0 #9C7A2E,
    3px 3px 0 #86672A,
    4px 4px 0 #86672A,
    5px 5px 10px rgba(0,0,0,0.45);
}
@media (max-width: 720px) {
  .hero h1 em {
    text-shadow:
      1px 1px 0 #9C7A2E,
      2px 2px 0 #86672A,
      3px 3px 6px rgba(0,0,0,0.4);
  }
}
.hero p.lead { font-size: 18px; color: rgba(247,243,234,0.9); max-width: 520px; margin: 20px auto 0; text-shadow: 0 2px 12px rgba(0,0,0,0.4); }
.hero-stats .stat b { font-family: 'Fraunces', serif; font-size: 28px; color: var(--gold-400); display: block; }
.hero-stats .stat span { font-size: 13px; color: rgba(247,243,234,0.65); }

/* ---------- Search widget ---------- */
.search-widget {
  position: relative; z-index: 3;
  max-width: 1080px; margin: -50px auto 0;
  background: var(--cream-50);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  padding: 0 0 0 28px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr auto;
  gap: 0;
  align-items: stretch;
  min-height: 78px;
}
.search-field {
  padding: 0 20px; border-right: 1px solid rgba(28,27,24,0.08);
  display: flex; flex-direction: column; justify-content: center;
}
.search-field:last-of-type { border-right: none; }
.search-field label {
  display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-600); margin-bottom: 4px;
}
.search-field select, .search-field input {
  width: 100%; padding: 4px 0; border: none;
  font-family: inherit; font-size: 14px; background: transparent; color: var(--ink-900);
}
.search-field select:focus, .search-field input:focus { outline: none; }
.search-widget button[type=submit] {
  border-radius: 0 999px 999px 0;
  width: 92px; height: auto; align-self: stretch;
  padding: 0; flex: none; font-size: 20px;
  margin: 0;
}
@media (max-width: 980px) {
  .search-widget { border-radius: var(--radius-lg); padding: 20px; align-items: normal; min-height: 0; }
  .search-field { border-right: none; border-bottom: 1px solid rgba(28,27,24,0.08); padding: 12px 4px; display: block; }
  .search-widget button[type=submit] { border-radius: 999px; width: 100%; height: auto; align-self: auto; padding: 13px 26px; margin-top: 6px; font-size: 16px; }
}

/* ---------- Cards ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card-package {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px -18px rgba(7,20,39,0.25);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.card-package:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.card-package .thumb {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
}
.card-package .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-package .badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--gold-500); color: var(--navy-950);
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  padding: 5px 11px; border-radius: 999px; text-transform: uppercase;
}
.card-package .body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.card-package .dest { font-size: 12.5px; color: var(--gold-500); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.card-package h3 { font-size: 19px; margin-bottom: 8px; }
.card-package .meta { display: flex; gap: 14px; font-size: 13px; color: var(--ink-600); margin-bottom: 14px; }
.card-package .price-row { display: flex; align-items: flex-end; justify-content: space-between; margin-top: auto; padding-top: 14px; border-top: 1px dashed rgba(28,27,24,0.12); }
.price-now { font-family: 'Fraunces', serif; font-size: 22px; color: var(--navy-900); }
.price-was { font-size: 13px; color: var(--ink-600); text-decoration: line-through; }
.rating { font-size: 13px; color: var(--gold-500); font-weight: 700; }

/* ---------- Tour type image grid ---------- */
.tour-type-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tour-type-card {
  display: block; background: #fff; border-radius: var(--radius-md); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 10px 26px -18px rgba(7,20,39,0.3);
}
.tour-type-card:hover { transform: translateY(-6px); box-shadow: 0 18px 38px -18px rgba(7,20,39,0.45); }
.tour-type-card .tour-type-thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.tour-type-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tour-type-card:hover img { transform: scale(1.08); }
.tour-type-icon {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--gold-400);
  border: 1px solid rgba(255,255,255,0.25);
}
.tour-type-label { padding: 16px 18px; }
.tour-type-label h4 { font-size: 16px; color: var(--navy-900); margin-bottom: 3px; }
.tour-type-label span { font-size: 12.5px; color: var(--ink-600); }
@media (max-width: 980px) { .tour-type-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .tour-type-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Category pills ---------- */
.pill-row { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; }
.pill {
  flex: none; display: flex; align-items: center; gap: 9px;
  padding: 11px 20px; border-radius: 999px;
  background: #fff; border: 1px solid rgba(28,27,24,0.1);
  font-size: 14px; font-weight: 600; color: var(--navy-900);
  transition: all .2s;
}
.pill:hover, .pill.active { background: var(--navy-900); color: var(--cream-50); border-color: var(--navy-900); }
.pill i { color: var(--gold-500); }

/* ---------- Destination tiles ---------- */
.dest-tile { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3/4; }
.dest-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.dest-tile:hover img { transform: scale(1.08); }
.dest-tile::after { content:""; position:absolute; inset:0; background: linear-gradient(0deg, rgba(7,20,39,0.85) 5%, rgba(7,20,39,0.05) 55%); }
.dest-tile .tile-label { position: absolute; bottom: 20px; left: 20px; z-index: 2; color: var(--cream-50); }
.dest-tile .tile-label small { color: var(--gold-400); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.dest-tile .tile-label h3 { color: var(--cream-50); font-size: 22px; margin-top: 4px; }

/* ---------- Testimonials ---------- */
.testi-card { background: var(--navy-900); color: var(--cream-50); border-radius: var(--radius-lg); padding: 32px; }
.testi-card .stars { color: var(--gold-400); margin-bottom: 14px; }
.testi-card p { color: rgba(247,243,234,0.85); font-size: 15.5px; }
.testi-person { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--gold-500); display:flex;align-items:center;justify-content:center; font-family:'Fraunces',serif; color: var(--navy-950); font-weight:700; }

/* ---------- Sections: dark band ---------- */
.band-navy { background: var(--navy-900); color: var(--cream-50); }
.band-navy h2 { color: var(--cream-50); }
.band-navy .section-head p { color: rgba(247,243,234,0.68); }

/* ---------- FAQ accordion ---------- */
.faq-item { border-bottom: 1px solid rgba(28,27,24,0.12); }
.faq-item summary { cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 16px; display: flex; justify-content: space-between; align-items: center; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 20px; color: var(--gold-500); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding-bottom: 20px; color: var(--ink-600); margin:0; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); padding: 40px; max-width: 460px; margin: 0 auto; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 7px; color: var(--navy-900); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 14px; border-radius: var(--radius-sm);
  border: 1px solid rgba(28,27,24,0.16); font-family: inherit; font-size: 15px;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold-500); }
.alert { padding: 14px 18px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 18px; }
.alert-success { background: #E9F6EE; color: #1F6D42; border: 1px solid #BFE6CE; }
.alert-error { background: #FBEBEA; color: #A3352B; border: 1px solid #F1C7C3; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(247,243,234,0.72); padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 50px; }
.footer-grid h4 { color: var(--cream-50); font-family: 'Manrope', sans-serif; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 18px; }
.footer-grid a { display: block; padding: 6px 0; font-size: 14.5px; color: rgba(247,243,234,0.68); }
.footer-grid a:hover { color: var(--gold-400); }
.footer-bottom { border-top: 1px solid rgba(247,243,234,0.1); padding-top: 24px; display: flex; justify-content: space-between; font-size: 13px; flex-wrap: wrap; gap: 12px; }
.social-row { display: flex; gap: 12px; }
.social-row a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(247,243,234,0.2); display: flex; align-items: center; justify-content: center; }
.social-row a:hover { border-color: var(--gold-500); color: var(--gold-400); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.badge-status { display:inline-block; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.badge-confirmed { background:#E9F6EE; color:#1F6D42; }
.badge-pending { background:#FDF3DC; color:#8A6116; }
.badge-cancelled { background:#FBEBEA; color:#A3352B; }

/* ---------- Reusable 2-column layouts (sidebar+content) ---------- */
.layout-sidebar { display:grid; grid-template-columns: 280px 1fr; gap:32px; align-items:start; }
.layout-content-aside { display:grid; grid-template-columns: 1fr 380px; gap:40px; align-items:start; }
.sticky-aside { position: sticky; top: 100px; }

/* ---------- Mobile nav overlay ---------- */
.nav-backdrop {
  display: none;
  position: fixed; inset: 0;
  background: rgba(7,20,39,0.55);
  z-index: 45;
}
.nav-backdrop.open { display: block; }
body.nav-open { overflow: hidden; }

@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: fixed !important; top: 76px !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
    background: #071427 !important;
    opacity: 1 !important;
    flex-direction: column; gap: 4px;
    padding: 22px 24px;
    z-index: 9999 !important;
    overflow-y: auto;
  }
  .nav-links.open { display: flex !important; }
  .nav-links a { padding: 14px 6px; border-bottom: 1px solid rgba(247,243,234,0.08); font-size: 16px; color: rgba(247,243,234,0.95) !important; }
  .header-actions .btn-outline { display: inline-flex; }
}

@media (min-width: 721px) {
  .mobile-only-link { display: none; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .search-widget { grid-template-columns: 1fr 1fr; }
  .layout-sidebar, .layout-content-aside { grid-template-columns: 1fr !important; }
  .sticky-aside { position: static; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .search-widget { grid-template-columns: 1fr; margin-top: -60px; }
  .hero { padding: 90px 0 150px; }
  .footer-grid { grid-template-columns: 1fr; }
}
