/* ==========================================================================
   MAGIC BALI TRIP - CUSTOM STYLESHEET
   ========================================================================== */

/* 1. Custom Variables & Color Palettes */
:root {
  --gold-primary: #d4af37;
  --gold-light: #f3e5ab;
  --gold-dark: #aa7c11;
  --gold-gradient: linear-gradient(135deg, #f3e5ab 0%, #d4af37 50%, #aa7c11 100%);
  --gold-glow: rgba(212, 175, 55, 0.35);
  --emerald-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --slate-dark: #090d16;
  --slate-card: #0f172a;
}

/* 2. Global Smooth Scroll & Body Setup */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  background-color: #f8fafc;
  color: #0f172a;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
}

::selection {
  background: #d4af37;
  color: #0f172a;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #0f172a;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #d4af37, #aa7c11);
  border-radius: 5px;
}

/* 3. Header Glassmorphism */
#main-header {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0));
}

#main-header.scrolled {
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

/* 4. Filter Buttons Active State */
.filter-btn {
  transition: all 0.3s ease;
}

.filter-btn.active {
  background: var(--gold-gradient) !important;
  color: #090d16 !important;
  border-color: transparent !important;
  font-weight: 700;
  box-shadow: 0 6px 20px -4px var(--gold-glow);
  transform: translateY(-2px);
}

/* 5. Cards & Modal */
#tours-grid > div {
  transition: all 0.35s ease;
}

#tours-grid > div:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.15);
}

.tour-modal-option {
  transition: all 0.25s ease-in-out;
}

.tour-modal-option:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -6px rgba(212, 175, 55, 0.2);
}

/* 6. Floating Trusted Driver Badge & WA Widget */
#trusted-badge-container {
  box-shadow: 0 10px 25px -5px rgba(212, 175, 55, 0.25);
  animation: floatSoft 4s ease-in-out infinite;
}

#trusted-badge-container:hover {
  box-shadow: 0 15px 30px -3px rgba(212, 175, 55, 0.4);
}

@keyframes floatSoft {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

#wa-chat-window.show {
  opacity: 1 !important;
  transform: scale(1) translateY(0) !important;
}

@keyframes pulseSlow {
  0%, 100% {
    transform: scale(1.05);
  }
  50% {
    transform: scale(1.1);
  }
}

.animate-pulse-slow {
  animation: pulseSlow 20s infinite ease-in-out;
}