/* ===================================
   WEJHA - Premium Footer
   =================================== */

.site-footer {
    background: #0a0a0a;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    overflow: hidden;
}

/* Decorative top border */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--clr-primary), transparent);
}

/* Ambient glow */
.footer-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(var(--clr-primary-rgb), 0.06), transparent 70%);
    pointer-events: none;
}

/* Main Footer */
.footer-main {
    padding: 80px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    direction: rtl;
}

/* Brand Column */
.footer-brand {
    text-align: right;
}

.footer-logo {
    max-width: 130px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-tagline {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 25px;
    max-width: 300px;
}

/* Social Links */
.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-social-link {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background: var(--clr-primary);
    border-color: var(--clr-primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(var(--clr-primary-rgb), 0.3);
}

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

/* Link Columns */
.footer-column {
    text-align: right;
}

.footer-column-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-column-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 2px;
    background: var(--clr-primary);
    border-radius: 1px;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--clr-primary);
    transform: translateX(-5px);
}

/* Contact Info */
.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    direction: ltr;
    justify-content: flex-end;
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    color: var(--clr-primary);
    flex-shrink: 0;
}

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    direction: rtl;
}

.footer-copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-copyright a {
    color: var(--clr-primary);
    text-decoration: none;
    font-weight: 600;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--clr-primary);
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto 20px;
        display: block;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-column {
        text-align: center;
    }

    .footer-column-title::after {
        right: 50%;
        transform: translateX(50%);
    }

    .footer-contact-item {
        justify-content: center;
    }

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

    .footer-bottom-links {
        justify-content: center;
    }

    .footer-tagline {
        margin: 0 auto 25px;
    }
}
