/* ============================================================
   HİZMET BÖLGESİ — Harita + Liste (yeni tema)
   ============================================================ */

/* ---------- Liste + Harita konteyneri ---------- */
.map-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: stretch;
    margin-top: 50px;
    background: white;
    padding: 28px;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .04);
}

/* ---------- Sol liste ---------- */
.map-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.map-list-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 14px 16px;
    cursor: pointer;
    transition: background .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
    user-select: none;
}

.map-list-item:hover {
    background: white;
    border-color: rgba(227, 30, 36, .35);
    transform: translateX(3px);
}

.map-list-item.active {
    background: linear-gradient(90deg, rgba(227, 30, 36, .1) 0%, rgba(227, 30, 36, .03) 100%);
    border-color: var(--color-primary);
    box-shadow: 0 4px 14px rgba(227, 30, 36, .18);
}

.map-list-marker {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #c4c4c4;
    box-shadow: 0 0 0 3px rgba(196, 196, 196, .18);
    transition: background .25s ease, box-shadow .25s ease;
}

.map-list-marker.dot {
    background: var(--color-dark-alt);
}

.map-list-item.active .map-list-marker {
    background: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(227, 30, 36, .22);
}

.map-list-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.map-list-text strong {
    color: var(--color-text);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.map-list-text small {
    color: var(--color-text-muted);
    font-size: 11.5px;
    line-height: 1.2;
}

.map-list-item.active .map-list-text strong {
    color: var(--color-primary);
}

/* ---------- Sağ harita ---------- */
.map-svg-holder {
    background: linear-gradient(135deg, var(--color-bg-alt) 0%, white 100%);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--color-border);
}

.map-svg-holder svg {
    width: 100%;
    max-width: 680px;
    height: auto;
    display: block;
    background: #fafafa;
    border-radius: 8px;
}

/* Tüm ilçeler — taban görünüm */
.map-svg-holder svg g#features path {
    fill: #d8d8d8;
    stroke: white;
    stroke-width: 1px;
    vector-effect: non-scaling-stroke;
    transition: fill .25s ease;
}

/* Hizmet verilen bölgeler — pasif */
.map-svg-holder svg g#features g.serviceable path {
    fill: #a8a8a8;
}

.map-svg-holder svg g#features g.serviceable {
    cursor: pointer;
}

.map-svg-holder svg g#features g.serviceable:hover path {
    fill: var(--color-primary);
}

.map-svg-holder svg g#features g.serviceable.active path {
    fill: var(--color-primary);
    filter: drop-shadow(0 4px 10px rgba(227, 30, 36, .55));
}

/* Pin (mahalleler) */
.map-svg-holder svg g#submarkers .pin {
    fill: var(--color-primary);
    stroke: white;
    stroke-width: 1px;
    cursor: pointer;
    transform-box: fill-box;
    transform-origin: center;
    transition: transform .25s ease, filter .25s ease;
}

.map-svg-holder svg g#submarkers .pin:hover {
    transform: scale(1.4);
}

.map-svg-holder svg g#submarkers .pin.active {
    transform: scale(1.6);
    filter: drop-shadow(0 3px 8px rgba(227, 30, 36, .65));
}

/* İlçe etiketleri */
.district-label {
    font-family: "Inter", sans-serif;
    font-size: 3.6px;
    font-weight: 700;
    fill: white;
    text-anchor: middle;
    pointer-events: none;
    paint-order: stroke;
    stroke: var(--color-dark);
    stroke-width: 0.7px;
    stroke-opacity: .85;
}

/* Pin etiketleri (Kurtköy / Kaynarca) */
.pin-label {
    font-family: "Inter", sans-serif;
    font-size: 3px;
    font-weight: 700;
    fill: var(--color-primary);
    text-anchor: middle;
    pointer-events: none;
    paint-order: stroke;
    stroke: var(--color-dark);
    stroke-width: 0.5px;
    stroke-opacity: .8;
}

/* ---------- Bilgi metni ---------- */
.map-info {
    text-align: center;
    margin-top: 28px;
    color: var(--color-text-muted);
    font-size: 14.5px;
    line-height: 1.7;
}

.map-info strong {
    color: var(--color-primary);
    font-weight: 700;
}

/* ============================================================
   ESKİ HARİTA STİLLERİ — geriye dönük uyumluluk
   (Eski sayfa yapısı hâlâ kullanılıyor olabilir)
   ============================================================ */

.map-wrapper {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: 18px;
}

.map-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 28px;
    color: white;
}

.map-header .map-title {
    margin-bottom: 4px;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -.3px;
}

.map-header .map-subtitle {
    color: #b0b0b0;
    font-size: 15px;
}