/* Marker Cluster Özelleştirmeleri */
.marker-cluster-small {
  background-color: rgba(56, 161, 105, 0.8);
}

.marker-cluster-small div {
  background-color: rgba(56, 161, 105, 0.9);
}

.marker-cluster-medium {
  background-color: rgba(255, 136, 0, 0.8);
}

.marker-cluster-medium div {
  background-color: rgba(255, 136, 0, 0.9);
}

.marker-cluster-large {
  background-color: rgba(220, 53, 69, 0.8);
}

.marker-cluster-large div {
  background-color: rgba(220, 53, 69, 0.9);
}

.marker-cluster {
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  text-align: center;
  font-family: "Arial", sans-serif;
  transition: all 0.2s ease;
}

.marker-cluster:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.marker-cluster div {
  width: 36px;
  height: 36px;
  margin: 2px;
  border-radius: 50%;
  color: white;
  font-weight: bold;
  font-size: 12px;
  line-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.marker-cluster span {
  line-height: 36px;
  font-size: 12px;
  font-weight: bold;
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Cluster animasyonları */
.marker-cluster-anim .leaflet-marker-icon {
  transition: all 0.3s ease;
}

/* Responsive cluster boyutları */
@media (max-width: 768px) {
  .marker-cluster {
    width: 32px !important;
    height: 32px !important;
  }
  
  .marker-cluster div {
    width: 28px;
    height: 28px;
    line-height: 28px;
    font-size: 11px;
  }
  
  .marker-cluster span {
    line-height: 28px;
    font-size: 11px;
  }
}

/* Zoom level'a göre cluster görünümü */
.leaflet-zoom-anim .marker-cluster {
  opacity: 0.8;
}

/* Spiderfy (marker açılımı) stilleri */
.marker-cluster-spiderfy .leaflet-marker-icon {
  z-index: 1000;
}

/* Custom cluster colors for different densities */
.marker-cluster-small {
  background: linear-gradient(135deg, #38a169 0%, #48bb78 100%);
}

.marker-cluster-medium {
  background: linear-gradient(135deg, #ff8800 0%, #ffaa33 100%);
}

.marker-cluster-large {
  background: linear-gradient(135deg, #dc3545 0%, #ff4757 100%);
}
