/* =============================================================================
   FOOTER STYLES
   ============================================================================= */

/* Footer */
.footer {
    background: linear-gradient(135deg, 
        rgba(30, 58, 138, 0.05) 0%, 
        rgba(240, 253, 244, 0.8) 50%, 
        rgba(248, 250, 252, 0.9) 100%);
    color: var(--text-muted);
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.footer-section {
    text-align: center;
}

.footer-section h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.2px;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.6;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-muted);
}

/* Quick Links */
.quick-links-section {
    text-align: center;
}

.quick-links-simple {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.quick-links-simple a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    padding: 4px 0;
    font-weight: 400;
    position: relative;
}

.quick-links-simple a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    transition: width 0.3s ease;
    border-radius: 1px;
}

.quick-links-simple a:hover::before {
    width: 100%;
}

.quick-links-simple a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Social Links */
.footer-section:last-child {
    text-align: center;
}

.social-links {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    color: var(--text-muted);
    box-shadow: 0 2px 8px var(--shadow-light);
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.social-link.whatsapp:hover::before {
    width: 100px;
    height: 100px;
    background: #25D366;
}

.social-link.instagram:hover::before {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
}

.social-link.whatsapp:hover {
    color: white;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
    border-color: #25D366;
}

.social-link.instagram:hover {
    color: white;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(193, 53, 132, 0.3);
    border-color: transparent;
}

.social-link svg {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.social-link:hover svg {
    transform: scale(1.1);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.footer-bottom p {
    color: var(--text-muted);
}

.back-to-top {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.back-to-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.1), transparent);
    transition: left 0.5s ease;
}

.back-to-top:hover::before {
    left: 100%;
}

.back-to-top:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .quick-links-simple {
        align-items: center;
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 60px 0 30px;
    }
    
    .footer-section h3 {
        font-size: 18px;
    }
    
    .footer-section p {
        font-size: 13px;
    }
    
    .quick-links-simple a {
        font-size: 13px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
    
    .social-link svg {
        width: 18px;
        height: 18px;
    }
}