/* BabaAli.id Custom Styles */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;600;700;800&display=swap');

:root {
  --primary-navy: #0f1f38;
  --secondary-navy: #19335a;
  --accent-gold: #f59e0b;
  --tech-cyan: #0284c7;
  --store-emerald: #059669;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #1f2937;
  background-color: #f8fafc;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

/* Glassmorphism */
.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-dark {
  background: rgba(15, 31, 56, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gradient borders & glows */
.glow-card-tech:hover {
  box-shadow: 0 20px 35px -10px rgba(2, 132, 199, 0.25);
  border-color: #38bdf8;
  transform: translateY(-4px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glow-card-store:hover {
  box-shadow: 0 20px 35px -10px rgba(5, 150, 105, 0.25);
  border-color: #34d399;
  transform: translateY(-4px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Marquee / Auto-Scrolling Row from Left to Right */
.marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.marquee-content-ltr {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: scroll-ltr 32s linear infinite;
}

.marquee-wrapper:hover .marquee-content-ltr {
  animation-play-state: paused;
}

@keyframes scroll-ltr {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0%);
  }
}

/* Alternate reverse scroll if desired */
.marquee-content-rtl {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: scroll-rtl 32s linear infinite;
}

.marquee-wrapper:hover .marquee-content-rtl {
  animation-play-state: paused;
}

@keyframes scroll-rtl {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Product Card in Carousel */
.product-card-scroll {
  width: 250px;
  min-width: 250px;
  transition: all 0.25s ease;
  cursor: pointer;
}

.product-card-scroll:hover {
  transform: scale(1.04);
}

/* Leaflet Map Height */
.map-container {
  height: 280px;
  width: 100%;
  border-radius: 0.75rem;
  z-index: 10;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Pulse animation for Live Counter */
@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}
.pulse-badge {
  animation: pulse-ring 2.5s infinite ease-in-out;
}
