/* Estilos generales del footer */
.footer {
    background-color: #0F5397;
    color: #fff;
    padding: 50px 20px;
    min-height: 350px;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

/* Sección de logotipo */
.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

/* Sección de logotipo */
.footer-logo-img {
    max-width: 400px;
    height: auto;
}

/* Separador (pleca elegante) */
.separator {
    width: 1px;
    background: linear-gradient(to bottom, transparent, #fff, transparent);
    height: 100%;
    margin: 0 20px;
}

/* Sección central: Menú y Dirección */
.footer-center {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-menu h3,
.footer-address h3,
.footer-contact h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.footer-menu ul {
    list-style: none;
}

.footer-menu ul li {
    margin-bottom: 10px;
}

.footer-menu ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-menu ul li a:hover {
    color: #007bff;
}

.footer-address p {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Sección de contacto */
.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

/* Redes sociales */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #555;
}

.footer-social a {
    color: #fff;
    font-size: 24px;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: #007bff;
}

/* Hover anaranjado para iconos de dirección y contacto */
.footer-address i,
.footer-contact i {
    transition: color 0.3s ease;
}

.footer-address p:hover i,
.footer-contact p:hover i {
    color: #ff8c00; /* Naranja */
}

/* Hover anaranjado para redes sociales */
.footer-social a:hover {
    color: #ff8c00; /* Cambiar de #007bff a naranja */
}

/* Flecha antes de cada opción del menú */
.footer-menu ul li a::before {
    content: '› '; /* Flecha › o puedes usar > */
    margin-right: 8px;
    color: #ffffff;
    transition: color 0.3s ease;
    font-size: 20px;
    font-weight: bold;
}

/* Hover anaranjado para el link y la flecha */
.footer-menu ul li a:hover {
    color: #ff8c00; /* Link naranja */
}

.footer-menu ul li a:hover::before {
    color: #ff8c00; /* Flecha naranja */
}

/* Versión responsiva */
@media (max-width: 767px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo {
        margin-bottom: 20px;
    }

    .separator {
        width: 100%;
        height: 1px;
        margin: 20px 0;
    }

    .footer-center {
        align-items: center;
    }

    .footer-menu,
    .footer-address,
    .footer-contact {
        margin-bottom: 20px;
    }

    .footer-social {
        margin-top: 10px;
    }
}

/* Responsive: Logo más pequeño en móvil */
@media (max-width: 767px) {
    .footer-logo-img {
        max-width: 250px; /* Reducido de 400px a 200px */
        height: auto;
    }
}

/* Versión de escritorio */
@media (min-width: 768px) {
    .footer-logo,
    .footer-center,
    .footer-contact {
        flex: 1;
    }

    .footer-center {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer-menu,
    .footer-address {
        flex: 1;
    }
}
