/* Footer CSS Actualizado - 3 Columnas - Versión Elegante */

#map {
    height: 200px;
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#footer {
    padding: 50px 40px 40px;
    text-align: left;
    margin-top: 40px;
    color: #ecf0f1;
    background: linear-gradient(
        135deg,
        #2c3e50 0%,
        #34495e 100%
    );
    border-top: 4px solid #c5a059;
    position: relative;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

/* Efecto de brillo superior sutil */
#footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(197, 160, 89, 0.3), 
        transparent);
}

#footer ul li {
    list-style: none;
    color: #ecf0f1;
    text-align: left;
    margin-bottom: 8px;
}

/* ESTILOS PARA LAS 3 COLUMNAS */
#footer .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Primera columna - Información y visitas */
#visitas {
    font-size: 14px;
    flex: 1;
    min-width: 300px;
    padding-right: 20px;
    margin-bottom: 20px;
}

#visitas p {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 300;
    line-height: 1.6;
}

#visitas i.fa-arrow-right {
    color: #c5a059;
    min-width: 16px;
    font-size: 12px;
}

#visitas a {
    color: #ecf0f1;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 300;
}

#contador {
    font-weight: 500;
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 5px;
}

/* Segunda columna - Logo y dirección CENTRADA */
#correos {
    flex: 1;
    min-width: 300px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

#correos img {
    max-width: 130px;
    height: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
    opacity: 0.9;
}

#correos img:hover {
    transform: scale(1.05);
    opacity: 1;
}

#correos p {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    font-weight: 300;
}

#correos i.fa-map-marker {
    color: #c5a059;
    min-width: 16px;
    font-size: 14px;
}

/* Tercera columna - Redes sociales CENTRADA */
#redes-sociales {
    flex: 1;
    min-width: 300px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

#redes-sociales h6 {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #ecf0f1;

}

#redes-sociales i.fa-arrow-right {
    color: #c5a059;
    font-size: 12px;
}

#redes-sociales hr {
    color: #c5a059;
    width: 60px;
    margin: 5px auto 20px;
    opacity: 0.5;
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, #c5a059, transparent);
}

/* ============================================ */
/* NUEVOS ESTILOS PARA REDES SOCIALES (MODERNOS) */
/* ============================================ */

/* Contenedor de íconos de redes sociales */
.social-icons-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    flex-wrap: wrap;
}

/* Estilo base para cada ícono */
.social-icons-container a {
    color: #ecf0f1;
    font-size: 26px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    text-decoration: none;
    position: relative;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(197, 160, 89, 0.2);
    backdrop-filter: blur(2px);
}

/* Colores específicos al hacer hover (estilo moderno) */
.social-icons-container a:hover .fa-facebook-f {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.social-icons-container a:hover .fa-x-twitter {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.social-icons-container a:hover .fa-instagram {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.social-icons-container a:hover .fa-youtube {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.social-icons-container a:hover .fa-tiktok {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* Footer inferior (créditos) */
footer {
    background: #0a1723;
    text-align: left;
    padding: 25px 20px;
    color: #b0bec5;
    font-size: 13px;
    border-top: 1px solid rgba(197, 160, 89, 0.2);
}

footer .container {
    max-width: 1400px;
    margin: 0 auto;
}

footer .row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

footer .col-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
    padding-right: 15px;
}

footer .col-10 {
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
    padding-left: 15px;
}

footer p {
    margin-bottom: 8px;
    line-height: 1.6;
    font-weight: 300;
    color: #fff;
}

.ligacreditos {
    color: #c5a059;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 400;
    border-bottom: 1px solid transparent;
}

.ligacreditos:hover {
    color: #ecf0f1;
    border-bottom-color: #c5a059;
}

/* Botón de volver arriba */
#btnSubir {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #2c3e50;
    border: 1px solid #c5a059;
    color: #c5a059;
    z-index: 1000;
    opacity: 0.9;
    transition: all 0.3s ease;
    display: none;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

#btnSubir:hover {
    opacity: 1;
    transform: translateY(-3px);
    background: #34495e;
    border-color: #c5a059;
    color: #ecf0f1;
    box-shadow: 0 6px 15px rgba(197, 160, 89, 0.2);
}

#btnSubir i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

#btnSubir:hover i {
    transform: translateY(-2px);
}

/* Línea decorativa entre secciones (opcional) */
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(197, 160, 89, 0.3), transparent);
    margin: 30px 0 20px;
}

/* Responsive */
@media (max-width: 992px) {
    #footer {
        padding: 40px 30px 30px;
    }
    
    #footer .row {
        flex-direction: column;
        gap: 30px;
    }
    
    #visitas, #correos, #redes-sociales {
        width: 100%;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        padding: 0 15px;
    }
    
    #visitas p, #visitas a {
        justify-content: center;
    }
    
    #visitas i.fa-arrow-right {
        display: none;
    }
    
    #correos p {
        justify-content: center;
    }
    
    footer .col-2, 
    footer .col-10 {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
        padding: 0;
        margin-bottom: 15px;
    }
    
    footer .col-2 {
        margin-bottom: 10px;
    }
    
    footer .row {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    #footer {
        padding: 30px 20px;
    }
    
    .social-icons-container {
        gap: 15px;
    }
    
    .social-icons-container a {
        font-size: 22px;
        width: 42px;
        height: 42px;
    }
    
    #btnSubir {
        width: 45px;
        height: 45px;
        bottom: 70px;
        right: 15px;
    }
    
    #correos img {
        max-width: 110px;
    }
}

@media (max-width: 480px) {
    #footer {
        padding: 25px 15px;
    }
    
    #visitas, #correos, #redes-sociales {
        min-width: 100%;
        padding: 0 10px;
    }
    
    #correos img {
        max-width: 100px;
    }
    
    .social-icons-container {
        gap: 12px;
    }
    
    .social-icons-container a {
        font-size: 20px;
        width: 38px;
        height: 38px;
    }
    
    #redes-sociales h6 {
        font-size: 15px;
    }
    
    #btnSubir {
        width: 40px;
        height: 40px;
        bottom: 60px;
        right: 10px;
    }
    
    footer {
        padding: 20px 15px;
        font-size: 12px;
    }
}

/* Animación sutil para el contador de visitas */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.8; }
    100% { opacity: 1; }
}

#contador {
    animation: pulse 3s infinite ease-in-out;
}

/* Efecto hover para los enlaces de la primera columna */
#visitas a i.fa-arrow-right {
    transition: transform 0.3s ease;
}

#visitas a:hover i.fa-arrow-right {
    transform: translateX(3px);
}