/* =====================================================
   Mongolia Travel - style.css
   Premium Korean Travel Platform
   ===================================================== */

/* ── Google Fonts Import ── */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700;800;900&display=swap');

/* ── CSS Custom Properties ── */
:root {
  /* Brand Colors */
  --primary:        #0D6EFD;
  --primary-dark:   #0a58ca;
  --primary-light:  #e8f1ff;
  --accent:         #00B894;
  --accent-dark:    #009678;
  --accent-light:   #e0f7f3;
  --highlight:      #FFC107;
  --highlight-dark: #e0a800;

  /* Neutrals */
  --bg:             #F6F8FB;
  --bg-card:        #FFFFFF;
  --text-dark:      #1A1D23;
  --text-body:      #3D4452;
  --text-muted:     #8A93A5;
  --border:         #E5E9F0;
  --border-light:   #F0F3F8;

  /* Gradients */
  --grad-primary:   linear-gradient(135deg, #0D6EFD 0%, #0056e0 100%);
  --grad-accent:    linear-gradient(135deg, #00B894 0%, #00cec9 100%);
  --grad-hero:      linear-gradient(160deg, #0a1628 0%, #0d3170 40%, #0D6EFD 100%);
  --grad-card:      linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.72) 100%);
  --grad-warm:      linear-gradient(135deg, #FFC107 0%, #ff9f43 100%);

  /* Shadows */
  --shadow-xs:  0 1px 3px rgba(0,0,0,0.06);
  --shadow-sm:  0 2px 8px rgba(13,110,253,0.08);
  --shadow-md:  0 8px 24px rgba(13,110,253,0.12);
  --shadow-lg:  0 16px 48px rgba(13,110,253,0.16);
  --shadow-xl:  0 24px 64px rgba(0,0,0,0.14);
  --shadow-card: 0 4px 20px rgba(26,29,35,0.08);
  --shadow-hover: 0 12px 40px rgba(13,110,253,0.18);

  /* Radius */
  --radius-sm:  8px;
  --radius-md:  14px;   /* buttons */
  --radius-lg:  20px;   /* cards */
  --radius-xl:  28px;
  --radius-2xl: 40px;
  --radius-full: 9999px;

  /* Typography */
  --font-base:  'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Noto Sans KR', sans-serif;

  /* Transitions */
  --trans-fast:   0.15s ease;
  --trans-base:   0.25s ease;
  --trans-slow:   0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-index Scale */
  --z-dropdown: 1000;
  --z-sticky:   1020;
  --z-fixed:    1030;
  --z-modal:    1050;
  --z-toast:    1080;
  --z-tooltip:  1090;
}

/* ── Dark Mode Variables ── */
[data-theme="dark"] {
  --bg:         #0F1117;
  --bg-card:    #1A1E2A;
  --text-dark:  #F0F2F7;
  --text-body:  #B8BFCC;
  --text-muted: #6B7280;
  --border:     #2A2F3D;
  --border-light: #1F2330;
  --shadow-card: 0 4px 20px rgba(0,0,0,0.3);
  --shadow-hover: 0 12px 40px rgba(13,110,253,0.25);
}

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-base);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-body);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color var(--trans-base), color var(--trans-base);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--trans-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol { list-style: none; }

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

input, select, textarea {
  font-family: inherit;
}

/* =====================================================
   TYPOGRAPHY
   ===================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-dark);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.display-1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; }
.display-2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800; }
.display-3 { font-size: clamp(1.75rem, 3vw, 2.75rem); font-weight: 700; }

.section-title {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.025em;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-eyebrow::before {
  content: '';
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--grad-primary);
  flex-shrink: 0;
}

/* =====================================================
   LAYOUT UTILITIES
   ===================================================== */
.section-pad {
  padding: 80px 0;
}

.section-pad-sm {
  padding: 48px 0;
}

.container-fluid-xl {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =====================================================
   HEADER / NAVBAR
   ===================================================== */
#mainHeader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}

/* 투명 상태 (Hero 위) */
#mainHeader.header-transparent {
  background: transparent;
}

#mainHeader.header-transparent .navbar {
  padding: 20px 0;
}

#mainHeader.header-transparent .navbar-brand .logo-text {
  color: #ffffff;
}

#mainHeader.header-transparent .nav-link {
  color: rgba(0, 0, 0, 0.92) !important;
}

#mainHeader.header-transparent .nav-link:hover {
  color: rgba(0, 0, 0, 0.92) !important;
}

#mainHeader.header-transparent .header-actions .btn-outline-primary {
  border-color: rgba(255,255,255,0.7);
  color: #fff;
}

#mainHeader.header-transparent .header-actions .btn-outline-primary:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

/* 스크롤 후 흰색 */
#mainHeader.header-scrolled {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.08);
}

[data-theme="dark"] #mainHeader.header-scrolled {
  background: rgba(15,17,23,0.97);
}

#mainHeader.header-scrolled .navbar {
  padding: 10px 0;
}

.navbar {
  padding: 16px 0;
  transition: padding var(--trans-base);
}

/* Logo */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--grad-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(13,110,253,0.35);
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  transition: color var(--trans-base);
}

.logo-text span {
  color: var(--primary);
}

/* Nav Links */
.navbar-nav .nav-item {
  position: relative;
}

.navbar-nav .nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-body) !important;
  padding: 8px 14px !important;
  border-radius: var(--radius-sm);
  transition: all var(--trans-fast);
  white-space: nowrap;
}

.navbar-nav .nav-link:hover {
  color: var(--primary) !important;
  background: var(--primary-light);
}

.navbar-nav .nav-link.active {
  color: var(--primary) !important;
}

/* Mega Dropdown */
.mega-dropdown .dropdown-menu {
  min-width: 560px;
  padding: 24px;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  margin-top: 12px;
  background: var(--bg-card);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mega-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-md);
  transition: all var(--trans-fast);
  cursor: pointer;
}

.mega-menu-item:hover {
  background: var(--primary-light);
}

.mega-menu-item:hover .mega-icon {
  background: var(--primary);
  color: #fff;
}

.mega-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary);
  flex-shrink: 0;
  transition: all var(--trans-fast);
}

.mega-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}

.mega-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-body);
  transition: all var(--trans-fast);
  background: transparent;
  border: none;
  cursor: pointer;
}

.btn-icon:hover {
  background: var(--primary-light);
  color: var(--primary);
}

/* Dark mode toggle */
#darkToggle {
  position: relative;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--grad-hero);
}

.hero-swiper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-swiper .swiper-slide {
  position: relative;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  transform: scale(1.05);
  transition: transform 6s ease, opacity 1s ease;
}

.swiper-slide-active .hero-slide-img {
  transform: scale(1);
  opacity: 0.5;
}

/* Overlay gradient */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(8,20,50,0.88) 0%,
    rgba(8,40,110,0.72) 50%,
    rgba(13,110,253,0.30) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.hero-badge i {
  color: var(--highlight);
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.8rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-title .highlight {
  background: linear-gradient(90deg, #FFC107, #ff9f43);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,0.82);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 40px;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 40px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
}

/* Hero Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-dot {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.3);
  position: relative;
  overflow: hidden;
}

.scroll-dot::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  right: 0;
  height: 100%;
  background: rgba(255,255,255,0.8);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { top: -100%; }
  100% { top: 200%; }
}

/* Swiper pagination custom */
.hero-swiper .swiper-pagination {
  bottom: 70px;
  z-index: 4;
}

.hero-swiper .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,0.5);
  opacity: 1;
  transition: all var(--trans-base);
}

.hero-swiper .swiper-pagination-bullet-active {
  width: 24px;
  border-radius: 3px;
  background: #fff;
}

/* =====================================================
   SEARCH BOX
   ===================================================== */
.search-box-wrapper {
  position: relative;
  z-index: 2;
  margin-top: -56px;
}

.search-box {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 28px 32px 24px;
  position: relative;
  overflow: hidden;
}

.search-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-primary);
}

.search-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 4px;
}

.search-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: calc(var(--radius-md) - 2px);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--trans-fast);
  white-space: nowrap;
}

.search-tab.active {
  background: var(--bg-card);
  color: var(--primary);
  box-shadow: var(--shadow-xs);
}

.search-tab i {
  font-size: 0.95rem;
}

/* Search Fields */
.search-fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.search-field-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-wrap i {
  position: absolute;
  left: 14px;
  color: var(--primary);
  font-size: 1rem;
  z-index: 1;
  pointer-events: none;
}

.search-input {
  width: 100%;
  height: 52px;
  padding: 0 14px 0 42px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  background: var(--bg-card);
  transition: all var(--trans-fast);
  outline: none;
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13,110,253,0.1);
}

.search-input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

.search-divider {
  width: 1px;
  height: 30px;
  background: var(--border);
  flex-shrink: 0;
}

/* Search CTA */
.btn-search {
  height: 52px;
  padding: 0 32px;
  background: var(--grad-primary);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: all var(--trans-base);
  box-shadow: 0 4px 16px rgba(13,110,253,0.35);
  position: relative;
  overflow: hidden;
}

.btn-search::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--trans-fast);
}

.btn-search:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13,110,253,0.45);
}

.btn-search:hover::after {
  background: rgba(255,255,255,0.08);
}

.btn-search:active {
  transform: translateY(0);
}

/* =====================================================
   SECTION HEADERS
   ===================================================== */
.section-header {
  margin-bottom: 40px;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap var(--trans-fast);
  white-space: nowrap;
}

.view-all-link:hover {
  gap: 10px;
  color: var(--primary-dark);
}

/* =====================================================
   TOUR CARDS
   ===================================================== */
.tour-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--trans-slow);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tour-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.tour-card-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.tour-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-slow);
}

.tour-card:hover .tour-card-image img {
  transform: scale(1.08);
}

/* Card Badges */
.card-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 1;
}

.badge-discount {
  background: linear-gradient(135deg, #ff4757, #ff6b81);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.badge-best {
  background: var(--grad-warm);
  color: #1A1D23;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.badge-new {
  background: var(--grad-accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* Wish Button */
.btn-wish {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--trans-fast);
  color: var(--text-muted);
  font-size: 1rem;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.btn-wish:hover,
.btn-wish.active {
  color: #ff4757;
  background: #fff;
  transform: scale(1.1);
}

.btn-wish.active i {
  font-weight: 900; /* solid */
}

/* Image Overlay Gradient */
.card-img-overlay-grad {
  position: absolute;
  inset: 0;
  background: var(--grad-card);
  opacity: 0;
  transition: opacity var(--trans-base);
}

.tour-card:hover .card-img-overlay-grad {
  opacity: 1;
}

/* Quick View Button (appears on hover) */
.card-quick-view {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  background: rgba(255,255,255,0.95);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: all var(--trans-base);
  pointer-events: none;
}

.tour-card:hover .card-quick-view {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* Card Body */
.tour-card-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 6px;
}

.card-location i {
  color: var(--primary);
  font-size: 0.8rem;
}

.card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Rating */
.card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.star-display {
  color: var(--highlight);
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.rating-score {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
}

.rating-count {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Card Footer */
.tour-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.card-price-wrap {
  display: flex;
  flex-direction: column;
}

.card-price-from {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1;
}

.card-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.card-price-original {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.card-price-current {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.card-price-unit {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Card Details */
.card-details {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.card-detail-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.card-detail-item i {
  color: var(--primary);
  font-size: 0.75rem;
}

/* Card Reserve Button */
.btn-card-reserve {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all var(--trans-fast);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-card-reserve:hover {
  background: var(--primary);
  color: #fff;
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(13,110,253,0.3);
}

/* =====================================================
   HOT DEAL SECTION
   ===================================================== */
.hotdeal-section {
  background: linear-gradient(135deg, #0a1628 0%, #0d3170 60%, #0D6EFD 100%);
  position: relative;
  overflow: hidden;
}

.hotdeal-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(13,110,253,0.3) 0%, transparent 70%);
  pointer-events: none;
}

.hotdeal-section .section-eyebrow {
  color: var(--highlight);
}

.hotdeal-section .section-eyebrow::before {
  background: var(--grad-warm);
}

.hotdeal-section .section-title {
  color: #fff;
}

.hotdeal-section .section-subtitle {
  color: rgba(255,255,255,0.65);
}

/* Countdown Timer */
.countdown-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  min-width: 48px;
}

.countdown-num {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown-label {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.countdown-sep {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.4);
  font-weight: 700;
  line-height: 1;
}

/* Hot Deal Card (dark version) */
.hotdeal-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--trans-slow);
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.hotdeal-card:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.3);
}

.hotdeal-card .tour-card-body {
  background: transparent;
}

.hotdeal-card .card-location {
  color: rgba(255,255,255,0.55);
}

.hotdeal-card .card-title {
  color: #fff;
}

.hotdeal-card .tour-card-footer {
  border-color: rgba(255,255,255,0.1);
}

.hotdeal-card .card-price-current {
  color: var(--highlight);
}

.hotdeal-card .card-price-from,
.hotdeal-card .card-price-unit {
  color: rgba(255,255,255,0.5);
}

.hotdeal-card .card-price-original {
  color: rgba(255,255,255,0.4);
}

.hotdeal-card .btn-card-reserve {
  background: rgba(255,193,7,0.15);
  color: var(--highlight);
  border: 1px solid rgba(255,193,7,0.3);
}

.hotdeal-card .btn-card-reserve:hover {
  background: var(--highlight);
  color: #1A1D23;
  border-color: var(--highlight);
}

/* =====================================================
   HOTEL CARDS
   ===================================================== */
.hotel-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--trans-slow);
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.hotel-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.hotel-card-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.hotel-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-slow);
}

.hotel-card:hover .hotel-card-image img {
  transform: scale(1.06);
}

.hotel-card-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hotel-stars {
  color: var(--highlight);
  font-size: 0.78rem;
  letter-spacing: 2px;
}

.hotel-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
}

.hotel-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.hotel-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.amenity-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--bg);
  color: var(--text-body);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.amenity-tag.featured {
  background: var(--accent-light);
  color: var(--accent-dark);
}

.hotel-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  margin-top: auto;
}

.hotel-free-cancel {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 600;
}

/* Review Score Badge */
.review-score {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.score-badge {
  width: 34px;
  height: 34px;
  background: var(--grad-primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  border-radius: var(--radius-sm) var(--radius-sm) var(--radius-sm) 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.score-text {
  display: flex;
  flex-direction: column;
}

.score-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

.score-count {
  font-size: 0.67rem;
  color: var(--text-muted);
}

/* =====================================================
   REVIEW / TESTIMONIAL SECTION
   ===================================================== */
.review-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: all var(--trans-slow);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.review-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  right: 20px;
  font-size: 8rem;
  font-weight: 900;
  color: var(--primary-light);
  line-height: 1;
  font-family: Georgia, serif;
  pointer-events: none;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--border-light);
}

.reviewer-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
}

.reviewer-trip {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.review-stars {
  color: var(--highlight);
  font-size: 0.8rem;
}

.review-text {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.7;
  flex: 1;
}

.review-product {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.review-product-img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.review-product-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-body);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* =====================================================
   GALLERY (Instagram Style)
   ===================================================== */
.gallery-section {
  overflow: hidden;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 12px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--border-light);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-slow);
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item.featured {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.65) 100%);
  opacity: 0;
  transition: opacity var(--trans-base);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay-content {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gallery-overlay-content i {
  color: #fff;
  font-size: 0.9rem;
}

.gallery-overlay-content span {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Gallery aspect ratios */
.gallery-item { aspect-ratio: 1; }
.gallery-item.featured { aspect-ratio: unset; }
.gallery-item.tall { aspect-ratio: unset; }

/* =====================================================
   TRAVEL SCHEDULE / ITINERARY
   ===================================================== */
.itinerary-section {
  background: var(--bg);
}

.itinerary-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.itinerary-tab {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all var(--trans-fast);
}

.itinerary-tab.active,
.itinerary-tab:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.itinerary-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  height: 100%;
}

.itinerary-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.itinerary-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-slow);
}

.itinerary-card:hover .itinerary-image img {
  transform: scale(1.05);
}

.itinerary-body {
  padding: 20px;
}

.itinerary-days {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.itinerary-day-badge {
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.itinerary-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.itinerary-highlights {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.itinerary-highlight {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-body);
}

.itinerary-highlight::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* =====================================================
   MONGOLIA MAP SECTION
   ===================================================== */
.map-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--primary-light) 100%);
  padding: 80px 0;
}

.map-container {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.map-svg-wrap {
  background: #e8f4f8;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.map-region-pin {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transform: translate(-50%, -100%);
  transition: all var(--trans-fast);
}

.map-region-pin:hover {
  z-index: 5;
}

.map-pin-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(13,110,253,0.4);
  position: relative;
}

.map-pin-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(13,110,253,0.3);
  animation: pinPulse 2s ease-in-out infinite;
}

@keyframes pinPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50%       { transform: scale(1.4); opacity: 0.2; }
}

.map-pin-label {
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  margin-bottom: 4px;
  box-shadow: 0 2px 8px rgba(13,110,253,0.3);
}

/* =====================================================
   FAQ SECTION
   ===================================================== */
.faq-section {
  background: var(--bg);
}

.faq-accordion .accordion-item {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md) !important;
  margin-bottom: 10px;
  overflow: hidden;
  transition: all var(--trans-fast);
}

.faq-accordion .accordion-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-accordion .accordion-button {
  background: transparent;
  color: var(--text-dark);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 20px 24px;
  box-shadow: none;
  border-radius: var(--radius-md) !important;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--primary);
  background: var(--primary-light);
}

.faq-accordion .accordion-button::after {
  filter: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%230D6EFD' d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z'/%3E%3C/svg%3E");
}

.faq-accordion .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%230D6EFD' d='M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z'/%3E%3C/svg%3E");
}

.faq-accordion .accordion-body {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.8;
  padding: 0 24px 20px;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: #0a1120;
  color: rgba(255,255,255,0.75);
  padding: 72px 0 0;
}

.footer-brand {
  margin-bottom: 24px;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.55);
  max-width: 280px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all var(--trans-fast);
  text-decoration: none;
}

.footer-social-link:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-heading {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color var(--trans-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-link:hover {
  color: #fff;
}

.footer-link::before {
  content: '→';
  opacity: 0;
  transition: opacity var(--trans-fast);
  font-size: 0.8rem;
}

.footer-link:hover::before {
  opacity: 1;
}

.footer-newsletter input {
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  color: #fff;
  padding: 12px 16px;
  font-size: 0.88rem;
  width: 100%;
  outline: none;
  transition: border-color var(--trans-fast);
  margin-bottom: 10px;
}

.footer-newsletter input::placeholder {
  color: rgba(255,255,255,0.35);
}

.footer-newsletter input:focus {
  border-color: var(--primary);
}

.footer-newsletter .btn {
  width: 100%;
}

.footer-divider {
  border-color: rgba(255,255,255,0.08);
  margin: 48px 0 0;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.footer-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color var(--trans-fast);
}

.footer-legal a:hover {
  color: rgba(255,255,255,0.85);
}

/* Payment Icons */
.footer-payments {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.payment-icon {
  height: 24px;
  width: auto;
  opacity: 0.5;
  filter: grayscale(100%) brightness(200%);
  transition: opacity var(--trans-fast);
}

.payment-icon:hover {
  opacity: 0.9;
}

/* =====================================================
   BUTTONS (Global)
   ===================================================== */
.btn {
  border-radius: var(--radius-md) !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  transition: all var(--trans-base) !important;
  position: relative;
  overflow: hidden;
}

/* Ripple Effect */
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  border-radius: inherit;
  transform: scale(0);
  transition: transform 0.5s, opacity 0.3s;
}

.btn:active::before {
  transform: scale(2.5);
  opacity: 0;
  transition: 0s;
}

.btn-primary {
  background: var(--grad-primary) !important;
  border-color: transparent !important;
  box-shadow: 0 4px 14px rgba(13,110,253,0.3) !important;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13,110,253,0.4) !important;
}

.btn-accent {
  background: var(--grad-accent) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(0,184,148,0.3) !important;
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,184,148,0.4) !important;
}

.btn-outline-primary {
  border-color: var(--primary) !important;
  color: var(--primary) !important;
}

.btn-outline-primary:hover {
  background: var(--primary) !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(13,110,253,0.25) !important;
}

.btn-lg {
  padding: 14px 32px !important;
  font-size: 1rem !important;
}

.btn-sm {
  padding: 7px 16px !important;
  font-size: 0.8rem !important;
}

/* =====================================================
   BADGES & TAGS
   ===================================================== */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.tag-primary { background: var(--primary-light); color: var(--primary); }
.tag-accent  { background: var(--accent-light);  color: var(--accent-dark); }
.tag-warm    { background: #fff8e0; color: #9a6f00; }

/* =====================================================
   SKELETON UI
   ===================================================== */
.skeleton {
  background: linear-gradient(90deg,
    var(--border-light) 25%,
    var(--border) 50%,
    var(--border-light) 75%
  );
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeletonShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.skeleton-img {
  aspect-ratio: 4/3;
  width: 100%;
}

.skeleton-body {
  padding: 18px;
}

.skeleton-line {
  height: 12px;
  margin-bottom: 10px;
  border-radius: 6px;
}

.skeleton-line.w-75 { width: 75%; }
.skeleton-line.w-50 { width: 50%; }
.skeleton-line.w-90 { width: 90%; }

/* =====================================================
   TOAST NOTIFICATIONS
   ===================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast-custom {
  background: var(--bg-card);
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 14px 18px;
  min-width: 280px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: toastSlideIn 0.3s var(--trans-slow);
}

@keyframes toastSlideIn {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

.toast-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.toast-success .toast-icon { background: var(--accent-light); color: var(--accent); }
.toast-error   .toast-icon { background: #ffe0e0; color: #ff4757; }
.toast-info    .toast-icon { background: var(--primary-light); color: var(--primary); }
.toast-warning .toast-icon { background: #fff8e0; color: var(--highlight-dark); }

.toast-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
}

.toast-msg {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* =====================================================
   LOADING OVERLAY
   ===================================================== */
#pageLoader {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

[data-theme="dark"] #pageLoader {
  background: #0F1117;
}

#pageLoader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-dark);
  letter-spacing: -0.04em;
}

.loader-logo span { color: var(--primary); }

.loader-bar {
  width: 200px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.loader-bar-fill {
  height: 100%;
  background: var(--grad-primary);
  border-radius: 2px;
  animation: loaderFill 1.2s ease-in-out forwards;
}

@keyframes loaderFill {
  0%   { width: 0%; }
  60%  { width: 80%; }
  100% { width: 100%; }
}

/* =====================================================
   BACK TO TOP
   ===================================================== */
#backToTop {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--grad-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(13,110,253,0.35);
  z-index: var(--z-fixed);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all var(--trans-base);
}

#backToTop.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#backToTop:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(13,110,253,0.45);
}

/* =====================================================
   SPECIAL SECTIONS
   ===================================================== */

/* Trust / Feature Highlights */
.feature-strip {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.feature-icon.blue   { background: var(--primary-light); color: var(--primary); }
.feature-icon.green  { background: var(--accent-light);  color: var(--accent);  }
.feature-icon.yellow { background: #fff8e0; color: var(--highlight-dark); }
.feature-icon.red    { background: #ffe0e0; color: #ff4757; }

.feature-text strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  display: block;
}

.feature-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* CTA Banner */
.cta-banner {
  background: var(--grad-primary);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -5%;
  width: 350px;
  height: 350px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.cta-banner-sub {
  color: rgba(255,255,255,0.75);
  margin-bottom: 28px;
  font-size: 1rem;
}

.btn-white {
  background: #fff !important;
  color: var(--primary) !important;
  border-color: transparent !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
}

.btn-white:hover {
  background: #f0f5ff !important;
  transform: translateY(-2px);
}

/* =====================================================
   FORM ELEMENTS
   ===================================================== */
.form-floating > .form-control,
.form-floating > .form-select {
  border-color: var(--border);
  border-radius: var(--radius-md) !important;
  background-color: var(--bg-card);
  color: var(--text-dark);
  transition: all var(--trans-fast);
  font-size: 0.9rem;
}

.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13,110,253,0.1);
}

.form-floating > label {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* =====================================================
   CUSTOM SCROLLBAR
   ===================================================== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* =====================================================
   UTILITIES
   ===================================================== */
.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-warm {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-primary { color: var(--primary) !important; }
.text-accent  { color: var(--accent)  !important; }
.text-muted   { color: var(--text-muted) !important; }
.text-dark-custom { color: var(--text-dark) !important; }

.bg-primary-light { background: var(--primary-light) !important; }
.bg-accent-light  { background: var(--accent-light)  !important; }

.rounded-card { border-radius: var(--radius-lg) !important; }
.rounded-btn  { border-radius: var(--radius-md) !important; }

.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }

/* =====================================================
   DARK MODE OVERRIDES
   ===================================================== */
[data-theme="dark"] .search-box {
  background: var(--bg-card);
}

[data-theme="dark"] .search-input {
  background: rgba(255,255,255,0.05);
  border-color: var(--border);
  color: var(--text-dark);
}

[data-theme="dark"] .search-tabs {
  background: rgba(255,255,255,0.05);
}

[data-theme="dark"] .search-tab.active {
  background: rgba(255,255,255,0.1);
}

[data-theme="dark"] .tour-card,
[data-theme="dark"] .hotel-card,
[data-theme="dark"] .review-card,
[data-theme="dark"] .itinerary-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
}

[data-theme="dark"] .amenity-tag {
  background: rgba(255,255,255,0.08);
  color: var(--text-body);
}

[data-theme="dark"] #mainHeader.header-scrolled .nav-link {
  color: var(--text-body) !important;
}

[data-theme="dark"] #mainHeader.header-scrolled .logo-text {
  color: var(--text-dark);
}

/* =====================================================
   AOS Animation Customization
   ===================================================== */
[data-aos] {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* =====================================================
   PRINT
   ===================================================== */
@media print {
  #mainHeader, #backToTop, .hero-scroll { display: none !important; }
  body { background: #fff; color: #000; }
}