/* Estilos personalizados para el footer */
.custom-img {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
}

.custom-img.small {
    max-width: 150px;
}

.custom-img.large {
    max-width: 450px;
}

.custom-img.move-up {
    transform: translateY(-40px) translateX(10px);
}

.hola {
    transform: translateY(40px) translateX(-190px);
}

.holas {
    transform: translateY(40px) translateX(60px);
}

.movercol {
    transform: translateX(-20px);
}

.diree {
    transform: translateX(60px);
}

.custom-footer {
    background-color: #1C1C1C;
    position: relative;
    overflow: hidden;
}

.custom-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="0.3" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="0.4" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
    z-index: 1;
}

.custom-footer .container-fluid {
    position: relative;
    z-index: 2;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
    position: relative;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 0.25rem 0;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #ffd700;
    transform: translateX(-5px);
}

.footer-links a:hover::after {
    width: 100%;
}

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.contact-item i {
    margin-right: 0.75rem;
    color: #ffd700;
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    margin-top: 1rem;
    text-align: left;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a:hover {
    background: rgba(255, 215, 0, 0.2) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3) !important;
}

.social-links a.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important;
}

.social-links a.facebook:hover {
    background: #1877f2 !important;
}

.social-links a.tiktok:hover {
    background: #000000 !important;
}

.social-links a.whatsapp:hover {
    background: #25d366 !important;
}

.footer-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    border: none;
    margin: 2rem 0 1rem 0;
}

.copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.section-title {
    color: #ffd700;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mapa */
.map-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.map-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.map-frame {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 3px solid #ffd700;
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
    transition: filter 0.3s ease;
}

.map-frame:hover iframe {
    filter: saturate(1.2);
}

/* Margen horizontal adaptable */
.margen-responsive {
    margin: 0 4cm;
}

.animar-img1 {
    opacity: 0;
    transform: translateX(-20px) scale(0.8);
    transition: all 1.8s ease-in-out;
}

.animar-img1.visible {
    opacity: 1;
    transform: translateX(40px) translateY(-40px) scale(1.1);
}

/* ============================= */
/* RESPONSIVE ADAPTATIONS BELOW */
/* ============================= */

@media (max-width: 1200px) {
    .hola, .holas {
        transform: translateY(30px) translateX(0px);
    }
    .movercol, .diree {
        transform: translateX(0);
    }

    .margen-responsive {
        margin: 0 2cm;
    }

    .map-frame {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .footer-logo,
    .custom-img {
        display: none !important;
    }

    .margen-responsive {
        margin: 0 1cm;
    }

    .social-links {
        justify-content: center !important;
    }

    .contact-info {
        margin-top: 1.5rem;
        text-align: center;
    }

    .hola, .holas, .movercol, .diree {
        transform: none;
    }

    .contact-item {
        justify-content: center;
    }

    .map-frame {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .footer-links {
        text-align: center;
    }

    .footer-links li {
        display: inline-block;
        margin: 0 10px 10px 0;
    }

    .footer-links a {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1rem !important;
        text-align: center !important;
    }

    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .contact-info {
        padding: 1rem;
        font-size: 0.95rem;
    }

    .contact-item i {
        font-size: 1rem;
        margin-right: 0.5rem;
    }

    .copyright p {
        font-size: 0.75rem;
    }

    .margen-responsive {
        margin: 0 0.5cm;
    }

    .map-frame {
        height: 300px;
    }
}
