/* =========================================================
   tuk-packages.css — LessTaxi Tuk Tuk Tours Landing Page
   Brand palette: Navy #0d1b3e | Gold #f5a623 | White #ffffff
   ========================================================= */

/* ─── Custom Properties ─────────────────────────────────── */
:root {
  --navy:        #0d1b3e;
  --navy-mid:    #162552;
  --navy-light:  #1e3468;
  --gold:        #f5a623;
  --gold-light:  #ffc347;
  --gold-pale:   #fff4e0;
  --white:       #ffffff;
  --off-white:   #f8f6f1;
  --text-dark:   #1a1a2e;
  --text-mid:    #4a5568;
  --text-light:  #8898aa;
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --shadow-card: 0 4px 24px rgba(13,27,62,.10), 0 1px 4px rgba(13,27,62,.06);
  --shadow-hover: 0 16px 48px rgba(13,27,62,.18), 0 4px 12px rgba(13,27,62,.10);
  --transition:  .28s cubic-bezier(.4,0,.2,1);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
}

/* ─── Reset / Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
}

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

/* ─── Layout ─────────────────────────────────────────────── */
.tp-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Buttons ────────────────────────────────────────────── */
.tp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  padding: 14px 32px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.tp-btn--primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.tp-btn--primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,166,35,.40);
}

.tp-btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.tp-btn--outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

/* ─── Section headings ───────────────────────────────────── */
.tp-section-head {
  text-align: center;
  margin-bottom: 56px;
}

.tp-section-head__tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-pale);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.tp-section-head__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  line-height: 1.2;
}

/* ═══════════════════════════════ HERO ═══════════════════════ */
.tp-hero {
  position: relative;
  /* Fill viewport minus header height so it fits any monitor */
  min-height: calc(100vh - 195px);
  height: calc(100vh - 195px);
  max-height: 900px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #2a4a8a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 400px 24px 300px;
}

/* Decorative dot pattern overlay */
.tp-hero__bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(245,166,35,.18) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

/* Large decorative tuk tuk wheel circle */
.tp-hero::after {
  content: '';
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 560px;
  height: 560px;
  border-radius: 50%;
  border: 80px solid rgba(245,166,35,.08);
  pointer-events: none;
}

.tp-hero__content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.tp-hero__eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  opacity: .9;
}

.tp-hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.0;
  margin-bottom: 24px;
}

.tp-hero__title--accent {
  color: var(--gold);
  display: inline-block;
}

.tp-hero__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.78);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* Scroll hint */
.tp-hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.45);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.tp-hero__scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: .4; transform: scaleY(1); }
  50%       { opacity: 1;  transform: scaleY(1.1); }
}

/* ═══════════════════════════ CITY GRID ══════════════════════ */
.tp-cities {
  padding: 96px 0 80px;
  background: var(--off-white);
}

/* Masonry-style responsive grid */
.tp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ─── Card ─────────────────────────────────────────────────── */
.tp-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  position: relative;
  cursor: pointer;
  border: 1.5px solid transparent;
}

.tp-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(245,166,35,.25);
}

/* Featured card spans 2 columns on larger screens */
.tp-card--featured {
  grid-column: span 1;
}

.tp-card__img-wrap {
  overflow: hidden;
  height: 200px;
  position: relative;
}

.tp-card__img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}

.tp-card:hover .tp-card__img {
  transform: scale(1.06);
}

/* Gradient over image */
.tp-card__img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,62,.22) 0%, transparent 60%);
}

.tp-card__body {
  padding: 22px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tp-card__region {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
}

.tp-card__name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.tp-card__desc {
  font-size: .88rem;
  color: var(--text-mid);
  line-height: 1.6;
  flex: 1;
}

.tp-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  margin-top: 8px;
  transition: gap var(--transition), color var(--transition);
}

.tp-card:hover .tp-card__cta {
  color: var(--gold);
  gap: 10px;
}

.tp-card__cta svg {
  transition: transform var(--transition);
}

.tp-card:hover .tp-card__cta svg {
  transform: translateX(3px);
}

/* Badge */
.tp-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--gold);
  color: var(--navy);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(245,166,35,.45);
}

/* ═══════════════════════════════ WHY ════════════════════════ */
.tp-why {
  background: var(--navy);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

/* Decorative ring */
.tp-why::before {
  content: '';
  position: absolute;
  left: -200px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 100px solid rgba(245,166,35,.06);
  pointer-events: none;
}

.tp-why__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.tp-why__text .tp-section-head__tag {
  background: rgba(245,166,35,.15);
  color: var(--gold-light);
}

.tp-why__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--white);
  line-height: 1.2;
  margin: 16px 0 20px;
}

.tp-why__body {
  font-size: .98rem;
  color: rgba(255,255,255,.65);
  line-height: 1.8;
  margin-bottom: 36px;
}

.tp-why .tp-btn--outline {
  color: var(--gold);
  border-color: rgba(245,166,35,.5);
}
.tp-why .tp-btn--outline:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

/* Stats grid */
.tp-why__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.tp-stat {
  background: var(--navy-mid);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background var(--transition);
}

.tp-stat:hover {
  background: var(--navy-light);
}

/* Rounded corners on outer cells */
.tp-stat:nth-child(1) { border-radius: var(--radius-lg) 0 0 0; }
.tp-stat:nth-child(2) { border-radius: 0 var(--radius-lg) 0 0; }
.tp-stat:nth-child(3) { border-radius: 0 0 0 var(--radius-lg); }
.tp-stat:nth-child(4) { border-radius: 0 0 var(--radius-lg) 0; }

.tp-stat__num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.tp-stat__label {
  font-size: .82rem;
  font-weight: 500;
  color: rgba(255,255,255,.55);
  letter-spacing: .04em;
}

/* ═══════════════════════════ RESPONSIVE ═════════════════════ */

/* Large desktops: give featured cards extra width */
@media (min-width: 1100px) {
  .tp-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  /* Every 3rd card (Bentota, Sigiriya) spans extra visually */
  .tp-card--featured .tp-card__img-wrap {
    height: 240px;
  }
}

/* Medium screens */
@media (max-width: 1024px) {
  .tp-why__inner {
    gap: 48px;
  }
}

/* Tablet */
@media (max-width: 900px) {
  .tp-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tp-why__inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .tp-why__stats {
    max-width: 480px;
  }

  .tp-hero {
    padding: 40px 24px 80px;
  }
}

/* Small tablet / large phone */
@media (max-width: 640px) {
  .tp-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .tp-hero {
    /* On mobile fill the visible viewport */
    min-height: calc(100svh - 170px);
    height: calc(100svh - 170px);
    max-height: none;
    padding: 32px 20px 72px;
  }

  .tp-hero__title {
    font-size: clamp(2.8rem, 11vw, 4rem);
  }

  .tp-hero::after { display: none; }

  .tp-hero__sub { font-size: .95rem; }

  .tp-cities { padding: 64px 0 56px; }
  .tp-why    { padding: 64px 0; }

  .tp-section-head { margin-bottom: 40px; }

  .tp-why__inner { gap: 40px; }

  .tp-why__stats {
    grid-template-columns: 1fr 1fr;
    max-width: 100%;
  }

  .tp-stat { padding: 24px 20px; }
  .tp-stat__num { font-size: 2rem; }

  .tp-card__img-wrap { height: 190px; }
}

/* Very small phones */
@media (max-width: 380px) {
  .tp-hero__title { font-size: 2.6rem; }

  .tp-btn { padding: 13px 24px; font-size: .88rem; }

  .tp-card__body { padding: 18px 18px 20px; }
  .tp-card__name { font-size: 1.25rem; }
}