/* Stili base per il pulsante WhatsApp */
.whatsapp-button {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    background-color: #25D366;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
    max-width: 200px;
}

/* Icona dentro il pulsante */
.whatsapp-button img {
    width: 18px;
    height: 18px;
    margin-right: 8px;
}

/* Effetto hover */
.whatsapp-button:hover {
    background-color: #1ebe57;
    transform: scale(1.05);
}

/* Effetto pulsazione */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}
.whatsapp-button {
    animation: pulse 2s infinite;
}

/* Effetto di scorrimento */
@keyframes slideIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}
.whatsapp-button {
    animation: slideIn 0.8s ease-out;
}

/* Responsività su mobile */
@media screen and (max-width: 600px) {
    .whatsapp-button {
        width: 100%;
        text-align: center;
        justify-content: center;
        font-size: 14px;
        padding: 6px 10px;
    }

    .whatsapp-button img {
        width: 16px;
        height: 16px;
    }
}