/**
 * Footer Styles
 * شركة رزام للمحاماة والاستشارات القانونية
 * تصميم احترافي متجاوب
 */

/* ===== Variables ===== */
:root {
    --gold: #C9A227;
    --gold-light: #E8D48A;
    --gold-dark: #9A7B0A;
    --dark: #1a1a2e;
    --dark-light: #2d2d44;
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --gray: #6c757d;
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    color: var(--white);
    padding-top: 60px;
    position: relative;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section h3 i,
.footer-section h4 i {
    color: var(--gold);
}

.footer-section.company-info .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-section.company-info .footer-logo i {
    font-size: 32px;
    color: var(--gold);
}

.footer-section.company-info .footer-logo h3 {
    margin-bottom: 0;
    font-size: 20px;
}

.footer-section.company-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.footer-links li a:hover {
    color: var(--gold);
    padding-right: 5px;
}

.footer-links li a i {
    font-size: 10px;
    color: var(--gold);
}

/* Contact Info */
.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.contact-info li i {
    color: var(--gold);
    font-size: 16px;
    margin-top: 3px;
}

.contact-info li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info li a:hover {
    color: var(--gold);
}

/* ===== Social Icons Section ===== */
.footer-social {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 30px 0;
}

.footer-social h4 {
    color: var(--white);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
}

.social-icons-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--dark);
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(201, 162, 39, 0.4);
}

.social-icon i {
    display: block;
    line-height: 1;
}

/* Social Icon Hover Colors */
.social-icon.linkedin:hover {
    background: #0077B5;
    color: var(--white);
}

.social-icon.snapchat:hover {
    background: #FFFC00;
    color: #000;
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--white);
}

.social-icon.facebook:hover {
    background: #1877F2;
    color: var(--white);
}

.social-icon.whatsapp:hover {
    background: #25D366;
    color: var(--white);
}

/* ===== Footer Bottom ===== */
.footer-bottom {
    text-align: center;
    padding: 24px 0;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-bottom .developer-credit {
    font-size: 13px;
}

.footer-bottom .developer-credit a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom .developer-credit a:hover {
    color: var(--gold-light);
}

/* ===== Scroll to Top Button ===== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--gold);
    color: var(--dark);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    background: var(--gold-dark);
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-section.company-info {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer {
        padding-top: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-section.company-info .footer-logo {
        justify-content: center;
    }
    
    .footer-links li a {
        justify-content: center;
    }
    
    .contact-info li {
        justify-content: center;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .social-icons-wrapper {
        gap: 12px;
    }
    
    .scroll-to-top {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .footer-section h3,
    .footer-section h4 {
        justify-content: center;
    }
}
