/* Floating Contact Buttons - WhatsApp & Telegram */

.floating-contact-buttons {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

.floating-contact-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    border: none;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.1);
}

.floating-contact-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2), 0 3px 8px rgba(0, 0, 0, 0.15);
}

.floating-contact-btn:active {
    transform: scale(1.05);
}

/* WhatsApp Button */
.floating-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #1DA851 100%);
}

.floating-whatsapp:hover {
    background: linear-gradient(135deg, #1DA851 0%, #128C39 100%);
}

/* Telegram Button */
.floating-telegram {
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
}

.floating-telegram:hover {
    background: linear-gradient(135deg, #006699 0%, #004466 100%);
}

/* Icon Styling */
.floating-contact-btn svg {
    width: 28px;
    height: 28px;
    fill: white;
}

/* Tooltip on hover */
.floating-contact-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 70px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.floating-contact-btn:hover::before {
    opacity: 1;
}

/* Animation entrance */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.floating-contact-buttons .floating-whatsapp {
    animation: slideInUp 0.5s ease-out;
}

.floating-contact-buttons .floating-telegram {
    animation: slideInUp 0.5s ease-out 0.1s backwards;
}

/* Responsive - Mobile optimization */
@media (max-width: 768px) {
    .floating-contact-btn::before {
        display: none;
    }
    
    .floating-contact-buttons {
        bottom: 16px;
        right: 16px;
        gap: 10px;
    }
    
    .floating-contact-btn {
        width: 50px;
        height: 50px;
    }
    
    .floating-contact-btn svg {
        width: 24px;
        height: 24px;
    }
}
