/* ==========================================================================
   TRAVELNEST - TRAVEL PACKAGE BOOKING TEMPLATE
   Core Stylesheet & Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* --- CSS Variables & Design Tokens --- */
:root {
  --primary: #0f2b48;
  --primary-dark: #091a2d;
  --primary-light: #1b4572;
  --accent: #f97316;
  --accent-hover: #ea580c;
  --accent-light: #fff7ed;
  --secondary: #0284c7;
  --secondary-light: #e0f2fe;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-dark: #091a2d;
  --bg-subtle: #f1f5f9;

  --text-main: #0f172a;
  --text-body: #475569;
  --text-muted: #94a3b8;
  --text-white: #ffffff;

  --border-light: #e2e8f0;
  --border-focus: #f97316;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 25px 30px -5px rgba(15, 43, 72, 0.12), 0 12px 14px -6px rgba(15, 43, 72, 0.06);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition-base: all 0.25s ease-in-out;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  --container-max: 1240px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-base);
}

ul, ol {
  list-style: none;
}

input, button, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-family: var(--font-serif);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-family: var(--font-serif);
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* --- Layout & Utilities --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section {
  padding: 5rem 0;
}

.section-subtle {
  background-color: var(--bg-subtle);
}

.section-dark {
  background-color: var(--bg-dark);
  color: #cbd5e1;
}

.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
  color: var(--text-white);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem auto;
}

.section-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-body);
}

.section-dark .section-desc {
  color: #94a3b8;
}

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  transition: var(--transition-base);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.4);
}

.btn-dark {
  background-color: var(--primary);
  color: #ffffff;
}

.btn-dark:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--border-light);
  background: transparent;
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background-color: var(--accent-light);
}

.btn-outline-white {
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.btn-outline-white:hover {
  background-color: #ffffff;
  color: var(--primary-dark);
  border-color: #ffffff;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: var(--radius-full);
}

/* --- Badges --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-accent {
  background-color: var(--accent);
  color: #ffffff;
}

.badge-primary {
  background-color: var(--primary);
  color: #ffffff;
}

.badge-success {
  background-color: #d1fae5;
  color: #065f46;
}

.badge-soft {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
  backdrop-filter: blur(4px);
}

/* --- Rating Stars --- */
.rating-stars {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--warning);
  font-size: 0.875rem;
}

.rating-score {
  font-weight: 700;
  color: var(--text-main);
  margin-left: 0.3rem;
}

.rating-count {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: normal;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.topbar {
  background-color: var(--primary-dark);
  color: #94a3b8;
  font-size: 0.825rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-contact {
  display: flex;
  gap: 1.5rem;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.topbar-item a:hover {
  color: var(--accent);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.currency-select, .lang-select {
  background: transparent;
  border: none;
  color: #cbd5e1;
  font-size: 0.825rem;
  cursor: pointer;
  outline: none;
}

.currency-select option, .lang-select option {
  background-color: var(--primary-dark);
  color: #ffffff;
}

.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 999;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background-color: #ffffff;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.brand-logo i {
  color: var(--accent);
  font-size: 1.75rem;
}

.brand-logo span {
  color: var(--accent);
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link:hover, .nav-item.active .nav-link {
  color: var(--accent);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background-color: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-base);
  border: 1px solid var(--border-light);
  z-index: 100;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
}

.dropdown-link:hover {
  background-color: var(--accent-light);
  color: var(--accent);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-search-btn, .wishlist-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  border: 1px solid var(--border-light);
  position: relative;
  transition: var(--transition-base);
}

.nav-search-btn:hover, .wishlist-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-toggle {
  display: none;
  font-size: 1.4rem;
  color: var(--text-main);
  padding: 0.5rem;
}

/* Mobile Offcanvas Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background-color: #ffffff;
  z-index: 1100;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  transition: right 0.35s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mobile-nav-drawer.active {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.mobile-close-btn {
  font-size: 1.3rem;
  color: var(--text-body);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav-link:hover {
  color: var(--accent);
}

.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   Hero Section & Search Widget
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 6rem 0;
  background: linear-gradient(135deg, rgba(15, 43, 72, 0.82) 0%, rgba(9, 26, 45, 0.88) 100%),
              url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  color: #ffffff;
}

.hero-content {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #fed7aa;
  margin-bottom: 1.5rem;
}

.hero-title {
  color: #ffffff;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-family: var(--font-serif);
  line-height: 1.18;
  margin-bottom: 1.25rem;
}

.hero-title span {
  color: var(--accent);
  position: relative;
}

.hero-description {
  font-size: 1.15rem;
  color: #e2e8f0;
  max-width: 620px;
  margin: 0 auto 2.5rem auto;
}

/* Hero Search Engine Widget */
.search-widget-container {
  margin-top: -3.5rem;
  position: relative;
  z-index: 10;
}

.search-widget {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
}

.search-form-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.search-input-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  background-color: var(--bg-subtle);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: var(--transition-base);
}

.search-input-group:focus-within {
  border-color: var(--accent);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.search-icon {
  font-size: 1.25rem;
  color: var(--accent);
}

.search-input-text {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.search-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.search-input-text input, .search-input-text select {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.2rem 0 0 0;
  width: 100%;
}

.search-btn {
  height: 100%;
  min-height: 56px;
  padding: 0 2rem;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   Feature Cards & Trust Highlights
   ========================================================================== */
.trust-bar {
  padding: 2.5rem 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.trust-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.trust-text h4 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.trust-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Destination Cards
   ========================================================================== */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.dest-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

.dest-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.dest-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.dest-card:hover .dest-img {
  transform: scale(1.08);
}

.dest-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 26, 45, 0.95) 0%, rgba(9, 26, 45, 0.4) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: #ffffff;
}

.dest-badge {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
}

.dest-country {
  font-size: 0.825rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fed7aa;
  font-weight: 600;
}

.dest-name {
  color: #ffffff;
  font-size: 1.35rem;
  font-family: var(--font-serif);
  margin-bottom: 0.4rem;
}

.dest-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: #cbd5e1;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 0.75rem;
  margin-top: 0.5rem;
}

.dest-price {
  font-weight: 700;
  color: var(--accent);
}

/* ==========================================================================
   Tour Package Cards
   ========================================================================== */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.package-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.package-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(249, 115, 22, 0.3);
}

.package-thumb {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.package-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.package-card:hover .package-thumb img {
  transform: scale(1.08);
}

.package-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.4rem;
}

.package-wishlist {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-body);
  transition: var(--transition-base);
}

.package-wishlist:hover, .package-wishlist.active {
  background-color: #ffffff;
  color: var(--danger);
}

.package-featured-duration {
  position: absolute;
  bottom: 0.85rem;
  left: 1rem;
  background-color: rgba(9, 26, 45, 0.85);
  color: #fff;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.package-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.package-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.package-title {
  font-size: 1.25rem;
  font-family: var(--font-serif);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.package-title a:hover {
  color: var(--accent);
}

.package-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-body);
}

.package-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.package-meta-item i {
  color: var(--accent);
}

.package-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.package-price-wrap {
  display: flex;
  flex-direction: column;
}

.price-prefix {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.package-price {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.package-price span {
  font-size: 0.8rem;
  font-weight: normal;
  color: var(--text-muted);
}

.package-price del {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-right: 0.35rem;
}

/* Package List View Variant */
.packages-list-view {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.packages-list-view .package-card {
  flex-direction: row;
  height: 250px;
}

.packages-list-view .package-thumb {
  width: 320px;
  height: 100%;
  flex-shrink: 0;
}

/* ==========================================================================
   Package Details Page
   ========================================================================== */
.tour-gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 1rem;
  margin-bottom: 3rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.tour-gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.tour-gallery-item:first-child {
  grid-row: span 2;
}

.tour-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tour-gallery-item:hover img {
  transform: scale(1.05);
}

.tour-gallery-more {
  position: absolute;
  inset: 0;
  background-color: rgba(9, 26, 45, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
}

/* Tour Header Strip */
.tour-header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
}

.tour-meta-badges {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.tour-quick-facts {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  margin-bottom: 2.5rem;
}

.fact-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.fact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.fact-item span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.fact-item strong {
  color: var(--text-main);
  font-size: 0.95rem;
}

/* Tour Layout Split */
.tour-detail-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.detail-nav-tabs {
  display: flex;
  gap: 1rem;
  border-bottom: 2px solid var(--border-light);
  margin-bottom: 2rem;
  overflow-x: auto;
}

.tab-btn {
  padding: 0.85rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-body);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition-base);
  white-space: nowrap;
}

.tab-btn.active, .tab-btn:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.detail-content-block {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  margin-bottom: 2rem;
}

.detail-content-block h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
}

/* Day-by-Day Itinerary Accordion */
.itinerary-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.itinerary-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-base);
}

.itinerary-item.active {
  border-color: var(--accent);
}

.itinerary-header {
  padding: 1.25rem;
  background-color: var(--bg-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
}

.itinerary-day-tag {
  background-color: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  margin-right: 0.75rem;
}

.itinerary-body {
  padding: 1.5rem;
  display: none;
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
}

.itinerary-item.active .itinerary-body {
  display: block;
}

/* Inclusions & Exclusions */
.inclusions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.check-list i.fa-check {
  color: var(--success);
  margin-top: 0.25rem;
}

.check-list i.fa-xmark {
  color: var(--danger);
  margin-top: 0.25rem;
}

/* Sticky Booking Card */
.sticky-booking-card {
  position: sticky;
  top: 100px;
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  padding: 2rem;
}

.booking-price-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.booking-form-item {
  margin-bottom: 1.25rem;
}

.booking-form-item label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.booking-counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.5rem 1rem;
}

.counter-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background-color: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: var(--transition-base);
}

.counter-btn:hover {
  background-color: var(--accent);
  color: #ffffff;
}

.counter-val {
  font-weight: 700;
  font-size: 1.1rem;
}

.booking-addons {
  margin: 1.5rem 0;
  padding: 1rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.addon-checkbox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
}

.addon-checkbox:last-child {
  margin-bottom: 0;
}

.addon-checkbox label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  margin-bottom: 0;
  font-weight: 500;
}

.booking-summary-breakdown {
  margin: 1.25rem 0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.summary-row.total {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  border-top: 2px dashed var(--border-light);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
}

/* ==========================================================================
   Checkout & Confirmation Pages
   ========================================================================== */
.checkout-steps-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
  position: relative;
}

.checkout-steps-bar::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--border-light);
  z-index: 1;
  transform: translateY(-50%);
}

.step-indicator {
  position: relative;
  z-index: 2;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1rem;
}

.step-circle {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  background-color: var(--bg-subtle);
  border: 2px solid var(--border-light);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: var(--transition-base);
}

.step-indicator.active .step-circle {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.step-indicator.completed .step-circle {
  background-color: var(--success);
  border-color: var(--success);
  color: #ffffff;
}

.step-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-body);
}

.checkout-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background-color: #ffffff;
  color: var(--text-main);
  outline: none;
  transition: var(--transition-base);
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.payment-method-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: var(--transition-base);
}

.payment-method-card:hover, .payment-method-card.selected {
  border-color: var(--accent);
  background-color: var(--accent-light);
}

.confirmation-card {
  max-width: 720px;
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 3.5rem 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
}

.success-icon-badge {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background-color: #dcfce7;
  color: var(--success);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   Filter Sidebar (Packages Page)
   ========================================================================== */
.packages-catalog-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.filter-sidebar {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 100px;
}

.filter-group {
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.filter-group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.filter-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filter-checkbox-list li {
  margin-bottom: 0.6rem;
}

.filter-checkbox-list label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--text-body);
}

.filter-checkbox-list input {
  margin-right: 0.5rem;
  accent-color: var(--accent);
}

.filter-count {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.price-range-slider {
  width: 100%;
  accent-color: var(--accent);
}

.price-range-values {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 0.5rem;
}

.catalog-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.view-toggle-btns {
  display: flex;
  gap: 0.4rem;
}

.view-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.view-btn.active {
  background-color: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ==========================================================================
   Testimonials & Reviews
   ========================================================================== */
.testimonial-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-quote {
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-main);
  margin: 1rem 0 1.5rem 0;
  position: relative;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-img {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.author-info h5 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.author-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Travel Blog & Articles
   ========================================================================== */
.blog-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.blog-thumb {
  height: 220px;
  overflow: hidden;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-thumb img {
  transform: scale(1.08);
}

.blog-body {
  padding: 1.5rem;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.blog-title {
  font-size: 1.25rem;
  font-family: var(--font-serif);
  margin-bottom: 0.75rem;
}

.blog-title a:hover {
  color: var(--accent);
}

.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent);
  margin-top: 0.5rem;
}

.read-more-link:hover {
  gap: 0.7rem;
}

/* ==========================================================================
   Newsletter & CTA Banner
   ========================================================================== */
.newsletter-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.newsletter-banner::after {
  content: '';
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.25) 0%, transparent 70%);
  border-radius: var(--radius-full);
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 500px;
  width: 100%;
}

.newsletter-input {
  flex-grow: 1;
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  backdrop-filter: blur(8px);
  outline: none;
}

.newsletter-input::placeholder {
  color: #cbd5e1;
}

.newsletter-input:focus {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: var(--accent);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--primary-dark);
  color: #94a3b8;
  padding-top: 5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  margin: 1.25rem 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-brand .brand-logo {
  color: #ffffff;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  transition: var(--transition-base);
}

.social-btn:hover {
  background-color: var(--accent);
  color: #ffffff;
  transform: translateY(-3px);
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent);
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.footer-contact-item i {
  color: var(--accent);
  margin-top: 0.25rem;
}

.footer-bottom {
  padding: 1.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-cards-icons {
  display: flex;
  gap: 0.75rem;
  font-size: 1.5rem;
}

/* ==========================================================================
   Inner Page Banners / Hero Compact
   ========================================================================== */
.inner-hero {
  position: relative;
  padding: 5rem 0 4rem 0;
  background: linear-gradient(135deg, rgba(15, 43, 72, 0.85) 0%, rgba(9, 26, 45, 0.92) 100%),
              url('https://images.unsplash.com/photo-1488646953014-85cb44e25828?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  color: #ffffff;
  text-align: center;
}

.inner-hero h1 {
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.breadcrumbs .separator {
  color: rgba(255, 255, 255, 0.4);
}

.breadcrumbs .current {
  color: var(--accent);
  font-weight: 600;
}

/* ==========================================================================
   Pagination Component
   ========================================================================== */
.pagination-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3.5rem;
}

.page-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-main);
  transition: var(--transition-base);
}

.page-btn.active, .page-btn:hover {
  background-color: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-base);
}

.faq-item.active {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.faq-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  cursor: pointer;
  color: var(--text-main);
}

.faq-icon {
  font-size: 0.9rem;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-body {
  display: none;
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-body {
  display: block;
}
