/* ====== Wisata Barlingmascakeb — Custom Style ====== */

:root {
  --emerald-deep: #0e3d34;
  --emerald: #0f766e;
  --emerald-soft: #5eead4;
  --sand: #faf6ee;
  --sunset: #f59e0b;
  --sunset-deep: #c2410c;
  --ocean: #0c4a6e;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: var(--sand);
}

.font-display {
  font-family: 'Playfair Display', serif;
  letter-spacing: -0.01em;
}

/* ===== Hero Section ===== */
.hero-bg {
  background:
    linear-gradient(rgba(14, 61, 52, 0.55), rgba(12, 74, 110, 0.7)),
    url('https://images.unsplash.com/photo-1604608672516-f1b9b1d6fa3a?w=2000&q=80') center/cover no-repeat;
}

.hero-grain::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

/* ===== Card Hover ===== */
.dest-card {
  transition: transform .35s ease, box-shadow .35s ease;
}
.dest-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -15px rgba(15, 118, 110, 0.25);
}

.dest-card .image-wrap img {
  transition: transform .8s ease;
}
.dest-card:hover .image-wrap img {
  transform: scale(1.08);
}

/* ===== Filter pills ===== */
.filter-pill {
  transition: all .25s ease;
}
.filter-pill.active {
  background: linear-gradient(135deg, var(--emerald-deep), var(--emerald));
  color: white;
  box-shadow: 0 8px 20px -6px rgba(14, 61, 52, .55);
}

/* ===== Region badges ===== */
.region-banyumas { background: #fef3c7; color: #92400e; }
.region-cilacap { background: #cffafe; color: #155e75; }
.region-purbalingga { background: #ede9fe; color: #5b21b6; }
.region-banjarnegara { background: #dcfce7; color: #166534; }
.region-kebumen { background: #fce7f3; color: #9d174d; }

/* ===== Trending / Hidden gem ribbons ===== */
.ribbon {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 6px 10px; border-radius: 999px;
  backdrop-filter: blur(10px);
}
.ribbon-trending { background: rgba(245, 158, 11, .92); color: white; }
.ribbon-gem { background: rgba(139, 92, 246, .92); color: white; }

/* ===== Itinerary cards ===== */
.itin-card {
  background: linear-gradient(135deg, #ffffff, #fef9f0);
  border: 1px solid #fde68a40;
}

.timeline-line {
  position: absolute;
  left: 22px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--emerald), transparent);
}

/* ===== Modal ===== */
.modal-backdrop {
  background: rgba(14, 61, 52, .65);
  backdrop-filter: blur(8px);
}

/* ===== Smooth fade-in ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up {
  animation: fadeUp .6s ease both;
}

/* ===== Scroll bar ===== */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #5eead4; border-radius: 999px; }
::-webkit-scrollbar-track { background: #f8fafc; }

/* ===== Marquee strip ===== */
.marquee {
  display: flex; overflow: hidden; gap: 3rem;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
  display: flex; gap: 3rem;
  animation: scroll 35s linear infinite;
  flex-shrink: 0;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== Glass nav ===== */
.glass-nav {
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 118, 110, .1);
}

/* ===== Image fallback ===== */
img.dest-img {
  background: linear-gradient(135deg, #cbd5e1, #94a3b8);
}
