/* Contact Widget */
.contact-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
}

.contact-button:hover {
    transform: scale(1.1);
    color: white;
    text-decoration: none;
}

.contact-button.whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.contact-button.phone {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
}

.contact-button.call-now {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.contact-button svg {
    width: 28px;
    height: 28px;
}

.contact-button .button-text {
    position: absolute;
    right: 70px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.contact-button:hover .button-text {
    opacity: 1;
    visibility: visible;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-widget {
        bottom: 15px;
        right: 15px;
    }

    .contact-button {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .contact-button svg {
        width: 24px;
        height: 24px;
    }

    .contact-button .button-text {
        right: 60px;
        background: rgba(0, 0, 0, 0.9);
        font-size: 12px;
        padding: 6px 10px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        transform: translateX(10px);
    }

    /* Mobile scroll states */
    .contact-widget.scrolling .contact-button .button-text {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    .contact-widget.scroll-stopped .contact-button .button-text {
        opacity: 0;
        visibility: hidden;
        transform: translateX(10px);
        transition-delay: 0.3s;
    }

    /* Touch device support */
    .contact-button:active .button-text {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }
}
