/*
 * Expera Adventures - Custom Theme
 * A modern, safari-inspired design system
 */

/* ===== Design Tokens ===== */
:root {
  /* Colors - Safari Palette */
  --safari-gold: #D4A853;
  --safari-gold-dark: #B8923E;
  --earth-brown: #5D4E37;
  --earth-brown-light: #7A6B54;
  --sunset-orange: #E07B39;
  --acacia-green: #6B8E5A;
  --acacia-green-dark: #557548;
  --savanna-tan: #C4A77D;
  --cream: #F8F5F0;
  --cream-dark: #EDE8E0;
  --sky-blue: #87CEEB;

  /* Neutral Colors */
  --text-primary: #2D2A26;
  --text-secondary: #6B6560;
  --text-muted: #9B9590;
  --border-color: #E5E0DB;
  --bg-light: #FAFAF8;

  /* Gradients */
  --gradient-safari: linear-gradient(135deg, var(--safari-gold) 0%, var(--sunset-orange) 100%);
  --gradient-earth: linear-gradient(135deg, var(--earth-brown) 0%, var(--earth-brown-light) 100%);
  --gradient-nature: linear-gradient(135deg, var(--acacia-green) 0%, var(--acacia-green-dark) 100%);
  --gradient-hero: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.6) 100%);

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-xxl: 3rem;
  --space-xxxl: 4rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-xxl: 24px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
  --shadow-gold: 0 4px 14px rgba(212, 168, 83, 0.25);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Layout */
  --navbar-offset: 118px;
}

/* ===== Base Styles ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--navbar-offset);
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background:
    radial-gradient(circle at top left, rgba(212, 168, 83, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(107, 142, 90, 0.12), transparent 24%),
    linear-gradient(180deg, #fbf8f2 0%, #f6f1e8 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(93, 78, 55, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93, 78, 55, 0.02) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 85%);
  z-index: -1;
}

main {
  display: block;
  padding-top: var(--navbar-offset);
}

/* Tighten paragraph spacing across all frontend content */
main p {
  margin-bottom: 0.25rem;
}

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

/* Pages whose first child is a full-bleed hero negate the main padding */
main > .hero-modern:first-child,
main > .page-hero:first-child {
  margin-top: calc(-1 * var(--navbar-offset));
}

main > *:first-child {
  position: relative;
  z-index: 1;
}

/* ===== Shared Page Hero ===== */
.page-hero {
  position: relative;
  padding-top: calc(var(--navbar-offset) + 1rem);
  padding-bottom: 3rem;
  background: var(--earth-brown);
  overflow: hidden;
}

.page-hero .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.page-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 100%);
}

.page-hero .hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 2;
}

.page-hero .hero-wave svg {
  display: block;
  width: 100%;
}

.page-hero .text-white-75 {
  color: rgba(255,255,255,0.75);
}

.page-hero h1 {
  font-family: var(--font-display);
}

.page-hero .breadcrumb-safari .breadcrumb-item a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}

.page-hero .breadcrumb-safari .breadcrumb-item.active {
  color: rgba(255,255,255,0.9);
}

.page-hero .breadcrumb-safari .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.4);
}

/* Tall hero variant — for detail pages with bottom-aligned content */
.page-hero--tall {
  padding-bottom: 0;
}

.page-hero--tall .hero-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.75) 100%);
}

@media (max-width: 991.98px) {
  .page-hero .tour-hero-title { font-size: 2rem; }
  .page-hero .tour-hero-meta { gap: 0.75rem; }
}

@media (max-width: 575.98px) {
  .page-hero .tour-hero-meta .meta-item { font-size: 0.85rem; }
}

[id] {
  scroll-margin-top: calc(var(--navbar-offset) + 1rem);
}

::selection {
  background: rgba(212, 168, 83, 0.28);
  color: var(--text-primary);
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.3;
  color: var(--earth-brown);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

@media (max-width: 767.98px) {
  :root {
    --navbar-offset: 104px;
  }

  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
}

.display-1, .display-2, .display-3, .display-4 {
  font-family: var(--font-display);
  font-weight: 700;
}

.lead {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.7;
}

a {
  color: var(--safari-gold);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--safari-gold-dark);
}

:focus-visible {
  outline: 3px solid rgba(212, 168, 83, 0.45);
  outline-offset: 3px;
}

/* ===== Utility Classes ===== */
.text-safari { color: var(--safari-gold) !important; }
.text-earth { color: var(--earth-brown) !important; }
.text-nature { color: var(--acacia-green) !important; }
.text-sunset { color: var(--sunset-orange) !important; }

.bg-cream { background-color: var(--cream) !important; }
.bg-safari { background: var(--gradient-safari) !important; }
.bg-earth { background-color: var(--earth-brown) !important; }

.section-padding {
  padding: var(--space-xxxl) 0;
}

@media (max-width: 767.98px) {
  .section-padding {
    padding: var(--space-xxl) 0;
  }
}

/* Section Headers */
.section-badge {
  display: inline-block;
  background: rgba(212, 168, 83, 0.15);
  color: var(--safari-gold-dark);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-md);
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--earth-brown);
  margin-bottom: var(--space-md);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

/* ===== Buttons ===== */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-safari {
  background: var(--gradient-safari);
  color: white;
  box-shadow: var(--shadow-gold);
}

.btn-safari:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 168, 83, 0.35);
  color: white;
}

.btn-earth {
  background: var(--earth-brown);
  color: white;
}

.btn-earth:hover {
  background: var(--earth-brown-light);
  color: white;
  transform: translateY(-2px);
}

.btn-outline-safari {
  background: transparent;
  border: 2px solid var(--safari-gold);
  color: var(--safari-gold);
}

.btn-outline-safari:hover {
  background: var(--safari-gold);
  color: white;
}

.btn-outline-white {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.btn-outline-white:hover {
  background: white;
  color: var(--earth-brown);
}

.btn-white {
  background: white;
  color: var(--earth-brown);
}

.btn-white:hover {
  background: var(--cream);
  color: var(--earth-brown);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* ===== Navigation ===== */
.navbar-mahali {
  background: transparent;
  top: 0;
  left: 0;
  right: 0;
  padding: 0;
  transition: all var(--transition-base);
}

.navbar-mahali.scrolled {
  background: transparent;
  box-shadow: none;
  padding: 0;
  border-bottom-color: transparent;
}

.navbar-shell {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 1rem;
  min-height: 76px;
  padding: 0.8rem 1rem;
  border-radius: 0 0 24px 24px;
  background: rgba(248, 245, 240, 0.88);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(93, 78, 55, 0.08);
  border-top: 0;
  box-shadow: 0 18px 44px rgba(25, 19, 12, 0.12);
}

.navbar-mahali .navbar-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--earth-brown);
  letter-spacing: 0.02em;
  gap: 0.85rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--gradient-safari);
  color: white;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
  box-shadow: var(--shadow-gold);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 0.2rem;
}

.brand-copy strong {
  font-size: 1.4rem;
  font-weight: 700;
}

.brand-copy small {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.navbar-mahali .nav-link {
  color: var(--text-primary);
  font-weight: 700;
  padding: 0.5rem 1rem !important;
  transition: color var(--transition-fast), background var(--transition-fast);
  border-radius: 999px;
}

.navbar-mahali .nav-link:hover {
  color: var(--safari-gold);
  background: rgba(93, 78, 55, 0.06);
}

.navbar-mahali.scrolled .nav-link {
  color: var(--text-primary);
}

.navbar-mahali.scrolled .nav-link:hover {
  color: var(--safari-gold);
  background: rgba(93, 78, 55, 0.06);
}

.navbar-mahali .nav-link.is-active {
  color: var(--earth-brown);
  background: rgba(212, 168, 83, 0.2);
}

.navbar-mahali.scrolled .nav-link.is-active {
  color: var(--earth-brown);
  background: rgba(212, 168, 83, 0.2);
}

.navbar-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--earth-brown);
  background: rgba(93, 78, 55, 0.06);
  border-color: rgba(93, 78, 55, 0.08);
}

.navbar-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-mahali .navbar-toggler {
  color: var(--earth-brown);
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(93, 78, 55, 0.06);
}

.navbar-mahali .navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.18);
}

.nav-contact {
  color: var(--earth-brown);
  font-weight: 700;
}

.nav-contact:hover {
  color: var(--safari-gold-dark);
}

.nav-cta {
  min-height: 48px;
}

/* ===== Cards ===== */
.card-safari {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border: none;
}

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

.card-safari .card-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.card-safari .card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.card-safari .card-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: var(--gradient-safari);
  color: white;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  z-index: 1;
}

.card-safari .card-wishlist {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 36px;
  height: 36px;
  background: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 1;
}

.card-safari .card-wishlist:hover {
  background: #ff4757;
  color: white;
}

.card-safari .card-body {
  padding: var(--space-lg);
}

.card-safari .card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  color: var(--earth-brown);
}

.card-safari .card-location {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: var(--space-md);
}

.card-safari .card-location i {
  color: var(--safari-gold);
}

.card-safari .card-meta {
  display: flex;
  gap: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-color);
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.card-safari .card-meta span {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.card-safari .card-price {
  display: flex;
  align-items: baseline;
  gap: var(--space-xs);
}

.card-safari .card-price .price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--safari-gold);
}

.card-safari .card-price .per {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* ===== Hero Sections ===== */
.hero-safari {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-safari::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.hero-safari .hero-content {
  position: relative;
  z-index: 1;
}

.hero-safari h1 {
  font-size: 4rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

@media (max-width: 767.98px) {
  .hero-safari h1 {
    font-size: 2.5rem;
  }
}

/* Page Hero */
.page-hero {
  padding-top: 140px;
  padding-bottom: var(--space-xxl);
  background: var(--earth-brown);
  position: relative;
}

.page-hero-simple {
  padding: 150px 0 60px;
  background: var(--cream);
}

.page-hero-simple h1 {
  font-family: var(--font-display);
  color: var(--earth-brown);
}

/* ===== Search Widget ===== */
.search-widget {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  box-shadow: var(--shadow-xl);
}

.search-widget .form-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
}

.search-widget .form-control,
.search-widget .form-select {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.search-widget .form-control:focus,
.search-widget .form-select:focus {
  border-color: var(--safari-gold);
  box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.15);
}

/* ===== Footer ===== */
.footer-safari {
  background: linear-gradient(180deg, var(--earth-brown) 0%, #3d3428 100%);
  padding: var(--space-xxxl) 0 var(--space-xl);
  color: white;
  position: relative;
  overflow: hidden;
}

.footer-safari::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(212, 168, 83, 0.16), transparent 28%),
    radial-gradient(circle at bottom left, rgba(107, 142, 90, 0.16), transparent 24%);
  pointer-events: none;
}

.footer-safari h5 {
  color: white;
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: var(--space-lg);
  position: relative;
  padding-bottom: var(--space-sm);
}

.footer-safari h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--safari-gold);
}

.footer-safari ul li {
  margin-bottom: var(--space-sm);
}

.footer-safari ul li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.footer-safari ul li a:hover {
  color: var(--safari-gold);
  padding-left: 5px;
}

.footer-safari .social-links {
  display: flex;
  gap: var(--space-sm);
}

.footer-safari .social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all var(--transition-base);
}

.footer-safari .social-links a:hover {
  background: var(--safari-gold);
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: var(--space-xxl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.whatsapp-float a {
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.75rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-base);
}

.whatsapp-float a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* ===== Breadcrumbs ===== */
.breadcrumb-safari {
  background: transparent;
  padding: 0;
  margin: 0;
}

.breadcrumb-safari .breadcrumb-item {
  font-size: 0.875rem;
}

.breadcrumb-safari .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-safari .breadcrumb-item a:hover {
  color: var(--safari-gold);
}

.breadcrumb-safari .breadcrumb-item.active {
  color: white;
}

.breadcrumb-safari .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
  content: ">";
}

/* ===== Forms ===== */
.form-safari .form-control,
.form-safari .form-select {
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.875rem 1rem;
  font-size: 1rem;
  transition: all var(--transition-fast);
  background: white;
}

.form-safari .form-control:focus,
.form-safari .form-select:focus {
  border-color: var(--safari-gold);
  box-shadow: 0 0 0 4px rgba(212, 168, 83, 0.15);
}

.form-safari .form-label {
  font-weight: 500;
  color: var(--earth-brown);
  margin-bottom: var(--space-sm);
}

.form-safari textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Custom Checkbox */
.form-check-safari .form-check-input {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
}

.form-check-safari .form-check-input:checked {
  background-color: var(--safari-gold);
  border-color: var(--safari-gold);
}

.form-check-safari .form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.25);
}

/* ===== Testimonials ===== */
.testimonial-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: var(--space-md);
  right: var(--space-lg);
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--safari-gold);
  opacity: 0.2;
  line-height: 1;
}

.testimonial-card .rating {
  color: #FFC107;
  margin-bottom: var(--space-md);
}

.testimonial-card .content {
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

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

.testimonial-card .author-info h6 {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 600;
}

.testimonial-card .author-info small {
  color: var(--text-secondary);
}

/* ===== Tour Detail ===== */
.tour-hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.tour-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.7) 100%);
}

.tour-hero .hero-content {
  position: relative;
  z-index: 1;
  padding: var(--space-xxl);
  width: 100%;
}

/* Tour Tabs */
.tour-tabs {
  border: none;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.tour-tabs .nav-link {
  border: none;
  background: var(--cream);
  color: var(--text-secondary);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  font-weight: 500;
  transition: all var(--transition-fast);
}

.tour-tabs .nav-link:hover {
  background: var(--cream-dark);
  color: var(--earth-brown);
}

.tour-tabs .nav-link.active {
  background: var(--gradient-safari);
  color: white;
}

/* Itinerary Timeline */
.itinerary-timeline {
  position: relative;
  padding-left: 40px;
}

.itinerary-timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
}

.itinerary-day {
  position: relative;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--border-color);
}

.itinerary-day:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.itinerary-day .day-marker {
  position: absolute;
  left: -40px;
  top: 0;
  width: 32px;
  height: 32px;
  background: var(--gradient-safari);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
  z-index: 1;
}

.itinerary-day h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.itinerary-day .day-subtitle {
  color: var(--safari-gold);
  font-weight: 500;
  margin-bottom: var(--space-md);
}

/* Pricing Table */
.pricing-table {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.pricing-table thead {
  background: var(--gradient-safari);
  color: white;
}

.pricing-table th {
  padding: var(--space-lg);
  font-weight: 600;
  text-align: center;
}

.pricing-table td {
  padding: var(--space-lg);
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.pricing-table tbody tr:hover {
  background: var(--cream);
}

/* Booking Widget */
.booking-widget {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 100px;
}

.booking-widget .price-display {
  text-align: center;
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: var(--space-lg);
}

.booking-widget .price-display .price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--safari-gold);
  font-weight: 700;
}

.booking-widget .price-display .per {
  color: var(--text-secondary);
}

/* ===== FAQ Accordion ===== */
.accordion-safari .accordion-item {
  border: none;
  margin-bottom: var(--space-md);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.accordion-safari .accordion-button {
  font-weight: 600;
  color: var(--earth-brown);
  background: white;
  padding: var(--space-lg);
}

.accordion-safari .accordion-button:not(.collapsed) {
  background: var(--cream);
  color: var(--safari-gold);
  box-shadow: none;
}

.accordion-safari .accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23D4A853' viewBox='0 0 16 16'%3E%3Cpath 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");
}

.accordion-safari .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23D4A853' viewBox='0 0 16 16'%3E%3Cpath 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");
}

.accordion-safari .accordion-body {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-fadeInDown {
  animation: fadeInDown 0.4s ease forwards;
}

.animate-fadeIn {
  animation: fadeIn 0.5s ease forwards;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
}

/* Hover Animations */
.hover-lift {
  transition: transform var(--transition-base);
}

.hover-lift:hover {
  transform: translateY(-5px);
}

/* ===== Filter Sidebar ===== */
.filter-sidebar {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
}

.filter-sidebar h5 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--earth-brown);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--safari-gold);
  display: inline-block;
}

.filter-group {
  margin-bottom: var(--space-xl);
}

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

/* Price Range Slider */
.price-slider {
  height: 6px;
  background: var(--cream);
  border-radius: var(--radius-full);
  position: relative;
}

.price-slider .track {
  position: absolute;
  height: 100%;
  background: var(--gradient-safari);
  border-radius: var(--radius-full);
}

.price-slider .thumb {
  width: 20px;
  height: 20px;
  background: white;
  border: 3px solid var(--safari-gold);
  border-radius: var(--radius-full);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

/* ===== Pagination ===== */
.pagination-safari {
  gap: var(--space-sm);
}

.pagination-safari .page-link {
  border: none;
  background: white;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.pagination-safari .page-link:hover {
  background: var(--cream);
  color: var(--safari-gold);
}

.pagination-safari .page-item.active .page-link {
  background: var(--gradient-safari);
  color: white;
}

/* ===== Legal Content ===== */
.legal-content h2 {
  font-family: var(--font-display);
  color: var(--earth-brown);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  font-size: 1.5rem;
}

.legal-content h3 {
  color: var(--earth-brown);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  font-size: 1.1rem;
}

.legal-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.legal-content a {
  color: var(--safari-gold);
}

.legal-content ul {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

/* ===== Team Cards ===== */
.team-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

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

.team-card .team-image {
  aspect-ratio: 1;
  overflow: hidden;
}

.team-card .team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.team-card:hover .team-image img {
  transform: scale(1.1);
}

.team-card .team-info {
  padding: var(--space-lg);
  text-align: center;
}

.team-card .team-info h5 {
  font-family: var(--font-display);
  margin-bottom: var(--space-xs);
}

.team-card .team-info .role {
  color: var(--safari-gold);
  font-weight: 500;
  font-size: 0.875rem;
}

/* ===== Contact Cards ===== */
.contact-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  text-align: center;
  box-shadow: var(--shadow-md);
  height: 100%;
  transition: all var(--transition-base);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.contact-card .icon {
  width: 70px;
  height: 70px;
  background: var(--cream);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: 1.5rem;
  color: var(--safari-gold);
}

.contact-card h5 {
  font-family: var(--font-display);
  margin-bottom: var(--space-sm);
}

.contact-card p {
  color: var(--text-secondary);
  margin: 0;
}

.contact-card a {
  color: var(--safari-gold);
  font-weight: 500;
}

/* ===== Loading States ===== */
.skeleton {
  background: linear-gradient(90deg, var(--cream) 25%, var(--cream-dark) 50%, var(--cream) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
  .section-title {
    font-size: 2rem;
  }

  .booking-widget {
    position: static;
    margin-top: var(--space-xl);
  }
}

@media (max-width: 767.98px) {
  .section-padding {
    padding: var(--space-xl) 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float a {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}

/* ===== Modern Effects ===== */

/* Glassmorphism */
.glass {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.glass-dark {
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gradient Text */
.gradient-text {
  background: var(--gradient-safari);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Modern Shadows */
.shadow-glow {
  box-shadow: 0 0 40px rgba(212, 168, 83, 0.3);
}

.shadow-soft {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Blur Background */
.bg-blur {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ===== Hero Enhancements ===== */
.hero-safari {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-safari .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-safari .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(93, 78, 55, 0.85) 0%, rgba(0, 0, 0, 0.6) 100%);
  z-index: -1;
}

.hero-safari .hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: var(--space-xxl);
  text-align: center;
}

.display-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto var(--space-xl);
  line-height: 1.7;
}

/* Hero Search Box */
.hero-search-box {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-xxl);
  padding: var(--space-lg) var(--space-xl);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.hero-search-box .form-select,
.hero-search-box .form-control {
  border: 2px solid transparent;
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 0.875rem 1rem;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.hero-search-box .form-select:focus,
.hero-search-box .form-control:focus {
  border-color: var(--safari-gold);
  background: white;
  box-shadow: 0 0 0 4px rgba(212, 168, 83, 0.15);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.scroll-indicator a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  text-decoration: none;
  animation: bounce 2s infinite;
}

.scroll-indicator i {
  font-size: 1.5rem;
  opacity: 0.8;
}

/* ===== Destination Cards ===== */
.destination-card {
  position: relative;
  height: 350px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
}

.destination-card .destination-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.destination-card:hover .destination-bg {
  transform: scale(1.1);
}

.destination-card .destination-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.8) 100%);
}

.destination-card .destination-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-xl);
  color: white;
  z-index: 1;
}

.destination-card .destination-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.destination-card .destination-tours {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-bottom: var(--space-md);
}

.destination-card .destination-link {
  display: inline-flex;
  align-items: center;
  color: var(--safari-gold);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.destination-card .destination-link:hover {
  color: white;
  gap: var(--space-sm);
}

/* ===== Tour Cards Enhanced ===== */
.tour-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.tour-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.tour-card .tour-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.tour-card .tour-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tour-card:hover .tour-image img {
  transform: scale(1.1);
}

.tour-card .tour-badges {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  z-index: 2;
}

.tour-card .badge-duration {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  color: white;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 600;
}

.tour-card .badge-featured {
  background: var(--gradient-safari);
  color: white;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 600;
}

.tour-card .tour-favorite {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 40px;
  height: 40px;
  background: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.tour-card .tour-favorite:hover {
  background: #ff4757;
  color: white;
  transform: scale(1.1);
}

.tour-card .tour-favorite.active {
  background: #ff4757;
  color: white;
}

.tour-card .tour-content {
  padding: var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tour-card .tour-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--earth-brown);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

.tour-card .tour-meta {
  display: flex;
  gap: var(--space-md);
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: var(--space-sm);
}

.tour-card .tour-meta i {
  color: var(--safari-gold);
}

.tour-card .tour-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  flex: 1;
  margin-bottom: var(--space-md);
}

.tour-card .tour-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-color);
}

.tour-card .tour-price {
  display: flex;
  flex-direction: column;
}

.tour-card .tour-price span:first-child {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--safari-gold);
  line-height: 1;
}

.tour-card .tour-price small {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* ===== Testimonials Enhanced ===== */
.testimonial-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  position: relative;
  transition: all var(--transition-base);
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.testimonial-card .stars {
  color: #FFB800;
  font-size: 1rem;
  margin-bottom: var(--space-md);
}

.testimonial-card .testimonial-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: var(--space-lg);
  position: relative;
}

.testimonial-card .testimonial-text::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: -10px;
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--safari-gold);
  opacity: 0.2;
  line-height: 1;
}

.testimonial-card .testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-card .author-avatar {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 3px solid var(--safari-gold);
}

.testimonial-card .author-info h6 {
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 0;
  color: var(--earth-brown);
}

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

/* ===== Background Patterns ===== */
.bg-pattern {
  position: relative;
  background-color: var(--cream);
}

.bg-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30L30 0z' fill='%23D4A853' fill-opacity='0.03'/%3E%3C/svg%3E");
  opacity: 1;
  pointer-events: none;
}

/* ===== Gradient Backgrounds ===== */
.gradient-sunset {
  background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 50%, #FED330 100%);
}

.gradient-ocean {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-forest {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

/* ===== Button Enhancements ===== */
.btn-safari {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-safari::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
  z-index: -1;
}

.btn-safari:hover::before {
  left: 100%;
}

.btn-whatsapp {
  background: #25D366;
  color: white;
  border: none;
}

.btn-whatsapp:hover {
  background: #128C7E;
  color: white;
  transform: translateY(-2px);
}

/* ===== Section Padding Large ===== */
.section-padding-lg {
  padding: var(--space-xxxl) 0;
}

@media (min-width: 992px) {
  .section-padding-lg {
    padding: 6rem 0;
  }
}

/* ===== Counter Animation ===== */
.counter {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--safari-gold);
}

/* ===== Image Hover Effects ===== */
.img-hover-zoom {
  overflow: hidden;
}

.img-hover-zoom img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.img-hover-zoom:hover img {
  transform: scale(1.1);
}

/* ===== Card Hover Effects ===== */
.card-hover-shadow {
  transition: all var(--transition-base);
}

.card-hover-shadow:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* ===== Text Underline Animation ===== */
.link-underline {
  position: relative;
  display: inline-block;
}

.link-underline::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background: var(--safari-gold);
  transition: width var(--transition-base);
}

.link-underline:hover::after {
  width: 100%;
}

/* ===== Floating Labels ===== */
.form-floating-safari {
  position: relative;
}

.form-floating-safari .form-control {
  height: 60px;
  padding-top: 1.5rem;
}

.form-floating-safari label {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  transition: all var(--transition-fast);
  color: var(--text-secondary);
  pointer-events: none;
}

.form-floating-safari .form-control:focus ~ label,
.form-floating-safari .form-control:not(:placeholder-shown) ~ label {
  top: 0.75rem;
  transform: translateY(0);
  font-size: 0.75rem;
  color: var(--safari-gold);
}

/* ===== Badge Styles ===== */
.badge-safari {
  background: var(--gradient-safari);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-outline {
  background: transparent;
  border: 2px solid var(--safari-gold);
  color: var(--safari-gold);
  padding: 0.4rem 0.9rem;
}

/* ===== Dividers ===== */
.divider-safari {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.divider-safari::before,
.divider-safari::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-color);
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--cream);
}

::-webkit-scrollbar-thumb {
  background: var(--savanna-tan);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--safari-gold);
}

/* ===== Selection Color ===== */
::selection {
  background: var(--safari-gold);
  color: white;
}

/* ===== Focus Styles (WCAG 2.4.7) ===== */
:focus-visible {
  outline: 3px solid var(--safari-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.btn-safari:focus-visible,
.btn-book:focus-visible,
.btn-cta-primary:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 5px var(--safari-gold);
}

.modern-select:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible {
  outline: 3px solid var(--safari-gold);
  outline-offset: 0;
  border-color: var(--safari-gold) !important;
  box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.3);
}

/* ===== Broken Image Fallback ===== */
.hero-bg, .tour-card-image, .xp-card__img, .destination-image {
  background-color: var(--cream-dark);
}

img:not([src]), img[src=""] {
  min-height: 200px;
  background: linear-gradient(90deg, #EDE8E0 25%, #F8F5F0 50%, #EDE8E0 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
}

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===== AOS Mobile/Reduced-Motion Fallback ===== */
@media (max-width: 767px) {
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ===== Modern Select Cross-Browser ===== */
.modern-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235D4E37' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.modern-select:focus {
  outline: 3px solid var(--safari-gold);
  border-color: var(--safari-gold);
  box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.25);
}

/* ===== Image Aspect Ratios & CLS Prevention ===== */
.tour-card-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--cream-dark);
}

.xp-card__img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--cream-dark);
}

.destination-image {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: var(--cream-dark);
}

/* ===== Experience Card - 0 Tours Fallback ===== */
.xp-card__count--custom {
  background: rgba(255,255,255,0.15);
  font-style: italic;
}

/* ===== Print Styles ===== */
@media print {
  .navbar-mahali,
  .footer-safari,
  .whatsapp-float,
  .booking-widget {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .section-padding {
    padding: 1rem 0;
  }
}
