/* Footer V3 - Simple & Minimal Styles */

.footer-v3 {
    background-color: var(--sc-footer-v3-root-bg, var(--footer-background-color));
    color: var(--sc-footer-v3-root-text, var(--footer-text-color));
    padding: 40px 0;
    margin-top: 60px;
    border-top: 1px solid transparent;
    position: relative;
}

.footer-v3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--sc-footer-v3-root-before-bg, var(--primary-brand-color));
}

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

.footer-v3-brand {
    flex: 1;
    min-width: 200px;
}

.footer-v3-copyright {
    margin: 0;
    font-size: 16px;
    color: var(--sc-footer-v3-copyright-text, var(--footer-text-color));
    opacity: 0.8;
}

.footer-v3-policies {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-v3-policy-link {
    color: var(--sc-footer-v3-policy-link-text, var(--footer-text-color));
    text-decoration: none;
    font-size: 14px;
    opacity: 0.9;
}

.footer-v3-policy-link:hover {
    color: var(--sc-footer-v3-policy-link-hover-text, var(--primary-brand-color));
}

.footer-v3-social {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer-v3-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--sc-footer-v3-social-link-bg, var(--footer-social-icon-background-color));
    color: var(--sc-footer-v3-social-link-text, var(--footer-social-icon-color));
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
    position: relative;
}

.footer-v3-social-link i {
    position: relative;
    z-index: 1;
}

.footer-v3-social-link:hover {
    background-color: var(--sc-footer-v3-social-link-hover-bg, var(--footer-social-icon-hover-background-color));
    color: var(--sc-footer-v3-social-link-hover-text, var(--footer-social-icon-hover-color));
    transform: translateY(-2px);
}

.footer-v3-developer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid transparent;
    padding-bottom: 3%;
    position: relative;
}

.footer-v3-developer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--sc-footer-v3-developer-before-bg, var(--primary-brand-color));
}

.footer-v3-developer p {
    margin: 0;
    font-size: 14px;
    color: var(--sc-footer-v3-developer-paragraph-text, var(--footer-text-color));
    opacity: 0.6;
}

.footer-v3-developer-link {
    color: var(--sc-footer-v3-developer-link-text, var(--footer-accent-color));
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-v3-developer-link:hover {
    color: var(--sc-footer-v3-developer-link-hover-text, var(--footer-hover-text-color));
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-v3 {
        padding: 30px 0;
        margin-top: 40px;
    }

    .footer-v3-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-v3-brand {
        width: 100%;
    }

    .footer-v3-social {
        justify-content: center;
    }

    .footer-v3-developer {
        padding-top: 15px;
        padding-bottom: 13%;
    }
}

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

    .footer-v3-copyright {
        font-size: 15px;
    }

    .footer-v3-social-link {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .footer-v3-developer p {
        font-size: 13px;
    }
}

/* RTL Support */
[dir="rtl"] .footer-v3-content {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-v3-brand {
    order: 2;
}

[dir="rtl"] .footer-v3-social {
    order: 1;
}

@media (max-width: 768px) {
    [dir="rtl"] .footer-v3-content {
        flex-direction: column;
    }
    
    [dir="rtl"] .footer-v3-brand {
        order: 1;
    }
    
    [dir="rtl"] .footer-v3-social {
        order: 2;
        flex-direction: row-reverse;
        justify-content: center;
    }
}

