/* Estilos específicos para el footer */
.site-footer {
    background-color: #1a1a1a;
    padding: 60px 0 0;
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

/* Asegurar que el footer esté siempre abajo */
.site-footer-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-footer-main {
    flex: 1 0 auto;
}

.site-footer {
    flex-shrink: 0;
    width: 100%;
}

.site-footer .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

/* Estilos específicos para cada sección del footer */
.site-footer-about {
    padding-right: 20px;
    transition-delay: 0.1s;
}

.site-footer-logo {
    margin-bottom: 20px;
}

.site-footer-logo img {
    max-width: 150px;
    height: auto;
}

.site-footer-about p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.site-footer-social {
    display: flex;
    gap: 15px;
}

.site-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s ease;
    text-decoration: none;
}

.site-footer-social a:hover {
    background-color: #f20784; /* Rosa al hacer hover */
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Estilos para la sección de enlaces */
.site-footer-links h3, 
.site-footer-contact h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.site-footer-links h3::after,
.site-footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #f20784; /* Línea rosa debajo de títulos */
}

.site-footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer-links li {
    margin-bottom: 12px;
}

.site-footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.site-footer-links a:hover {
    color: #f20784; /* Texto rosa al hacer hover */
    padding-left: 5px;
}

.site-footer-links a::before {
    content: '→';
    margin-right: 8px;
    color: #f20784;
    opacity: 0;
    transition: all 0.3s ease;
}

.site-footer-links a:hover::before {
    opacity: 1;
    margin-right: 10px;
}

/* Estilos para la sección de contacto */
.site-footer-contact .contact-info {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    color: #ccc;
}

.site-footer-contact .contact-info i {
    color: #f20784; /* Íconos en rosa */
    margin-right: 10px;
    margin-top: 4px;
    font-size: 16px;
    min-width: 16px;
    transition: none;
}

.site-footer-contact .contact-info p {
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.site-footer-contact .contact-info p a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block; /* Para que la transformación funcione correctamente */
}

.site-footer-contact .contact-info p a:hover {
    transform: translateX(5px);
}

/* Estilos para la parte inferior del footer */
.site-footer-bottom {
    text-align: center;
    padding: 20px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

/* Estilos para la animación del footer */
.footer-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: transform, opacity;
}

.footer-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Asegurar que los elementos del footer tengan un retraso en la animación */
.site-footer-about {
    transition-delay: 0.1s;
}

.site-footer-links {
    transition-delay: 0.2s;
}

.site-footer-contact {
    transition-delay: 0.3s;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .site-footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .site-footer-about {
        text-align: center;
        padding-right: 0;
    }
    
    .site-footer-social {
        justify-content: center;
    }
    
    .site-footer-links h3,
    .site-footer-contact h3 {
        text-align: center;
    }
    
    .site-footer-links h3::after,
    .site-footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .site-footer-links ul {
        text-align: center;
    }
    
    .site-footer-links a {
        justify-content: center;
    }
    
    .site-footer-contact .contact-info {
        justify-content: center;
        text-align: center;
    }
    
    .site-footer-contact .contact-info i {
        margin-right: 8px;
    }
}