/* ============================================================
   footer.css — Eliton Otomasyon Footer
   Tüm sayfalara anafooter.php üzerinden yüklenir.
   ============================================================ */

/* ---- Eski footer sınıflarını sıfırla (artık HTML'de yok ama güvenlik için) ---- */
#contact-parts,
.footer-bottom,
footer .container-fluid,
footer .col-lg-4,
footer .col-lg-2,
footer .col-md-4,
footer .col-md-2,
footer .col-sm-3,
footer .col-sm-6,
footer .col-xs-6,
footer .widget-container,
footer .list-unstyled,
footer .clear-margins {
    all: unset;
    box-sizing: border-box;
}

/* ============================================================
   FOOTER ANA YAPISI
   footer.ft-root: birleşik seçici (0-1-1) + !important = style.css'i kesin ezer
   ============================================================ */
footer.ft-root {
    display: block !important;
    background: #0a0f18 !important;
    color: rgba(255,255,255,0.6) !important;
    font-family: 'Maven Pro', Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

/* Üst border aksanı */
footer.ft-root::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, #C8102E 0%, #7a0a1e 50%, transparent 100%);
}

/* ---- Footer üst gövde ---- */
.ft-body {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 48px;
    padding: 64px max(32px, 5vw) 52px;
    max-width: 1260px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* ---- Sütun genel ---- */
.ft-col {
    display: flex;
    flex-direction: column;
}

/* ---- Sütun başlıkları ---- */
.ft-col-title {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ft-col-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin-left: 4px;
}

/* ---- Kolon 1: Logo + hakkında ---- */
.ft-brand-logo {
    display: block;
    margin-bottom: 18px;
}

.ft-brand-logo img {
    height: 42px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.ft-brand-desc {
    font-size: 13.5px;
    color: rgba(255,255,255,0.45);
    line-height: 1.75;
    margin-bottom: 24px;
    max-width: 280px;
}

/* Sosyal medya ikonları */
.ft-social {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.ft-social li {
    display: block;
}

.ft-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 7px;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.ft-social a:hover {
    background: #C8102E;
    border-color: #C8102E;
    color: #fff;
    text-decoration: none;
}

/* ---- Kolon 2 & 3: Link listeleri ---- */
.ft-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ft-links li {
    display: block;
}

.ft-links a {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 7px 0;
    color: rgba(255,255,255,0.5) !important;
    text-decoration: none !important;
    font-size: 13.5px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: color 0.25s ease, gap 0.25s ease;
}

.ft-links a:hover {
    color: #fff !important;
    gap: 12px;
    text-decoration: none !important;
}

.ft-links a::before {
    content: '';
    width: 4px; height: 4px;
    min-width: 4px;
    background: #C8102E;
    border-radius: 50%;
    opacity: 0.6;
    transition: opacity 0.25s ease;
    flex-shrink: 0;
}

.ft-links a:hover::before {
    opacity: 1;
}

/* ---- Kolon 4: İletişim ---- */
.ft-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ft-contact-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.ft-contact-icon {
    width: 34px; height: 34px;
    min-width: 34px;
    background: rgba(200,16,46,0.12);
    border: 1px solid rgba(200,16,46,0.2);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C8102E;
    font-size: 14px;
    margin-top: 1px;
    flex-shrink: 0;
}

.ft-contact-info-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 2px;
    display: block;
}

.ft-contact-info-value {
    font-size: 13.5px;
    font-weight: 600;
    color: rgba(255,255,255,0.7) !important;
    text-decoration: none !important;
    transition: color 0.25s ease;
    display: block;
}

.ft-contact-info-value:hover {
    color: #fff !important;
    text-decoration: none !important;
}

/* ---- Footer alt çizgisi ---- */
.ft-separator {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: 0 max(32px, 5vw);
}

/* ---- Footer alt çubuğu ---- */
.ft-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px max(32px, 5vw);
    max-width: 1260px;
    margin: 0 auto;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.ft-copyright {
    font-size: 12.5px;
    color: rgba(255,255,255,0.28);
}

.ft-copyright strong {
    color: rgba(255,255,255,0.5);
    font-weight: 600;
}

.ft-bottom-links {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.ft-bottom-links li { display: block; }

.ft-bottom-links a {
    font-size: 12px;
    color: rgba(255,255,255,0.28) !important;
    text-decoration: none !important;
    transition: color 0.2s;
}

.ft-bottom-links a:hover {
    color: rgba(255,255,255,0.65) !important;
    text-decoration: none !important;
}

/* style.css'ten gelen footer p renk kuralını geç (footer p = 0-0-2 spesifite) */
footer.ft-root p {
    color: rgba(255,255,255,0.45);
    margin: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .ft-body {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .ft-col-brand {
        grid-column: 1 / 3;
    }
}

@media (max-width: 600px) {
    .ft-body {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 48px max(20px, 5vw) 36px;
    }

    .ft-col-brand {
        grid-column: auto;
    }

    .ft-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .ft-bottom-links {
        justify-content: center;
    }
}
