:root {
  --brand-purple: #2b1b70;
  --brand-purple-dark: #1e1250;
  --brand-gold: #ffb703;
  --brand-gold-hover: #e0a100;
  --brand-light: #f8fafc;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-lg:
    0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family:
    "Segoe UI",
    system-ui,
    -apple-system,
    sans-serif;
  background-color: var(--brand-light);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* Normal Scrolling Top Bar & Navigation (No sticky/fixed positioning) */
.top-bar {
  background-color: var(--brand-purple-dark);
  color: #d1d5db;
  font-size: 0.8rem;
}

.top-bar a {
  color: #d1d5db;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.top-bar a:hover {
  color: var(--brand-gold);
}

.bg-purple {
  background-color: var(--brand-purple) !important;
}

/* Responsive Brand Logo Badge */
.brand-logo-badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 6px 12px;
  transition: var(--transition);
  max-width: 100%;
}

.brand-title {
  font-size: 1.15rem;
}

.brand-subtitle {
  font-size: 0.55rem;
  letter-spacing: 0.5px;
}

.nav-link {
  font-weight: 500;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-gold) !important;
}

/* Hero Carousel Responsive Layout */
.hero-carousel .carousel-item {
  height: auto;
  min-height: 520px;
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 4rem 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(43, 27, 112, 0.7) 0%,
    rgba(15, 23, 42, 0.88) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Trust Badges Banner */
.trust-banner {
  margin-top: -30px;
  position: relative;
  z-index: 10;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.trust-badge-item {
  border-right: 1px solid #e2e8f0;
}

.trust-badge-item:last-child {
  border-right: none;
}

/* Trip Cards Styling */
.trip-card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  background: #ffffff;
}

.trip-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.trip-card .card-img-top {
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.trip-card:hover .card-img-top {
  transform: scale(1.05);
}

.badge-upcoming {
  background-color: var(--brand-purple);
}

.badge-completed {
  background-color: #10b981;
}

/* Swiper Controls */
.swiper-button-next,
.swiper-button-prev {
  color: var(--brand-gold);
}

.swiper-pagination-bullet-active {
  background: var(--brand-gold);
}

/* Buttons */
.btn-brand-gold {
  background-color: var(--brand-gold);
  color: var(--brand-purple-dark);
  font-weight: 600;
  border: none;
  transition: var(--transition);
}

.btn-brand-gold:hover {
  background-color: var(--brand-gold-hover);
  color: #000;
}

.btn-brand-purple {
  background-color: var(--brand-purple);
  color: #ffffff;
  font-weight: 600;
  border: none;
  transition: var(--transition);
}

.btn-brand-purple:hover {
  background-color: var(--brand-purple-dark);
  color: #ffffff;
}

/* Static Footer */
footer {
  background-color: var(--brand-purple-dark);
  color: #cbd5e1;
}

footer a {
  color: #cbd5e1;
  text-decoration: none;
  transition: var(--transition);
}

footer a:hover {
  color: var(--brand-gold);
}

/* Mobile & Tablet Specific Responsive Fixes */
@media (max-width: 768px) {
  .hero-carousel .carousel-item {
    padding: 3rem 1rem;
    min-height: 480px;
  }

  .hero-carousel h1 {
    font-size: 1.75rem !important;
  }

  .hero-carousel p.lead {
    font-size: 0.95rem !important;
  }

  .trust-badge-item {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1rem;
  }

  .trust-badge-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .trust-banner {
    margin-top: 1rem;
  }

  .brand-title {
    font-size: 1rem;
  }

  .brand-subtitle {
    font-size: 0.5rem;
  }
}

/* ================= Floating Action Buttons ================= */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

/* WhatsApp Floating Button */
.btn-whatsapp {
  width: 50px;
  height: 50px;
  background-color: #25d366;
  color: #ffffff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.btn-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.65);
}

/* Back to Top Floating Button */
.btn-back-to-top {
  width: 44px;
  height: 44px;
  background-color: var(--brand-purple);
  color: #ffffff;
  border: 2px solid var(--brand-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.btn-back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btn-back-to-top:hover {
  background-color: var(--brand-purple-dark);
  color: var(--brand-gold);
  transform: translateY(-4px);
}

@media (max-width: 576px) {
  .floating-actions {
    bottom: 16px;
    right: 16px;
    gap: 10px;
  }
  .btn-whatsapp {
    width: 46px;
    height: 46px;
    font-size: 24px;
  }
  .btn-back-to-top {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}
