/* Urban / Rock Dark styling for Milano Vennetur */

:root {
  --app-height: 100dvh;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  height: 100dvh;
  overflow: hidden;
}

.font-display {
  font-family: 'Space Grotesk', system-ui, sans-serif;
}

/* Custom scrollbars */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Leaflet Map overrides for Dark Mode */
.leaflet-container {
  background: #0c0d10 !important;
  font-family: inherit;
}

/* Custom Marker Pin styling */
.custom-pin {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.custom-pin:hover,
.custom-pin.active-pin {
  transform: scale(1.25) translateY(-4px);
  z-index: 1000 !important;
}

.pin-bubble {
  width: 36px;
  height: 36px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6), 0 0 12px var(--pin-glow);
  border: 2px solid #ffffff;
}

.pin-emoji {
  transform: rotate(45deg);
  font-size: 16px;
  line-height: 1;
}

.pin-pulse {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 5px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  filter: blur(1px);
}

/* Animations */
@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.92);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.animate-slide-up {
  animation: slideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@media (min-width: 640px) {
  .animate-scale-in {
    animation: scaleIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
}
