/**
 * Site footer — mobil uyum, simetrik düzen (ortalanmış bloklar, eşit ritim)
 */

@media (max-width: 991.98px) {
    .site-footer {
        padding-top: 2.25rem !important;
        padding-bottom: 1.25rem !important;
        padding-left: env(safe-area-inset-left, 0px);
        padding-right: env(safe-area-inset-right, 0px);
    }

    .site-footer .container-fluid {
        max-width: 100% !important;
        padding-left: max(1rem, env(safe-area-inset-left, 0px)) !important;
        padding-right: max(1rem, env(safe-area-inset-right, 0px)) !important;
    }

    .site-footer .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        justify-content: center;
    }

    /* Tek sütun: yarım kolon kalmaz, simetri */
    .site-footer .row > [class*="col-"] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        text-align: center;
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }

    .site-footer .footer-widget {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 1.75rem;
        max-width: 22rem;
        text-align: center;
    }

    .site-footer .footer-logo {
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    .site-footer .footer-company-name {
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: unset !important;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }

    .site-footer .social-links {
        justify-content: center;
        margin-top: 1rem;
    }

    .site-footer .footer-title {
        text-align: center;
    }

    .site-footer .footer-links {
        text-align: center;
    }

    .site-footer .footer-links li {
        margin-bottom: 0.35rem;
    }

    .site-footer .footer-links a {
        display: inline-block;
    }

    .site-footer .footer-links a:hover {
        padding-left: 0 !important;
        transform: none;
    }

    .site-footer .footer-contact {
        text-align: center;
    }

    .site-footer .footer-contact li {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 0.35rem;
        margin-bottom: 0.85rem;
    }

    .site-footer .footer-contact i {
        margin-right: 0 !important;
        margin-top: 0 !important;
    }

    .site-footer .footer-contact a {
        word-break: break-word;
    }

    .site-footer .footer-bottom {
        padding-top: 1.5rem !important;
        margin-top: 1.5rem !important;
        text-align: center;
    }

    .site-footer .copyright {
        max-width: 36rem;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.5;
        padding: 0 0.5rem;
    }
}

@media (max-width: 575.98px) {
    .site-footer {
        padding-top: 2rem !important;
        padding-bottom: 1rem !important;
    }

    .site-footer .container-fluid {
        padding-left: max(0.75rem, env(safe-area-inset-left, 0px)) !important;
        padding-right: max(0.75rem, env(safe-area-inset-right, 0px)) !important;
    }

    .site-footer .footer-widget {
        max-width: 100%;
        margin-bottom: 1.5rem;
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }

    .site-footer .footer-title {
        font-size: 1rem !important;
    }

    .site-footer .footer-links a,
    .site-footer .footer-contact li {
        font-size: 0.88rem;
    }

    .site-footer .copyright {
        font-size: 0.82rem !important;
    }

    .site-footer .social-link {
        width: 42px;
        height: 42px;
    }
}
