/* ======================================= */
/* TEMEL STİLLER VE AKRAN RENK TANIMLARI */
/* ======================================= */

:root {
    --accent-color: #2F4F7F; /* Yeni Ana Renk: Koyu Deniz Mavisi/Gri */
    --accent-hover-color: #4679A8; /* Yeni İkincil Renk: Orta Mavi/Gri */
    --hover-dark-color: #1a1a1a;
    --link-title-border-color: rgba(47, 79, 127, 0.3); /* Başlık alt çizgisi için hafif aksan rengi */
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa; 
}

/* Renk Yardımcıları */
.text-accent {
    color: var(--accent-color) !important;
}
.border-accent {
    border-color: var(--accent-color) !important;
}
.text-muted {
    color: #6c757d !important;
}

/* Tüm link ve ikon geçişleri */
.transition-300 {
    transition: all 0.3s ease-in-out;
}

/* ======================================= */
/* FOOTER ÖZEL STİLLERİ */
/* ======================================= */

/* Link Başlıkları İçin Tutarlı Alt Çizgi */
.link-title {
    border-bottom: 1px solid var(--link-title-border-color) !important;
}

/* Ana Başlık (Mes Tente) İçin Alt Çizgiyi Daha Belirgin Tutma */
.main-title {
    border-bottom: 2px solid var(--accent-color) !important;
}

/* Linkler ve Sosyal İkonlar için Hover Efektleri */
.footer-link:hover, .social-icon:hover {
    /* Hover rengi için yeni ikincil rengi kullanıyoruz */
    color: var(--accent-hover-color) !important; 
    opacity: 1 !important;
}

/* Sub-Footer'daki Aksan Linki Hover'ı */
.sub-footer a.footer-link:hover {
    color: var(--accent-hover-color) !important; 
    opacity: 1 !important;
}

/* Alt Footer Alanı Stil Yönetimi */
.sub-footer {
    background-color: #f4f4f4;
    padding-top: 1rem;
    padding-bottom: 0.5rem;
}

/* Mobil Cihazlar İçin Sütun Ayırıcı */
@media (max-width: 991.98px) { 
    .row.g-5 > div:not(:last-child) {
        border-bottom: 1px solid #e9ecef; 
        padding-bottom: 3rem !important;
    }
}


/* =================================== */
/* SUB-FOOTER MOBILE OPTIMIZATION      */
/* =================================== */

.footer-link-item {
    color: var(--accent-color);
    padding: 0 10px;
    transition: all 0.3s ease;
}

/* Masaüstünde aralara ayırıcı çizgi ekle */
@media (min-width: 576px) {
    .footer-link-item {
        border-left: 1px solid var(--bs-border-color);
        margin-left: 10px;
    }
    .footer-designer {
        border-left: 1px solid var(--bs-border-color);
        margin-left: 10px;
        padding-left: 10px;
    }
}

/* Mobilde öğelerin arasını aç ve ortala */
@media (max-width: 575.98px) {
    .footer-content-wrap {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px; /* Öğeler arası dikey boşluk */
    }
    .footer-link-item {
        border-left: none;
        margin-left: 0;
        padding: 5px 0;
    }
    .footer-designer {
        border-left: none;
        margin-left: 0;
    }
}

.footer-link-item:hover {
    color: var(--accent-glow);
    opacity: 1;
}

