/* =====================================================
   GLOBAL BASE
===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@500;700;800&display=swap');

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

--primary: #0B1120;
/* Deep Navy */
--primary-light: #1E293B;
/* Lighter Navy */
--accent: #F97316;
/* Vibrant Orange */
--accent-hover: #EA580C;
/* Darker Orange */
--secondary: #3B82F6;
/* Blue (for links/info) */
--bg-body: #F8FAFC;
/* Light Gray Background */
--bg-white: #FFFFFF;
--text-main: #1E293B;
/* Dark Slate */
--text-muted: #64748B;
/* Muted Slate */
--border: #E2E8F0;

--radius-sm: 8px;
--radius-md: 12px;
--radius-lg: 24px;

--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1),
0 2px 4px -2px rgb(0 0 0 / 0.1);
--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
0 4px 6px -4px rgb(0 0 0 / 0.1);
--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1),
0 8px 10px -6px rgb(0 0 0 / 0.1);
--shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

section {
  padding: 5rem 0;
}

/* =====================================================
   TYPOGRAPHY
===================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h4 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 600;
}

h5 {
  font-size: 1.25rem;
  font-weight: 600;
}

h6 {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
}

/* =====================================================
   BUTTONS & UI ELEMENTS
===================================================== */
.btn {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  /* Pill shape */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary,
.btn-danger {
  /* Use Accent Color */
  background-color: var(--accent);
  border-color: var(--accent);
  color: white;
  box-shadow: 0 4px 6px -1px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover,
.btn-danger:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(249, 115, 22, 0.4);
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--border);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* =====================================================
   HEADER / NAVBAR
===================================================== */
.navbar {
  padding: 1.25rem 0;
  transition: all 0.4s ease;
}

.glass-nav {
  background: rgba(255, 255, 255, 0.85);
  /* Semi-transparent white */
  backdrop-filter: blur(8px);
}

.glass-nav.is-sticky,
.glass-nav:hover {
  /* Added sticky/hover state handling placeholder */
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  padding: 0.75rem 0;
}

/* Ensure sticky works if JS toggles a class, otherwise default to white on scroll if preferred */
/* Note: Original JS likely handles .is-sticky */

.navbar-brand {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary);
}

.nav-link {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: var(--primary) !important;
  font-size: 0.95rem;
  margin: 0 0.5rem;
}

.nav-link:hover {
  color: var(--accent) !important;
}

/* =====================================================
   HERO SECTION
===================================================== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* Next Line added to ensure background setup works */
  background-size: cover;
  background-position: center;
}

/* Gradient Overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 17, 32, 0.85) 0%, rgba(11, 17, 32, 0.4) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 {
  color: white;
  margin-bottom: 1.5rem;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  max-width: 600px;
}

/* =====================================================
   CARDS (TRIPS & TOURS)
===================================================== */
.trip-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid var(--border);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  /* Context */
}

.trip-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
  border-color: transparent;
}

.trip-img {
  position: relative;
  height: 260px;
  /* Taller images */
  overflow: hidden;
}

.trip-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.trip-card:hover .trip-img img {
  transform: scale(1.05);
}

.price-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  /* Moved to top-right */
  background: var(--bg-white);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.trip-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.trip-title a {
  color: var(--primary);
  text-decoration: none;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 2px;
  background-position: left bottom;
  background-repeat: no-repeat;
  transition: background-size 0.3s;
}

.trip-card:hover .trip-title a {
  background-size: 100% 2px;
}

.trip-meta {
  margin-top: auto;
  /* Push to bottom if flex */
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* =====================================================
   SECTIONS & UTILS
===================================================== */
.bg-light {
  background-color: #F1F5F9 !important;
  /* Slightly darker than body */
}

/* Testimonials */
.testimonial {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.testimonial::before {
  content: '"';
  font-family: serif;
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.2;
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  line-height: 1;
}

/* Footer */
.site-footer {
  background: var(--primary);
  color: #94A3B8;
  padding: 5rem 0 2rem;
  font-size: 0.95rem;
}

.site-footer h5,
.site-footer h6 {
  color: white;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.footer-menu {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-menu li {
  margin-bottom: 0.75rem;
}

.footer-menu li a {
  color: #94A3B8;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}

.footer-menu li a:hover {
  color: var(--accent);
  transform: translateX(5px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 4rem;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Forms */
.form-card {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.form-control {
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #F8FAFC;
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1);
}

/* =====================================================
   TRIP STICKY NAV
===================================================== */
#trip-scroll-nav {
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

#trip-scroll-nav .nav-link {
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  border-radius: 0;
  transition: all 0.3s;
}

#trip-scroll-nav .nav-link:hover,
#trip-scroll-nav .nav-link.active {
  color: var(--accent) !important;
  border-bottom-color: var(--accent);
}

/* Hide scrollbar */
#trip-scroll-nav::-webkit-scrollbar {
  display: none;
}

.sticky-nav-wrapper {
  transition: all 0.4s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.sticky-nav-wrapper.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Mobile */
@media (max-width: 768px) {
  section {
    padding: 3rem 0;
  }

  .hero-content {
    padding: 0 1rem;
  }

  .trip-body {
    padding: 1.5rem;
  }
}

/* =====================================================
   SINGLE TRIP ENHANCEMENTS
===================================================== */

/* Trip Stats Grid */
.trip-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.trip-stat-item {
  background: var(--bg-white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  border: 1px solid var(--border);
}

.trip-stat-item i {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
  display: block;
}

.trip-stat-item strong {
  display: block;
  font-size: 1.1rem;
  color: var(--primary);
  line-height: 1.2;
}

.trip-stat-item span {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Includes (Check) & Excludes (Cross) */
.list-check,
.list-cross {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-check li,
.list-cross li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.list-check li::before,
.list-cross li::before {
  font-family: 'bootstrap-icons';
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 1.1rem;
  font-weight: 700;
}

.list-check li::before {
  content: "\F26A";
  /* check-circle-fill */
  color: #16A34A;
  /* Green */
}

.list-cross li::before {
  content: "\F622";
  /* x-circle-fill */
  color: #DC2626;
  /* Red */
}

/* FAQs Accordion */
.faq-accordion .accordion-item {
  border: none;
  margin-bottom: 1rem;
  background: transparent;
}

.faq-accordion .accordion-header .accordion-button {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
  color: var(--primary);
  padding: 1.25rem;
}

.faq-accordion .accordion-header .accordion-button:not(.collapsed) {
  background: var(--primary-light);
  color: white;
  border-color: var(--primary-light);
}

.faq-accordion .accordion-header .accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

.faq-accordion .accordion-body {
  background: var(--bg-white);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  border: 1px solid var(--border);
  border-top: none;
  padding: 1.5rem;
  margin-top: -5px;
  /* overlap slightly */
}

/* Reviews / Comments */
.comments-area {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin-top: 3rem;
}

.comment-list {
  list-style: none;
  padding: 0;
}

.comment-body {
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}

.comment-author .fn {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
}

.comment-metadata {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}


/* =====================================================
   ADVANCED MENU (3-LEVEL & MEGA MENU)
===================================================== */

/* Desktop Hover & 3rd Level */
@media (min-width: 992px) {

  /* Show dropdown on hover */
  .navbar-expand-lg .navbar-nav .dropdown:hover>.dropdown-menu {
    display: block;
    margin-top: 0;
    animation: fadeIn 0.3s ease;
  }

  /* 3rd Level Submenu */
  .dropdown-menu .dropdown-submenu {
    position: relative;
  }

  /* Target the nested dropdown menu */
  .dropdown-menu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -5px;
    margin-left: 0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Toggle Animation */
.navbar-toggler {
  border: none;
  padding: 0.5rem;
  color: var(--primary);
  background: transparent !important;
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

.navbar-toggler-icon {
  background-image: none !important;
  /* Remove SVG */
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-family: 'bootstrap-icons';
  font-style: normal;
  font-size: 2rem;
  line-height: 1;
}

.navbar-toggler-icon::before {
  content: "\F479";
  /* list (sandwich) */
  transition: all 0.3s ease;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  content: "\F62A";
  /* x-lg */
  transform: rotate(90deg);
  color: var(--accent);
}

/* Mobile Adjustments */
@media (max-width: 991px) {
  .navbar-collapse {
    background: var(--bg-white);
    padding: 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    margin-top: 1rem;
    border: 1px solid var(--border);
  }

  .navbar-nav .nav-link {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0;
    font-size: 1.05rem;
  }

  .navbar-nav .nav-item:last-child .nav-link {
    border-bottom: none;
  }

  /* Dropdown Toggles */
  .dropdown-toggle::after {
    display: none;
    /* Hide default caret */
  }

  /* Mobile Icons (+/-) */
  .dropdown-toggle {
    /* Flex is set in nav-link above */
  }

  .dropdown-toggle::after {
    display: block;
    content: "\F4FE";
    /* plus-lg */
    font-family: 'bootstrap-icons';
    font-style: normal;
    font-weight: bold;
    font-size: 1rem;
    color: var(--accent);
    border: none;
    margin-left: auto;
    transition: transform 0.3s ease;
  }

  .dropdown-toggle.show::after {
    content: "\F2E4";
    /* dash-lg */
    transform: rotate(180deg);
  }

  /* Dropdown Menus */
  .dropdown-menu {
    border: none;
    background: #F8FAFC;
    margin: 0;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .dropdown-menu .dropdown-menu {
    display: block;
    /* Always show 3rd level if parent open */
    margin-left: 0;
    padding-left: 1rem;
    background: transparent;
    border-left: 2px solid var(--border);
  }

  .dropdown-item {
    padding: 0.75rem 1.5rem;
    white-space: normal;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  /* WhatsApp Button in Menu */
  .navbar-nav .btn-primary {
    margin-top: 1.5rem;
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 1rem;
  }
}

/* =====================================================
   LIST VIEW OVERRIDES
===================================================== */
.view-list .col-md-6,
.view-list .col-lg-4 {
  width: 100%;
  flex: 0 0 100%;
  max-width: 100%;
}

.view-list .trip-card {
  flex-direction: row;
  height: auto;
  min-height: 250px;
}

.view-list .trip-img {
  width: 35%;
  height: auto;
  min-height: 100%;
}

.view-list .trip-img img {
  height: 100%;
}

.view-list .price-badge {
  left: 1rem;
  right: auto;
}

.view-list .trip-body {
  width: 65%;
  padding: 2rem;
  justify-content: center;
}

/* Mobile fallback for list view */
@media (max-width: 768px) {
  .view-list .trip-card {
    flex-direction: column;
  }

  .view-list .trip-img {
    width: 100%;
    height: 200px;
  }

  .view-list .trip-body {
    width: 100%;
  }
}

/* =====================================================
   SEARCH UI
===================================================== */
.search-trigger-btn {
  color: var(--primary);
  font-size: 1.25rem;
  background: none;
  border: none;
  transition: color 0.3s;
  padding: 0.5rem;
}

.search-trigger-btn:hover {
  color: var(--accent);
}

/* Fullscreen Search Modal */
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 17, 32, 0.95);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.search-modal.active {
  opacity: 1;
  visibility: visible;
}

.search-modal-content {
  width: 100%;
  max-width: 720px;
  padding: 2rem;
  position: relative;
}

.search-modal-close {
  position: absolute;
  top: -60px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  transition: transform 0.3s;
}

.search-modal-close:hover {
  transform: rotate(90deg);
  color: var(--accent);
}

.search-input-wrap {
  position: relative;
}

.search-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 2rem;
  font-weight: 700;
  padding: 1rem 0;
  outline: none;
  font-family: 'Outfit', sans-serif;
}

.search-input:focus {
  border-color: var(--accent);
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

/* Live Suggestions */
.search-suggestions {
  margin-top: 1.5rem;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  display: none;
  /* hidden by default */
}

.suggestion-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
  text-decoration: none;
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover {
  background: #F1F5F9;
}

.suggestion-img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  margin-right: 1rem;
}

.suggestion-info h6 {
  margin: 0;
  color: var(--primary);
  font-size: 1rem;
}

.suggestion-info span {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}