/* ========================================
   FOOTER STYLES
======================================== */

.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #e0e0e0;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    border-top: 3px solid var(--primary-gold);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

/* Footer Brand */
.footer-brand {
    color: var(--primary-gold);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Footer Headings */
.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-gold);
}

/* Text Colors */
.text-light-gray {
    color: #b0b0b0;
    line-height: 1.6;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    color: var(--primary-gold);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-gold);
    color: var(--dark-gray);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-links a i {
    font-size: 0.7rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-gold);
    padding-left: 5px;
}

.footer-links a:hover i {
    opacity: 1;
    transform: translateX(0);
}

/* Footer Contact */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: #b0b0b0;
}

.footer-contact li i {
    color: var(--primary-gold);
    font-size: 1rem;
    width: 25px;
    margin-right: 0.75rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.footer-contact li span {
    line-height: 1.6;
}

.footer-contact li a {
    transition: color 0.3s ease;
}

.footer-contact li a:hover {
    color: var(--primary-gold) !important;
}

/* Footer Divider */
.footer-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
    margin: 2.5rem 0 1.5rem;
}

/* Footer Copyright */
.footer-copyright {
    color: #888;
    font-size: 0.9rem;
    padding: 1rem 0 0.5rem;
}

/* Developer Info */
.footer-info {
    text-align: center;
    font-size: 14px;
    color: #888;
    padding: 10px 0 15px;
    font-family: Arial, sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 10px;
}

.footer-info a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
}

.footer-info a:hover {
    text-decoration: underline;
}

/* RTL Support */
html[dir="rtl"] .footer-heading::after {
    left: auto;
    right: 0;
}

html[dir="rtl"] .footer-contact li i {
    margin-right: 0;
    margin-left: 0.75rem;
}

html[dir="rtl"] .footer-links a:hover {
    padding-left: 0;
    padding-right: 5px;
}

html[dir="rtl"] .footer-links a i {
    transform: translateX(10px);
}

html[dir="rtl"] .footer-links a:hover i {
    transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 991px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-brand {
        font-size: 1.3rem;
    }

    .footer-heading {
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    .footer {
        padding: 2.5rem 0 1.5rem;
        margin-top: 3rem;
    }

    .footer .col-lg-4,
    .footer .col-lg-3,
    .footer .col-md-6 {
        margin-bottom: 2rem !important;
    }

    .social-links {
        justify-content: center;
    }

    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer .col-md-6 {
        text-align: center;
    }

    .footer-links a {
        justify-content: center;
    }

    .footer-contact li {
        justify-content: center;
        text-align: left;
    }
}