﻿/* Ana Bölüm */
.ay-bayi-section {
    width: 100%;
    padding: 60px 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-sizing: border-box;
}

.ay-bayi-baslik-img {
    width: clamp(80px, 20vw, 180px);
    height: auto;
}

.ay-bayi-container {
    width: 80%;
    max-width: 1300px;
    margin: 0 auto;
}

/* Başlık Alanı */
.ay-bayi-header {
    text-align: center;
    margin-bottom: 50px;
}

.ay-bayi-main-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

/* 3 Sütunlu Grid Yapısı */
.ay-bayi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 300px));
    gap: 40px;
    justify-content: center;
    align-items: start;
}

/* Tekil Bayi Kartı (Resimsiz, esnek ve düzgün hizalanmış) */
.ay-bayi-card {
    background-color: transparent;
    padding: 10px 0;
}

/* Bayi Başlığı */
.ay-bayi-title {
    font-family: 'Gotham-Black',sans-serif;
    font-size: clamp(15px, 1.4vw, 17px);
    font-weight: 700;
    text-align: center;
    color: rgb(200, 0, 0);
    margin-bottom: 5px;
    text-transform: uppercase;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.ay-bayi-title-h1 {
    font-family: 'Gotham-Black',sans-serif;
    font-size: clamp(15px, 1.4vw, 18px);
    /*font-size: 20px;*/
    font-weight: 700;
    text-align: center;
    color: rgb(0, 0, 0);
    margin-bottom: 10px;
    text-transform: uppercase;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

/* Adres ve İl Bilgileri */
.ay-bayi-info {
    margin-bottom: 15px;
}

.ay-bayi-text {
    font-family: 'Gotham-Light',sans-serif;
    font-size: clamp(13px, 1.4vw, 15px);
    text-align: center;
    line-height: 1.5;
    color: #4a4a4a;
    margin-bottom: 0px;
}

/* Alt Kısım (Telefon Bağlantısı) */
.ay-bayi-footer {
    font-size: clamp(10px, 1.4vw, 20px);
    display: block;
    text-align: center;
}

/* Telefon Linki */
.ay-bayi-phone {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}

    .ay-bayi-phone:hover {
        color: #ef4444;
    }

/* ==========================================
       Responsive (Ekran Küçüldükçe Sütun Ayarı)
================================---------- */

/* Tablet (992px altı): Her satırda 2 sütun */
@media (max-width: 992px) {
    .ay-bayi-container {
        width: 90%;
    }
}

/* Mobil (576px altı): Her satırda 1 sütun (Alt alta) */
@media (max-width: 576px) {
    .ay-bayi-container {
        width: 95%;
    }
}

/* MOBİLDE MOUSE YANINDA İL ADINI GÖSTERME */

@media (hover: none) and (pointer: coarse) {

    #ay-il-adi {
        display: none !important;
    }
}

/*---- section harita ----*/

#ay-turkiye-haritasi {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: auto;
}

    #ay-turkiye-haritasi svg {
        width: 100%;
        height: auto;
    }

    #ay-turkiye-haritasi path {
        fill: #ffbcbc;
        stroke: #999999;
        stroke-width: 1;
        cursor: pointer;
        transition: fill 0.2s ease;
    }

        #ay-turkiye-haritasi path:hover {
            fill: #ff4f4f;
        }

        #ay-turkiye-haritasi path.ay-map-pasif,
        #ay-turkiye-haritasi path.ay-map-pasif:hover {
            fill: #fff5f5;
            cursor: not-allowed;
            pointer-events: none;
        }

.ay-map-aktif {
    cursor: pointer;
    fill: #b22c37;
}

.ay-map-pasif {
    cursor: not-allowed;
    fill: #ddd;
    pointer-events: none;
}

#ay-harita-container {
    position: relative;
    margin-bottom: 40px;
}

#ay-il-adi {
    position: absolute;
    display: none;
    background-color: white;
    color: black;
    border: 1px solid black;
    border-radius: 4px;
    padding: 8px 15px;
    font-size: 16px;
    font-weight: bold;
    pointer-events: none;
    z-index: 1000;
}

#ay-secili-il {
    text-align: center;
    margin-bottom: 20px;
    color: #ff4f4f;
    min-height: 35px;
}

#ay-turkiye-haritasi path.ay-map-secili {
    fill: #b22c37;
}

.ay-map-bayi-container {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.ay-map-bayi-card {
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
}


/*---- /section harita ----*/
