/* ======================================================
   9. FOOTER - ElectricJoscam Optimizado
====================================================== */

footer {
    background-color: #1a1a1a; /* Un tono más oscuro para elegancia */
    color: #ffffff;
    padding: 60px 10% 20px;
    border-top: 1px solid var(--dark-light);
    text-align: left; /* Alineación base para las columnas */
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

/* Columna de Logo y Slogan */
.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
    display: block;
}

.footer-logo:hover { transform: scale(1.05); }

.footer-slogan {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.7;
    max-width: 300px;
}

/* Títulos de las columnas */
.footer-column h4 {
    color: var(--accent);
    margin-bottom: 25px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Enlaces de navegación */
.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.7;
    transition: 0.3s;
    font-size: 0.95rem;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent);
    padding-left: 5px;
}

/* Redes Sociales */
.footer-social {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-social a {
    color: #ffffff;
    font-size: 1.4rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.footer-social a:hover {
    color: var(--accent);
    transform: translateY(-5px);
}

.footer-contact-info {
    font-size: 0.9rem;
    opacity: 0.7;
    line-height: 1.8;
}

/* Parte inferior (Copyright) */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    opacity: 0.5;
}

/* Responsividad para móviles */
@media (max-width: 768px) {
    footer {
        text-align: center;
        padding: 40px 5% 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-logo {
        margin: 0 auto 15px;
    }

    .footer-slogan {
        margin: 0 auto;
    }

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