/* =====================================================
   MAIN-FOOTER.CSS
   Alt Bilgi Stilleri (Responsive)
===================================================== */

.main-footer {
    background: var(--ss-bg-muted);
    border-top: 1px solid #e5e5e5;
    padding: 38px 24px 26px;
    margin-top: 0;
}

.footer-container {
    width: 100%;
    max-width: var(--ss-container);
    margin: 0 auto;
}

/* =====================================================
   FOOTER TOP
===================================================== */

.footer-top {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    height: 34px;
    width: auto;
    object-fit: contain;
}

.footer-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    font-weight: 500;
}

.footer-links a {
    color: var(--ss-black);
    text-decoration: none;
    font-size: 16px;
    white-space: nowrap;
}

/* =====================================================
   DIVIDER
===================================================== */

.footer-divider {
    width: 100%;
    height: 1px;
    background: #dcdcdc;
    margin: 24px 0;
}

/* =====================================================
   FOOTER MIDDLE
===================================================== */

.footer-middle {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
    color: #8b8b8b;
    font-size: 14px;
}

/* =====================================================
   FOOTER BOTTOM
===================================================== */

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

.footer-policy-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    color: #8b8b8b;
}

.footer-policy-links a {
    text-decoration: none;
    color: inherit;
    white-space: nowrap;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--ss-black);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-socials a:hover {
    transform: scale(0.95);
    opacity: 0.9;
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 768px) {
    .main-footer {
        padding: 30px 20px 24px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer-links {
        gap: 14px 18px;
    }

    .footer-links a {
        font-size: 14px;
    }

    .footer-policy-links {
        gap: 12px 16px;
        font-size: 12px;
    }

    .footer-middle {
        font-size: 12px;
    }
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 520px) {
    .main-footer {
        padding: 26px 16px 22px;
    }

    .footer-top {
        gap: 14px;
    }

    .footer-logo {
        height: 28px;
    }

    /* Ana bağlantılar yan yana */
    .footer-links {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px 14px;
    }

    .footer-links a {
        font-size: 12px;
        line-height: 1.5;
        white-space: nowrap;
    }

    .footer-divider {
        margin: 20px 0;
    }

    .footer-middle {
        gap: 6px;
        margin-bottom: 16px;
        font-size: 11px;
        line-height: 1.5;
    }

    .footer-bottom {
        align-items: flex-start;
        gap: 16px;
    }

    /* Gizlilik ve diğer alt bağlantılar yan yana */
    .footer-policy-links {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px 12px;
        font-size: 11px;
        line-height: 1.5;
    }

    .footer-policy-links a {
        white-space: nowrap;
    }

    .footer-socials {
        gap: 10px;
    }

    .footer-socials a {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
}

/* =====================================================
   EXTRA SMALL MOBILE
===================================================== */

@media (max-width: 360px) {
    .main-footer {
        padding-right: 12px;
        padding-left: 12px;
    }

    .footer-links {
        gap: 8px 10px;
    }

    .footer-links a {
        font-size: 11px;
    }

    .footer-policy-links {
        gap: 8px 10px;
        font-size: 10px;
    }
}