/* Estilos para el footer */
.footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo img {
    height: 120px;
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
    
}

.footer-texto {
    font-style: italic;
    color: #ccc;
    line-height: 1.5;
    max-width: 300px;
    margin: 0 auto;
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 1rem;
    color: #e63946;
    text-align: center;
}

.footer-links ul {
    list-style: none;
    text-align: center;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #e63946;
}

.social-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-icons a {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: #444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #e63946;
    transform: translateY(-3px);
}

.social-icons img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.social-icons a:hover img {
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #ccc;
    font-size: 0.9rem;
}

/* 🔥 AUMENTAR TAMAÑO DE ICONOS SOLO EN DESKTOP */
@media (min-width: 769px) {
    .social-icons a {
        width: 60px;  /* Más grande en desktop */
        height: 60px; /* Más grande en desktop */
    }
    
    .social-icons img {
        width: 35px;  /* Iconos más grandes */
        height: 35px; /* Iconos más grandes */
    }
    
    .footer-logo img {
        height: 140px; /* Logo un poco más grande en desktop */
    }
}

/* 📱 VERSIÓN MOBILE - Los iconos mantienen tamaño normal */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .footer-logo {
        order: 1;
    }
    
    .footer-links {
        order: 2;
    }
    
    .footer-social {
        order: 3;
    }
    
    .footer-logo img {
        height: 100px; /* Logo más pequeño en mobile */
    }
    
    .footer-texto {
        font-size: 0.9rem;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .social-icons a {
        width: 45px;   /* Tamaño normal en mobile */
        height: 45px;  /* Tamaño normal en mobile */
    }
    
    .social-icons img {
        width: 25px;   /* Tamaño normal en mobile */
        height: 25px;  /* Tamaño normal en mobile */
    }
    
    .footer-links h4,
    .footer-social h4 {
        font-size: 1.2rem;
    }
}

/* 📱 MÓVILES MUY PEQUEÑOS */
@media (max-width: 480px) {
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        gap: 2rem;
    }
    
    .footer-logo img {
        height: 80px;
    }
    
    .social-icons a {
        width: 40px;
        height: 40px;
    }
    
    .social-icons img {
        width: 22px;
        height: 22px;
    }
    
    .footer-texto {
        font-size: 0.85rem;
    }
}

@media (min-width: 769px) {
    .social-icons a {
        width: 70px;
        height: 70px;
    }
    
    .social-icons img {
        width: 40px;
        height: 40px;
    }
}

/* Efecto de brillo en hover */
.social-icons a:hover {
    background: #e63946;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.4);
}

/* Animación suave al cargar */
.social-icons a {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}