/* MTA Elektrik — assets/css/mta-footer.css | F1 birleştirme */

/* ─── parça A5 ─── */
/* ═══════════════════════════════════════════════════════════════
   MTA FOOTER STİLLERİ — Parça A5
   Indigo açık tema, mobile-first, 4 sütun → 1 sütun
   ═══════════════════════════════════════════════════════════════ */

:root {
    --mta-footer-bg: #0f172a;
    --mta-footer-bg-mid: #1e293b;
    --mta-footer-bg-bot: #020617;
    --mta-footer-text: #cbd5e1;
    --mta-footer-text-muted: #94a3b8;
    --mta-footer-text-strong: #f1f5f9;
    --mta-footer-accent: #6366f1;
    --mta-footer-accent-hover: #818cf8;
    --mta-footer-border: rgba(255, 255, 255, 0.08);
    --mta-footer-radius: 12px;
}

.mta-footer {
    background: var(--mta-footer-bg);
    color: var(--mta-footer-text);
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 80px;
}

.mta-footer * {
    box-sizing: border-box;
}

.mta-footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── ÜST KISIM ─── */
.mta-footer-top {
    padding: 56px 0 40px;
}

.mta-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 48px;
}

.mta-footer-col {
    min-width: 0;
}

/* ─── ŞİRKET BÖLÜMÜ ─── */
.mta-footer-brand {
    margin-bottom: 16px;
}

.mta-footer-logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--mta-footer-text-strong);
    letter-spacing: -0.5px;
}

.mta-footer-brand .custom-logo {
    max-height: 48px;
    width: auto;
    height: auto;
}

.mta-footer-tagline {
    color: var(--mta-footer-text-muted);
    font-size: 13px;
    line-height: 1.7;
    margin: 0 0 24px;
    max-width: 320px;
}

.mta-footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mta-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--mta-footer-text);
    font-size: 14px;
}

.mta-footer-contact a {
    color: var(--mta-footer-text);
    text-decoration: none;
    transition: color 240ms ease;
}

.mta-footer-contact a:hover {
    color: var(--mta-footer-accent-hover);
}

.mta-footer-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(99, 102, 241, 0.12);
    color: var(--mta-footer-accent-hover);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mta-footer-address {
    align-items: flex-start;
}

.mta-footer-address span:last-child {
    line-height: 1.5;
}

/* ─── SÜTUN BAŞLIKLARI ─── */
.mta-footer-heading {
    font-size: 14px;
    font-weight: 700;
    color: var(--mta-footer-text-strong);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin: 0 0 20px;
}

.mta-footer-heading-pay {
    margin-top: 28px;
}

/* ─── LİNK LİSTELERİ ─── */
.mta-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mta-footer-links a {
    color: var(--mta-footer-text);
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    transition: color 240ms ease, transform 240ms ease;
}

.mta-footer-links a:hover {
    color: var(--mta-footer-accent-hover);
    transform: translateX(3px);
}

/* ─── SOSYAL MEDYA ─── */
.mta-footer-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.mta-footer-social-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--mta-footer-text-strong);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 280ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mta-footer-social-link:hover {
    background: var(--mta-footer-accent);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(99, 102, 241, 0.32);
}

.mta-footer-social-link svg {
    width: 18px;
    height: 18px;
}

/* ─── ÖDEME LOGOLARI ─── */
.mta-footer-payments {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.mta-footer-payment-badge {
    background: #ffffff;
    border-radius: 6px;
    padding: 6px 8px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.mta-footer-payment-badge svg {
    height: 16px;
    width: auto;
}

.mta-footer-payment-badge.text-only {
    background: rgba(255, 255, 255, 0.06);
    color: var(--mta-footer-text);
    font-size: 11px;
    font-weight: 600;
    padding: 6px 10px;
    box-shadow: none;
    border: 1px solid var(--mta-footer-border);
}

/* ─── ŞİRKET KAYIT BANDI ─── */
.mta-footer-legal {
    background: var(--mta-footer-bg-mid);
    padding: 18px 0;
    border-top: 1px solid var(--mta-footer-border);
}

.mta-footer-legal-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 32px;
    font-size: 12.5px;
    color: var(--mta-footer-text-muted);
}

.mta-footer-legal-item strong {
    color: var(--mta-footer-text);
    font-weight: 600;
    margin-right: 4px;
}

.mta-footer-legal-item a {
    color: var(--mta-footer-accent-hover);
    text-decoration: none;
}

.mta-footer-legal-item a:hover {
    text-decoration: underline;
}

/* ─── COPYRIGHT BANDI ─── */
.mta-footer-bottom {
    background: var(--mta-footer-bg-bot);
    padding: 18px 0;
    color: var(--mta-footer-text-muted);
    font-size: 13px;
}

.mta-footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.mta-footer-copyright strong {
    color: var(--mta-footer-text);
    font-weight: 700;
}

.mta-footer-meta span {
    opacity: 0.7;
}

/* ─── BACK TO TOP ─── */
.mta-back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--mta-footer-accent);
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all 380ms cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 16px rgba(99, 102, 241, 0.32);
    z-index: 999;
}

.mta-back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mta-back-to-top:hover {
    background: var(--mta-footer-accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(99, 102, 241, 0.42);
}

/* ═══════ TABLET ≤ 1024px ═══════ */
@media (max-width: 1024px) {
    .mta-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .mta-footer-col-company {
        grid-column: 1 / -1;
    }

    .mta-footer-tagline {
        max-width: none;
    }
}

/* ═══════ MOBİL ≤ 640px ═══════ */
@media (max-width: 640px) {
    .mta-footer-top {
        padding: 40px 0 28px;
    }

    .mta-footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .mta-footer-heading {
        margin-bottom: 14px;
    }

    .mta-footer-legal-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        text-align: left;
    }

    .mta-footer-bottom-row {
        flex-direction: column;
        text-align: center;
    }

    .mta-back-to-top {
        bottom: 16px;
        right: 16px;
        width: 44px;
        height: 44px;
    }
}


/* ─── ÖDEME LOGOLARI EK GÜVENLİK (footer payment override) ─── */
.mta-footer-payments {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    align-items: center !important;
    max-width: 100% !important;
}

.mta-footer-payment-badge {
    background: #ffffff !important;
    border-radius: 6px !important;
    padding: 5px 8px !important;
    height: 28px !important;
    max-height: 28px !important;
    width: auto !important;
    max-width: 60px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2) !important;
    flex: 0 0 auto !important;
}

.mta-footer-payment-badge svg {
    height: 16px !important;
    max-height: 16px !important;
    width: auto !important;
    max-width: 50px !important;
    display: block !important;
}

.mta-footer-payment-badge.text-only {
    background: rgba(255,255,255,0.06) !important;
    color: #d1d5db !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    padding: 6px 10px !important;
    box-shadow: none !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    height: 28px !important;
    width: auto !important;
    max-width: 130px !important;
}
