/* social-float.css */
:root {
    --whatsapp-color: #25d366;
    --whatsapp-hover: #128C7E;
    --instagram-gradient: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    --instagram-hover: linear-gradient(45deg, #FD1D1D, #E1306C, #C13584, #833AB4, #5851DB, #405DE6);
}

.social-float {
    position: fixed;
    width: 60px;
    height: 60px;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
    animation: floatIn 0.5s ease forwards;
}

@keyframes floatIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.social-float:hover {
    transform: scale(1.1);
    box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.4);
}

.whatsapp-float {
    background-color: var(--whatsapp-color);
    bottom: 40px;
    right: 40px;
    animation-delay: 0.5s;
}

.whatsapp-float:hover {
    background-color: var(--whatsapp-hover);
}

/* Instagram specific */
.instagram-float {
    background: var(--instagram-gradient);
    bottom: 110px;
    right: 40px;
    animation-delay: 0.8s;
}

.instagram-float:hover {
    background: var(--instagram-hover);
}

/* Tooltips */
.social-tooltip {
    position: fixed;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1000;
}

.social-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 20px;
    border-width: 6px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.85) transparent transparent transparent;
}

.whatsapp-tooltip {
    bottom: 110px;
    right: 30px;
}

.instagram-tooltip {
    bottom: 180px;
    right: 30px;
}

.whatsapp-float:hover + .whatsapp-tooltip,
.instagram-float:hover + .instagram-tooltip {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .social-float {
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
    
    .whatsapp-float {
        bottom: 30px;
        right: 30px;
    }
    
    .instagram-float {
        bottom: 100px;
        right: 30px;
    }
    
    .social-tooltip {
        font-size: 12px;
        padding: 6px 10px;
    }
    
    .whatsapp-tooltip {
        bottom: 95px;
        right: 20px;
    }
    
    .instagram-tooltip {
        bottom: 165px;
        right: 20px;
    }
}

@media (max-width: 600px) {
    .social-float {
        width: 50px;
        height: 50px;
        font-size: 26px;
    }
    
    .whatsapp-float {
        bottom: 25px;
        right: 25px;
    }
    
    .instagram-float {
        bottom: 90px;
        right: 25px;
    }
    
    .social-tooltip {
        display: none;
    }
}

@media (max-width: 480px) {
    .social-float {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .instagram-float {
        bottom: 80px;
        right: 20px;
    }
}