﻿/* Ana Bölüm */
.ay-blg-section {
    width: 100%;
    padding: 60px 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-sizing: border-box;
}

.ay-blg-baslik-img {
    height: 100px;
}

.ay-blg-container {
    width: 80%;
    max-width: 1300px;
    margin: 0 auto;
}

/* Başlık Alanı */
.ay-blg-header {
    text-align: center;
    margin-bottom: 50px;
}

.ay-blg-main-title {
    font-family: 'Authenia', sans-serif;
    font-size: 52px;
    font-weight: 500;
    color: #8e0000;
    letter-spacing: 0.5px;
}

/* 3 Sütunlu Grid Yapısı */
.ay-blg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 100px;
    align-items: stretch; /* Kartların satır boyunca eşit boyda olmasını sağlar */
}

/* Tekil Bölge Kartı (Esnek ve düzgün hizalanmış) */
.ay-blg-card {
    background-color: transparent;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* İçeriği yukarıda toplar */
    padding: 10px 0;
    height: 100%;
    box-sizing: border-box;
}

/* Bölge Başlığı */
.ay-blg-title {
    font-family: 'Gotham-Black',sans-serif;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    color: #000000;
    margin-bottom: 15px;
    text-transform: uppercase;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

/* Adres ve İl Bilgileri */
.ay-blg-info {
    margin-bottom: 15px;
}

.ay-blg-text {
    font-family: 'Gotham-Light',sans-serif;
    font-size: 15px;
    text-align: center;
    line-height: 1.5;
    color: #4a4a4a;
    margin-bottom: 5px;
}

/* Alt Kısım (Telefon Bağlantısı - Her zaman en alta sabitlenir) */
.ay-blg-footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
    margin-top: 15px; /* Adres ile telefon arasına sabit ve şık bir boşluk bırakır */
}

/* Telefon Linki */
.ay-blg-phone {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}

    .ay-blg-phone:hover {
        color: #ef4444;
    }

/* Konum Linki */
.ay-blg-map {
    font-size: 14px;
    color: #ef4444;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: opacity 0.2s ease;
}

    .ay-blg-map:hover {
        opacity: 0.85;
        text-decoration: underline;
    }

/* ==========================================
        Responsive (Ekran Küçüldükçe Sütun Ayarı)
        ================================---------- */

/* Tablet (992px altı): Her satırda 2 sütun */
@media (max-width: 992px) {
    .ay-blg-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .ay-blg-container {
        width: 90%;
    }
}

/* Mobil (576px altı): Her satırda 1 sütun (Alt alta) */
@media (max-width: 576px) {
    .ay-blg-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 25px;
    }

    .ay-blg-container {
        width: 95%;
    }
}
