/* ===================================================================
   FOOTER STYLES
   Site footer styles including links, social, and copyright
   =================================================================== */

/* Footer Basic Styles */
.site-footer {
    background: #f8f9fa;
    padding: 40px 0;
    border-top: 1px solid #e0e0e0;
    width: 100%;
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 60px;
}

.footer-main-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 40px;
}

.footer-column {
    flex: 1;
}

.footer-column h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #595959;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #000;
}

/* Footer Bottom Bar */
.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: flex-start;
}

.follow-us-label {
    font-size: 14px;
    color: #595959;
    margin-right: 10px;
}

.footer-social a {
    font-size: 18px;
    color: #595959;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: #000;
    transform: translateY(-2px);
}

.footer-social a i {
    vertical-align: middle;
}

.footer-logo-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo {
    height: 40px;
    width: auto;
}

.footer-region {
    font-size: 14px;
    color: #595959;
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* ===================================================================
   RTL SUPPORT
   =================================================================== */

[dir="rtl"] .site-footer {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .footer-container {
    direction: rtl;
}

[dir="rtl"] .footer-main-content {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .footer-column {
    text-align: right;
}

[dir="rtl"] .footer-column ul {
    text-align: right;
}

[dir="rtl"] .footer-bottom-bar {
    direction: rtl;
}

[dir="rtl"] .footer-social {
    direction: rtl;
    justify-content: flex-end;
}

[dir="rtl"] .footer-region {
    justify-content: flex-start;
}

[dir="rtl"] .follow-us-label {
    margin-right: 0;
    margin-left: 10px;
}

[dir="rtl"] .footer-social a {
    margin-left: 8px;
    margin-right: 0;
}

[dir="rtl"] .footer-social a:last-of-type {
    margin-left: 0;
}

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

@media (max-width: 768px) {
    .site-footer {
        padding: 30px 0;
    }

    .footer-container {
        padding: 0 15px;
        max-width: 100%;
    }

    .footer-main-content {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 30px;
    }

    .footer-column {
        margin-bottom: 20px;
    }

    .footer-bottom-bar {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-social,
    .footer-logo-container,
    .footer-region {
        flex: none;
        width: 100%;
        justify-content: center;
    }

    .footer-social {
        order: 2;
    }

    .footer-logo-container {
        order: 1;
    }

    .footer-region {
        order: 3;
    }

    [dir="rtl"] .footer-social,
    [dir="rtl"] .footer-region {
        justify-content: center;
    }

    .footer-column h3 {
        font-size: 15px;
        margin-bottom: 15px;
    }

    .footer-column li {
        margin-bottom: 10px;
    }

    .footer-column a {
        font-size: 13px;
    }

    .footer-bottom-bar {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding-top: 20px;
    }

    .footer-social {
        order: 2;
        justify-content: center;
        width: 100%;
    }

    .follow-us-label {
        font-size: 13px;
    }

    .footer-social a {
        font-size: 20px;
        margin: 0 6px;
    }

    .footer-logo-container {
        order: 1;
    }

    .footer-logo {
        height: 35px;
    }

    .footer-region {
        order: 3;
        font-size: 13px;
    }

    [dir="rtl"] .footer-social a {
        margin: 0 6px;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 25px 0;
    }

    .footer-container {
        padding: 0 10px;
    }

    .footer-main-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .footer-column h3 {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .footer-column a {
        font-size: 12px;
    }

    .footer-bottom-bar {
        gap: 15px;
    }

    .footer-logo {
        height: 30px;
    }
}