/* ==========================================================================
   Valencia Mandiri Wisata - Custom Stylesheet
   Modern, Elegant, Mobile-First & High-Converting Tour & Travel Website
   ========================================================================== */

:root {
  --color-primary: #0f2942;
  --color-primary-light: #1e3a5f;
  --color-accent: #0d9488;
  --color-accent-hover: #0f766e;
  --color-gold: #f59e0b;
  --color-gold-dark: #d97706;
  --color-surface: #f8fafc;
  --color-text: #0f172a;
  --color-muted: #475569;
  --shadow-soft: 0 10px 30px -5px rgba(15, 41, 66, 0.08);
  --shadow-hover: 0 20px 40px -10px rgba(15, 41, 66, 0.16);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--color-text);
  background-color: #ffffff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.font-serif-display {
  font-family: 'Playfair Display', Georgia, serif;
}

/* Navbar Transition & Glassmorphism */
.navbar-scrolled {
  background-color: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px -4px rgba(15, 41, 66, 0.09);
}

.nav-link {
  position: relative;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-gold));
  border-radius: 999px;
  transition: width 0.28s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Hero Background & Overlay */
.hero-bg {
  background-image:
    linear-gradient(115deg, rgba(8, 24, 43, 0.88) 0%, rgba(15, 41, 66, 0.74) 52%, rgba(13, 148, 136, 0.45) 100%),
    url('https://images.unsplash.com/photo-1518548419970-58e3b4079ab2?auto=format&fit=crop&w=1920&q=85');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
}

/* Card & Image Aspect Ratios */
.package-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.package-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.package-card .card-image-wrapper {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}

.package-card .card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.package-card:hover .card-image-wrapper img {
  transform: scale(1.07);
}

/* Gallery Aspect Ratios */
.gallery-item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* Filter Pill Buttons */
.filter-btn {
  transition: all 0.25s ease;
}

.filter-btn.active {
  background: linear-gradient(135deg, #0f2942 0%, #0d9488 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 20px -4px rgba(13, 148, 136, 0.38);
}

/* Floating WhatsApp Pulse */
@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 14px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.wa-floating-pulse {
  animation: pulse-ring 2.2s infinite;
}

/* Reveal Animations */
.reveal-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

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

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

/* Modal Backdrop Lock */
body.modal-open {
  overflow: hidden;
}
