/* static/css/footer.css */

/* --- KESİN ÇÖZÜM: Arka Plan ve Kaydırma Rengi --- */
html {
    background-color: #0f172a !important; /* Navbar/Footer ile aynı Koyu Lacivert */
    scrollbar-color: #334155 #0f172a; /* (Opsiyonel) Scrollbar renkleri */
}

body {
    background-color: #0f172a !important; /* Body zeminini de koyu yapıyoruz */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden; /* Yatay taşmayı engelle */
}

/* ÖNEMLİ: Body koyu olduğu için, orta kısımdaki içeriğin 
   tekrar açık renk olması gerekir. 
*/
main, 
.page-shell, 
body > .container, 
body > .container-fluid,
#content-wrapper {
    background-color: #f8fafc; /* İçerik zemini (Slate-50 / Açık Gri) */
    flex: 1; /* Footer'ı en alta itmek için */
    width: 100%;
    position: relative;
    z-index: 1; /* Footer ve Nav'ın altında kalmasın */
}

/* --- Genel Footer Yapısı (YÜKSEKLİK AZALTILDI) --- */
.site-footer {
    background-color: #0f172a;
    background-image: none;
    color: #94a3b8;
    padding-top: 2.5rem;
    padding-bottom: 1.5rem;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
    margin-top: 0 !important; /* Olası boşlukları sıfırla */
    position: relative;
    z-index: 10;
}

/* ... Dosyanın geri kalanı (Linkler, Marka vb.) aynen kalacak ... */

/* --- Marka Alanı --- */
.footer-brand-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}
.footer-brand-title span {
    color: #f59e0b;
}

.footer-tagline {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    display: block;
    text-decoration: none;
}
.footer-tagline:hover {
    color: #cbd5e1;
}

/* --- İletişim Bilgileri --- */
.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.8rem;
    color: #cbd5e1;
}
.footer-contact-item i {
    color: #f59e0b;
    font-size: 1.1rem;
}

/* --- Başlıklar --- */
.footer-heading {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

/* --- Linkler (Sıkılaştırılmış) --- */
.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-nav li {
    margin-bottom: 0.6rem;
}
.footer-nav a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}
.footer-nav a:hover {
    color: #f59e0b;
    transform: translateX(4px);
}
.footer-nav a::before {
    content: "›";
    margin-right: 6px;
    font-weight: bold;
    opacity: 0.5;
    transition: opacity 0.2s;
}
.footer-nav a:hover::before {
    opacity: 1;
    color: #f59e0b;
}

/* --- Vurgulu Mavi Link (Yardım Merkezi) --- */
.footer-nav a.highlight-link {
    color: #3b82f6 !important;
    font-weight: 600;
}
.footer-nav a.highlight-link:hover {
    color: #60a5fa !important;
}
.footer-nav a.highlight-link::before {
    color: #3b82f6;
    opacity: 1;
}

/* --- 360 Bilgi Kartı --- */
.footer-knowledge-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-bottom: 1.25rem;
}
.footer-knowledge-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.knowledge-icon-box {
    background: rgba(59, 130, 246, 0.15);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.footer-knowledge-card:hover .knowledge-icon-box {
    background: #3b82f6;
    color: #fff;
}
.knowledge-content h6 {
    color: #fff;
    margin: 0 0 4px 0;
    font-weight: 600;
}
.knowledge-content p {
    color: #94a3b8;
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.3;
}

/* --- Sosyal Medya --- */
.social-links {
    display: flex;
    gap: 10px;
}
.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}
.social-btn:hover {
    background: #f59e0b;
    color: #fff;
    border-color: #f59e0b;
    transform: rotate(15deg);
}

/* --- Alt Bant --- */
.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: #64748b;
}
.footer-legal-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}
.footer-legal-links a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-legal-links a:hover {
    color: #cbd5e1;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}