@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Outfit:wght@300;400;500;600&display=swap');

/* ═══════════════════════════════
   BRAND TOKENS
═══════════════════════════════ */
:root {
  --brand-dark:    #081421;
  --brand-orange:  #ff6a10;
  --brand-orange-lt: rgba(255,106,16,0.10);
  --ink:           #081421;
  --ink-soft:      #4a5568;
  --ink-muted:     #8a95a3;
  --paper:         #f8fafc;
  --paper-2:       #eef2f7;
  --paper-3:       #dde4ee;
  --line:          #dde4ee;
  --font-display:  'Cormorant Garamond', Georgia, serif;
  --font-body:     'Outfit', sans-serif;
}

/* ═══════════════════════════════
   SECTION WRAPPER
═══════════════════════════════ */
.tours-section {
  padding: 80px 0 100px;
  background: var(--paper);
  position: relative;
  overflow: hidden;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

/* dot-grid texture */
.tours-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #c5cfd8 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.22;
  pointer-events: none;
}

.tours-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

/* ═══════════════════════════════
   SECTION HEADER
═══════════════════════════════ */
.tours-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 52px;
}

/* eyebrow */
.tours-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin-bottom: 14px;
}
.tours-eyebrow::before,
.tours-eyebrow::after {
  content: '';
  display: block;
  height: 1.5px;
  background: var(--brand-orange);
  opacity: 0.45;
}
.tours-eyebrow::before { width: 28px; }
.tours-eyebrow::after  { width: 14px; }

.tours-headline {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 500;
  line-height: 1.06;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.tours-headline em {
  font-style: italic;
  color: var(--brand-orange);
}

.tours-subtext {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 500px;
}

/* ── decorative divider ── */
.tours-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 44px;
}
.tours-divider::before,
.tours-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}
.tours-divider-icon {
  width: 28px; height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-orange);
  font-size: 13px;
  flex-shrink: 0;
}

/* ═══════════════════════════════
   STATS BAR
═══════════════════════════════ */
.tours-stats {
  display: flex;
  background: var(--brand-dark);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 52px;
}
.stat-item {
  flex: 1;
  padding: 22px 20px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 500;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-num span { color: var(--brand-orange); font-style: italic; }
.stat-label {
  font-size: 10.5px; font-weight: 400;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.38);
}

/* ═══════════════════════════════
   GRID — 2 col desktop
═══════════════════════════════ */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* ── CARD ── */
.pkg-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative;
}
.pkg-card:hover {
  border-color: var(--paper-3);
  transform: translateY(-3px);
  box-shadow: 0 14px 38px rgba(8,20,33,0.10);
}
/* corner accent on hover */
.pkg-card::after {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 52px; height: 52px;
  background: linear-gradient(225deg, rgba(255,106,16,0.12) 0%, transparent 65%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s;
}
.pkg-card:hover::after { opacity: 1; }

/* ── THUMBNAIL ── */
.pkg-thumb {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: var(--paper-2);
  flex-shrink: 0;
}
.pkg-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.pkg-card:hover .pkg-thumb img { transform: scale(1.06); }

/* dark-to-transparent overlay */
.pkg-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,20,33,0.42) 0%, transparent 55%);
  pointer-events: none;
}

.pkg-duration-tag {
  position: absolute;
  bottom: 12px; left: 12px; z-index: 2;
  background: rgba(8,20,33,0.72);
  color: rgba(255,255,255,0.92);
  font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 20px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
}

.pkg-badge-img {
  position: absolute;
  top: 12px; right: 12px; z-index: 2;
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brand-orange);
  background: rgba(255,255,255,0.95);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255,106,16,0.25);
  backdrop-filter: blur(4px);
}

/* ── BODY ── */
.pkg-body {
  padding: 20px 22px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pkg-title {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 500;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.pkg-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.pkg-location {
  display: flex; align-items: center; gap: 4px;
  font-size: 12px; color: var(--ink-muted);
  letter-spacing: 0.03em;
}

.pkg-rating {
  display: flex; align-items: center; gap: 4px;
  font-size: 12px; color: var(--ink-muted);
}
.pkg-rating-star { color: var(--brand-orange); font-size: 12px; }
.pkg-rating-val  { font-weight: 600; color: var(--ink); font-size: 12px; }

.pkg-sep {
  width: 100%; height: 1px;
  background: var(--line);
  margin: 12px 0;
}

/* ── PRICE — subtle, no highlight ── */
.pkg-price-block { padding-bottom: 4px; }

.pkg-price-label {
  font-size: 10px; font-weight: 400;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.pkg-price-main {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1;
}

.pkg-price-old {
  font-size: 13px; color: var(--ink-muted);
  text-decoration: line-through;
  font-weight: 300;
  margin-left: 6px;
}

.pkg-price-enquire {
  font-size: 13px; color: var(--ink-muted);
  font-style: italic;
  font-family: var(--font-display);
  font-weight: 400;
}

/* ── FOOTER ── */
.pkg-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 22px 18px;
  border-top: 1px solid var(--line);
  margin-top: 16px;
}

/* VIEW ITINERARY */
.pkg-view-btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  letter-spacing: 0.05em; text-transform: uppercase;
  transition: color 0.2s;
}
.pkg-view-btn .arrow-box {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  flex-shrink: 0;
  color: var(--ink-soft);
}
.pkg-view-btn:hover { color: var(--brand-dark); }
.pkg-view-btn:hover .arrow-box {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  transform: translateX(3px);
  color: #fff;
}

/* CALLBACK GROUP */
.pkg-callback { display: flex; align-items: center; gap: 7px; }

/* PHONE BUTTON */
.pkg-call-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-muted);
  text-decoration: none;
  flex-shrink: 0;
  transition: all 0.2s;
}
.pkg-call-btn:hover {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: #fff;
  transform: scale(1.08) rotate(-8deg);
}

/* REQUEST CALLBACK */
.pkg-req-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-body);
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: #fff;
  background: var(--brand-orange);
  border: none;
  border-radius: 8px;
  padding: 9px 16px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 2px 0 rgba(180,60,0,0.35), 0 4px 14px rgba(255,106,16,0.22);
}
.pkg-req-btn:hover {
  background: #e55c00;
  transform: translateY(-1px);
  box-shadow: 0 3px 0 rgba(180,60,0,0.35), 0 8px 22px rgba(255,106,16,0.30);
}
.pkg-req-btn:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 rgba(180,60,0,0.3);
}

/* VIEW ALL */
.tours-footer {
  margin-top: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.view-all-btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 18px; font-weight: 500; font-style: italic;
  color: var(--brand-dark);
  text-decoration: none;
  padding: 14px 40px;
  border: 1.5px solid var(--brand-dark);
  border-radius: 4px;
  position: relative; overflow: hidden;
  transition: color 0.28s, gap 0.25s;
}
.view-all-btn::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--brand-dark);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
  z-index: 0;
}
.view-all-btn:hover::before { transform: scaleX(1); }
.view-all-btn:hover { color: #fff; gap: 18px; }
.view-all-btn span,
.view-all-btn svg { position: relative; z-index: 1; }

/* ═══════════════════════════════
   ANIMATIONS
═══════════════════════════════ */
@keyframes tp-fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.tours-eyebrow  { animation: tp-fadeUp 0.55s ease both; }
.tours-headline { animation: tp-fadeUp 0.55s 0.08s ease both; }
.tours-subtext  { animation: tp-fadeUp 0.55s 0.16s ease both; }
.tours-divider  { animation: tp-fadeUp 0.55s 0.22s ease both; }
.tours-stats    { animation: tp-fadeUp 0.55s 0.28s ease both; }
.pkg-card:nth-child(1) { animation: tp-fadeUp 0.55s 0.34s ease both; }
.pkg-card:nth-child(2) { animation: tp-fadeUp 0.55s 0.40s ease both; }
.pkg-card:nth-child(3) { animation: tp-fadeUp 0.55s 0.46s ease both; }
.pkg-card:nth-child(4) { animation: tp-fadeUp 0.55s 0.52s ease both; }
.tours-footer   { animation: tp-fadeUp 0.55s 0.58s ease both; }

/* ═══════════════════════════════
   MOBILE — horizontal scroll
═══════════════════════════════ */
@media (max-width: 768px) {
  .tours-section { padding: 52px 0 68px; }
  .tours-stats { flex-wrap: wrap; }
  .stat-item { flex: 1 1 50%; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .stat-item:nth-child(2) { border-right: none; }

  .pkg-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding-bottom: 12px;
    margin: 0 -24px;
    padding-left: 24px;
    padding-right: 24px;
    scrollbar-width: none;
    grid-template-columns: unset;
  }
  .pkg-grid::-webkit-scrollbar { display: none; }

  .pkg-card {
    flex: 0 0 80vw;
    max-width: 310px;
    scroll-snap-align: start;
  }
  .pkg-thumb { height: 170px; }
}

.scroll-hint {
  display: none;
}
@media (max-width: 768px) {
  .scroll-hint {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 16px;
  }
  .scroll-hint-line {
    height: 1px; width: 28px;
    background: var(--line);
    flex-shrink: 0;
  }
}