/* Pie de página */
footer {
    background-color: rgba(0, 0, 0, 0.8); /* Fondo oscuro semi-transparente */
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
}

footer p {
    margin: 0 0 10px; /* Espacio inferior */
    font-size: 0.9rem;
}

footer .redes-sociales {
    display: flex;
    justify-content: center;
    gap: 15px; /* Espacio entre los botones */
}

footer .redes-sociales a {
    display: inline-block;
    transition: transform 0.3s ease;
}

footer .redes-sociales a:hover {
    transform: scale(1.1); /* Efecto de agrandamiento al pasar el cursor */
}

footer .redes-sociales img {
    width: 30px; /* Tamaño de los iconos */
    height: 30px;
}

.footer-container {
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 3rem 0 1rem 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 2rem;
}

.footer-section {
    padding: 1rem;
}

.footer-section h3 {
    color: #3498db;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Estilos para los iconos sociales */
.social-links {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
    justify-content: center;
}

.social-link {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    width: 35px;
    height: 35px;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-link img {
    width: 20px !important;
    height: 20px !important;
    object-fit: contain;
    display: block;
    max-width: 100%;
    max-height: 100%;
}

/* Estilos para el footer bottom */
.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 1rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo img {
    width: 40px !important;
    height: 40px !important;
    object-fit: contain;
    display: block;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-logo:hover img {
    opacity: 1;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3498db;
}

/* Ajustes para móviles */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-info li {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-logo img {
        height: 20px;
    }
}