/* ==========================================================================
   Banyak Pulau — Jasa Trip Wisata & Island Hopping Indonesia
   Fresh, Friendly, Aesthetic Tropical Island Travel Stylesheet
   ========================================================================== */

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom Friendly Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Base Transitions */

/* Card Hover Effects */
.trip-card {
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.trip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px -10px rgba(14, 165, 233, 0.18), 0 6px 12px -4px rgba(15, 23, 42, 0.06);
}

/* Filter Tab Buttons */
.filter-tab-btn {
  background-color: #ffffff;
  color: #475569;
  border: 1.5px solid #e2e8f0;
  transition: all 0.2s ease;
  cursor: pointer;
}

.filter-tab-btn:hover {
  background-color: #f0fdf4;
  border-color: #0284c7;
  color: #0284c7;
}

.filter-tab-btn.active {
  background-color: #0284c7 !important;
  color: #ffffff !important;
  border-color: #0284c7 !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.28) !important;
  font-weight: 700 !important;
}

/* ==========================================================================
   CALCULATOR BUTTONS: FRIENDLY, VIBRANT & CLEAR SELECTION
   ========================================================================== */
.calc-type-btn,
.calc-duration-btn,
.calc-pkg-btn {
  background-color: #ffffff !important;
  border: 2px solid #e2e8f0 !important;
  color: #334155 !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
  overflow: hidden !important;
}

.calc-type-btn:hover,
.calc-duration-btn:hover,
.calc-pkg-btn:hover {
  border-color: #38bdf8 !important;
  background-color: #f0f9ff !important;
  color: #0284c7 !important;
  transform: translateY(-1px);
}

/* Selected Active State: Cheerful Ocean Cyan with White Text */
.calc-type-btn.active,
.calc-duration-btn.active,
.calc-pkg-btn.active {
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%) !important;
  border-color: #0284c7 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35) !important;
  transform: translateY(-1px);
}

.calc-pkg-btn.active p,
.calc-pkg-btn.active span:not([class*="bg-"]) {
  color: #ffffff !important;
}

.calc-type-btn.active i,
.calc-type-btn.active span,
.calc-duration-btn.active i,
.calc-duration-btn.active span {
  color: #ffffff !important;
}

/* Ensure subtext on active duration button is crisp white & clearly readable */
.calc-duration-btn.active span:first-child {
  color: #ffffff !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em;
}

.calc-duration-btn.active span:last-child,
.calc-duration-btn.active .calc-duration-subtext {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.22) !important;
  padding: 1.5px 8px !important;
  border-radius: 9999px !important;
  font-weight: 700 !important;
  display: inline-block !important;
  margin-top: 2px !important;
  text-shadow: 0 1px 2px rgba(2, 44, 75, 0.35) !important;
}

/* Checkmark indicator */
.calc-duration-btn.active::after,
.calc-type-btn.active::after {
  content: '✓';
  position: absolute;
  top: 3px;
  right: 7px;
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
}

/* Input Focus Ring */
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.18) !important;
}

/* Language Toggle Button */
.lang-btn.active {
  background-color: #0284c7;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
  font-weight: 700;
}

/* WhatsApp Floating Button */
.whatsapp-float-btn {
  box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.4), 0 8px 10px -6px rgba(16, 185, 129, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -4px rgba(16, 185, 129, 0.5), 0 10px 10px -5px rgba(16, 185, 129, 0.25);
}

/* ==========================================================================
   INFINITE PAYMENT LOGOS MARQUEE (SMOOTH HORIZONTAL SLIDER)
   ========================================================================== */
@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.payment-marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 40s linear infinite;
  will-change: transform;
}

.payment-marquee-track:hover {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .payment-marquee-track {
    animation: none;
    overflow-x: auto;
  }
}

