/* ============================================================
   happlore/assets/css/main.css
   Shared styles across all pages.
   Page-specific styles live in <style> tags in each HTML file.
   ============================================================ */

/* Google Fonts loaded here so each page just links main.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Manrope:wght@300;400;500;600;700;800&family=Paytone+One&family=Dancing+Script:wght@600&display=swap');

/* ── Reset & Base ─────────────────────────────────────────── */
:root {
  --green:      #09b367;
  --green-dark: #038c55;
  --cream:      #f0f0e8;
  --dark:       #1a1c22;
}

*, *::before, *::after {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Manrope', sans-serif;
  margin: 0;
  padding: 0;
  background: #fff;
  color: var(--dark);
}

.font-paytone { font-family: 'Paytone One', sans-serif; }
.font-script  { font-family: 'Dancing Script', cursive; }

/* ── Flow pages share a cream background ─────────────────── */
body.flow-page {
  background: var(--cream);
}

/* ── FLOW NAV (customize, travellers, duration …) ─────────── */
.flow-nav {
  background: var(--dark);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 56px;
  display: flex;
  align-items: center;
}
.flow-nav-inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
}
.nav-logo-dot {
  width: 28px; height: 28px;
  background: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-logo span {
  color: #fff;
  font-weight: 700;
  font-size: 17px;
}

/* Step tabs */
.step-tabs {
  display: flex;
  align-items: center;
}
.step-tab {
  color: rgba(255,255,255,.38);
  font-size: 13px;
  font-weight: 500;
  cursor: default;
  white-space: nowrap;
  position: relative;
  padding: 18px 4px;
  transition: color .2s;
  text-decoration: none;
}
/* Completed step — clickable, shows destination name */
.step-tab.done {
  color: rgba(255,255,255,.72);
  cursor: pointer;
}
.step-tab.done:hover { color: #fff; }
.step-tab.done::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(9,179,103,.5);
  border-radius: 2px 2px 0 0;
}
/* Current active step */
.step-tab.current {
  color: #fff;
  font-weight: 700;
}
.step-tab.current::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--green);
  border-radius: 2px 2px 0 0;
}
.step-sep {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  margin: 0 10px;
  flex-shrink: 0;
}

/* Close button */
.nav-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.65);
  transition: background .2s;
  text-decoration: none;
}
.nav-close:hover { background: rgba(255,255,255,.24); }

/* ── Flow page body ───────────────────────────────────────── */
.flow-body {
  padding-top: 56px;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

/* World-map SVG watermark — same on every flow page */
.map-watermark {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 860px;
  opacity: .13;
  pointer-events: none;
  z-index: 0;
}

/* ── Testimonial strip — fixed bottom on flow pages ──────── */
.testimonial-strip {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,.07);
  padding: 13px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  z-index: 150;
}
.test-left {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 460px;
}
.test-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.test-text {
  font-size: 12.5px;
  color: #4a5568;
  line-height: 1.55;
  margin: 0;
}
.test-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  margin: 3px 0 0;
}
.test-divider {
  width: 1px; height: 38px;
  background: rgba(0,0,0,.1);
  flex-shrink: 0;
}
.test-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.test-score {
  font-size: 17px;
  font-weight: 800;
  color: var(--dark);
}
.test-star { color: #f59e0b; }
.test-count {
  font-size: 12px;
  color: #718096;
  margin: 0;
}

/* ── Destination arch cards (customize page) ─────────────── */
.dest-arch-card {
  flex-shrink: 0;
  width: 188px; height: 258px;
  border-radius: 9999px 9999px 18px 18px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 3px solid transparent;
  transition: transform .3s, box-shadow .3s, border-color .2s;
}
.dest-arch-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,.28);
}
.dest-arch-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s;
}
.dest-arch-card:hover img { transform: scale(1.06); }

.dest-arch-card .card-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.25) 45%, transparent 72%);
}
.dest-arch-card .card-text {
  position: absolute;
  bottom: 18px; left: 14px; right: 14px;
}
.card-subtitle {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin: 0 0 4px;
}
.card-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin: 0;
}
.card-title.script {
  font-family: 'Dancing Script', cursive;
  font-size: 26px;
  font-weight: 600;
}
.dest-arch-card.selected {
  border-color: var(--green);
  box-shadow: 0 0 0 5px rgba(9,179,103,.18);
}

/* ── Search dropdown ──────────────────────────────────────── */
.search-wrap {
  position: relative;
  z-index: 200;
  max-width: 560px;
  margin: 0 auto 42px;
  padding: 0 24px;
}
.search-input-row {
  display: flex;
  align-items: center;
  background: #fff;
  border: 2px solid var(--green);
  border-radius: 50px;
  padding: 12px 20px;
  gap: 10px;
  box-shadow: 0 2px 16px rgba(9,179,103,.12);
}
.search-input-row input {
  flex: 1;
  border: none;
  outline: none;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  color: var(--dark);
  background: transparent;
}
.search-input-row input::placeholder { color: #aab0bc; }
.search-clear-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  align-items: center;
}
.search-dropdown {
  display: none;
  position: absolute;
  left: 24px; right: 24px;
  top: calc(100% + 6px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,.13);
  overflow: hidden;
  max-height: 420px;
  overflow-y: auto;
  z-index: 300;
}
.dropdown-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 22px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0ec;
  transition: background .15s;
}
.dropdown-row:hover { background: #f7fdf9; }
.dropdown-row:last-child { border-bottom: none; }
.dropdown-dest-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
}
.dropdown-booked {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #888;
  white-space: nowrap;
}
.dropdown-empty {
  padding: 18px 22px;
  color: #999;
  font-size: 14px;
}

/* ── Traveller cards ──────────────────────────────────────── */
.traveller-cards-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.traveller-card {
  width: 160px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  border: 2.5px solid transparent;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.traveller-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.14);
}
.traveller-card.selected {
  border-color: var(--green);
  box-shadow: 0 8px 28px rgba(9,179,103,.22);
}
.traveller-card-img {
  width: 100%; height: 182px;
  border-radius: 9999px 9999px 0 0;
  overflow: hidden;
  position: relative;
}
.traveller-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .4s;
}
.traveller-card:hover .traveller-card-img img { transform: scale(1.05); }
.traveller-card-tick {
  position: absolute;
  top: 10px; right: 10px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green);
  display: none;
  align-items: center;
  justify-content: center;
}
.traveller-card.selected .traveller-card-tick { display: flex; }
.traveller-card-label {
  padding: 14px 8px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  text-align: center;
}

/* ── Google logo SVG (inline, reused in testimonial strip) ── */
/* Used as inline SVG in HTML — no class needed */
