/* === Tarihçemiz Bölümü (resim solda, yazı sağda) === */
.tarihce-row {
    align-items: center; /* Dikey hizalama */
    column-gap: 60px; /* Aradaki boşluk */
}

/* Görsel boyutu ve hizalaması */
.img-tarihce {
    max-width: 420px; /* Ortalama boyut */
    width: 75%;
    height: auto;
    object-fit: cover;
    display: block;
    margin: 0 auto; /* Küçük ekranlarda ortalar */
    border-radius: 12px;
}
.btn-custom {
    color: #000 !important; /* Yazı rengini siyah yapar */
    border-width: 1.5px !important; /* Border kalınlığını artırır */
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 8px 20px;
}
.btn-custom:hover {
    color: #000 !important;
    border-width: 1.5px;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}
        
/* Küçük ekran düzeni */
@media (max-width: 992px) {
    .tarihce-row {
        flex-direction: column;
        text-align: center;
        column-gap: 0;
    }

    .img-tarihce {
        max-width: 320px;
        margin-bottom: 1.5rem;
    }
}
.card {
    border-radius: 0.75rem;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.card:hover {
    transform: scale(1.03);
}

.card-img-top {
    width: 100%;
    aspect-ratio: 1 / 1; /* Kare oranı */
    object-fit: contain; /* Görseli orantılı şekilde kırpar */
    border-bottom: 1px solid #eee;
}

.card-body {
    padding: 0.75rem 1rem;
}

.card h5 {
    font-size: 1rem;
}

.card p {
    font-size: 0.875rem;
}
.accordion-item {
    margin-bottom: 20px; /* istediğin boşluğu buradan ayarlayabilirsin */
    border-radius: 8px; /* köşeleri biraz yumuşatır (isteğe bağlı) */
    overflow: hidden; /* radius taşmalarını engeller */

}
#home-announcements .announcement-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 15px 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

    #home-announcements .announcement-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 22px rgba(0, 110, 255, 0.2);
        background: linear-gradient(135deg, #f8f9ff, #ffffff);
    }

#home-announcements .announcement-img {
    width: 120px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

#home-announcements .announcement-content {
    flex-grow: 1;
}

#home-announcements .announcement-content h5 {
    font-weight: 700;
    color: #0d6efd;
    margin-bottom: 6px;
}

#home-announcements .announcement-content p {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

#home-announcements .announcement-content small {
    color: #adb5bd;
}

/* Responsive düzen */
@media (max-width: 768px) {
    #home-announcements .announcement-card {
        flex-direction: column;
        align-items: flex-start;
    }

    #home-announcements .announcement-img {
        width: 100%;
        height: 150px;
    }
}
/* ==========================
    HABERLER & DUYURULAR — BAŞLIK ALTINDA AÇIKLAMA
   ========================== */
#newsList {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

#newsList .news-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    width: 90%;
    max-width: 900px;
    padding: 25px 35px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* üst hizalı */
    gap: 20px;
}

#newsList .news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 110, 255, 0.25);
    background: linear-gradient(135deg, #f8faff, #ffffff);
}
#newsList .news-card div {
    flex: 1;
    display: flex;
    flex-direction: column;
}
#newsList .news-card h5 {
    font-weight: 700;
    color: #0d6efd;
    margin-bottom: 8px; /* başlık ile açıklama arası */
    font-size: 1.1rem;
}
#newsList .news-card p {
    color: #6c757d;
    font-size: 0.95rem;
    margin: 0;
}
#newsList .news-card small {
    color: #adb5bd;
    white-space: nowrap;
    align-self: flex-start;
    font-size: 0.9rem;
    margin-top: 4px;
}
/* Hover efekti */
#newsList .news-card:hover h5 {
    color: #084298;
}
/* Responsive düzen */
@media (max-width: 768px) {
    #newsList .news-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

        #newsList .news-card small {
            margin-top: 10px;
        }
}
/* YENİ HERO BÖLÜMÜ STİLİ */
.hero-banner {
    /* Arka plan resmini ayarla */
    background-image: url('../img/banner_hero_restore.png');
    /* Resmin bölümü kaplamasını sağla */
    background-size: cover;
    /* Resmin yatayda ortalanmasını sağla (sol tarafı gösterecek) */
    background-position: left center;
    /* En az 450px yükseklik ver */
    min-height: 450px;
    /* İçerik (yazılar) için padding */
    padding: 5rem 0;
    /* Yazıların okunabilmesi için bir renk overlay'i (isteğe bağlı) */
    /* position: relative; */
}

    /* İsteğe bağlı overlay (Resim çok açıksa) */
    /* .hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2); 
    z-index: 1;
} */

    /* İçeriğin z-index'ini ayarla (overlay varsa) */
.hero-banner .container {
    position: relative;
    z-index: 2;
}

/* Metin rengini beyaz yap (koyu arka planda daha iyi okunur) */
.hero-text-content h1,
.hero-text-content p {
    color: #ffffff;
    /* Metne gölge ekleyerek okunabilirliği artır */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Başlığı ana renkle değiştir (isteğe bağlı) */
.hero-text-content h1 {
    color: var(--bs-primary); /* veya #ffffff kalsın */
    /* Koyu mavi arka planda primary rengi görünmeyebilir, beyaz daha iyi olabilir */
    color: #ffffff;
}
.empty-message {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    text-align: center;
}