﻿.leaflet-cluster-anim .leaflet-marker-icon, .leaflet-cluster-anim .leaflet-marker-shadow {
	-webkit-transition: -webkit-transform 0.3s ease-out, opacity 0.3s ease-in;
	-moz-transition: -moz-transform 0.3s ease-out, opacity 0.3s ease-in;
	-o-transition: -o-transform 0.3s ease-out, opacity 0.3s ease-in;
	transition: transform 0.3s ease-out, opacity 0.3s ease-in;
}

.leaflet-cluster-spider-leg {
	/* stroke-dashoffset (duration and function) should match with leaflet-marker-icon transform in order to track it exactly */
	-webkit-transition: -webkit-stroke-dashoffset 0.3s ease-out, -webkit-stroke-opacity 0.3s ease-in;
	-moz-transition: -moz-stroke-dashoffset 0.3s ease-out, -moz-stroke-opacity 0.3s ease-in;
	-o-transition: -o-stroke-dashoffset 0.3s ease-out, -o-stroke-opacity 0.3s ease-in;
	transition: stroke-dashoffset 0.3s ease-out, stroke-opacity 0.3s ease-in;
}

	/* IE 6-8 fallback colors */
.leaflet-oldie .marker-cluster-small {
	background-color: rgb(181, 226, 140);
	}
.leaflet-oldie .marker-cluster-small div {
	background-color: rgb(110, 204, 57);
	}

.leaflet-oldie .marker-cluster-medium {
	background-color: rgb(241, 211, 87);
	}
.leaflet-oldie .marker-cluster-medium div {
	background-color: rgb(240, 194, 12);
	}

.leaflet-oldie .marker-cluster-large {
	background-color: rgb(253, 156, 115);
	}
.leaflet-oldie .marker-cluster-large div {
	background-color: rgb(241, 128, 23);
}

/* Tüm cluster grupları için genel stil tanımlamaları */
.marker-cluster {
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    cursor: pointer;
}

/* Küçük cluster (ör. 10’dan az marker) - yeşil tonlarında gradient */
.marker-cluster-small {
    background: linear-gradient(135deg, #66bb6a, #43a047);
}
.marker-cluster-small div {
    font-size: 12px;
    line-height: 30px;
}

/* Orta boy cluster (ör. 10-50 marker) - mavi tonlarında gradient */
.marker-cluster-medium {
    background: linear-gradient(135deg, #42a5f5, #1e88e5);
}
.marker-cluster-medium div {
    font-size: 14px;
    line-height: 40px;
}

/* Büyük cluster (ör. 50’den fazla marker) - turuncu tonlarında gradient */
.marker-cluster-large {
    background: linear-gradient(135deg, #ff9800, #f57c00);
}
.marker-cluster-large div {
    font-size: 16px;
    line-height: 50px;
}

.marker-cluster div {
	width: 30px;
	height: 30px;
	margin-left: 3px;
	margin-top: 3px;

	text-align: center;
	border-radius: 15px;
	font: 12px "Helvetica Neue", Arial, Helvetica, sans-serif;
	}
.marker-cluster span {
	line-height: 30px;
	}