/* ============================================
           MENÚ FLOTANTE DE REDES SOCIALES
           Copia desde aquí para usar en otro proyecto
           ============================================ */

.social-float {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.social-float a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

.social-float a:hover {
    transform: scale(1.15) translateX(5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.35);
}

/* LinkedIn */
.social-float a.linkedin {
    background: linear-gradient(135deg, #0077b5 0%, #005885 100%);
}

.social-float a.linkedin:hover {
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
}

/* Facebook */
.social-float a.facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0d5bbd 100%);
}

.social-float a.facebook:hover {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
}

/* Instagram */
.social-float a.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-float a.instagram:hover {
    background: linear-gradient(45deg, #ffb347 0%, #ff6b4a 25%, #e8395a 50%, #d93d7a 75%, #c92498 100%);
}

/* Iconos SVG */
.social-float a svg {
    width: 24px;
    height: 24px;
    fill: white;
    transition: transform 0.3s ease;
}

.social-float a:hover svg {
    transform: scale(1.1);
}

/* Tooltip */
.social-float a::before {
    content: attr(data-tooltip);
    position: absolute;
    left: 65px;
    background-color: #333;
    color: white;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.social-float a::after {
    content: '';
    position: absolute;
    left: 57px;
    border: 6px solid transparent;
    border-right-color: #333;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.social-float a:hover::before,
.social-float a:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Animación de entrada */
.social-float a {
    animation: slideIn 0.5s ease forwards;
    opacity: 0;
}

.social-float a:nth-child(1) {
    animation-delay: 0.1s;
}
.social-float a:nth-child(2) {
    animation-delay: 0.2s;
}
.social-float a:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Efecto pulse opcional */
.social-float a.pulse::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .social-float {
        left: 15px;
        gap: 10px;
    }

    .social-float a {
        width: 45px;
        height: 45px;
    }

    .social-float a svg {
        width: 22px;
        height: 22px;
    }

    /* Ocultar tooltips en móvil */
    .social-float a::before,
    .social-float a::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .social-float {
        left: 10px;
    }

    .social-float a {
        width: 42px;
        height: 42px;
    }

    .social-float a svg {
        width: 20px;
        height: 20px;
    }
}

/* ============================================
   FIN DEL MENÚ FLOTANTE
   ============================================ */