.whatsapp-button {
    position: fixed;
    bottom: 50px;
    left: 25px;
    width: 50px;
    height: 50px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

    .whatsapp-button:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 25px rgba(37, 211, 102, 0.7);
    }

    .whatsapp-button svg {
        width: 28px;
        height: 28px;
        fill: white;
    }

/* Tooltip (açıklama) için stil - SAĞ TARAFTA */
.whatsapp-tooltip {
    position: absolute;
    top: 50%;
    left: 40px; /* Butonun sağ tarafında */
    transform: translateY(-50%);
    background-color: #25D366; /* WhatsApp rengi */
    color: white;
    padding: 10px 15px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    z-index: 1001;
}

    .whatsapp-tooltip::after {
        content: '';
        position: absolute;
        top: 50%;
        right: 99%; /* Ok tooltip'in solunda */
        transform: translateY(-50%);
        border-width: 8px;
        border-style: solid;
        border-color: transparent #25D366 transparent transparent;
    }

.whatsapp-button:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    left: 60px; /* Hafifçe kayarak gelmesi için */
}

/* Animasyon efekti */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-button {
    animation: pulse 2.5s infinite;
}

/* Responsive tasarım */
@media (max-width: 768px) {
    .whatsapp-button {
        width: 60px;
        height: 60px;
        bottom: 50px;
        left: 20px;
    }

        .whatsapp-button svg {
            width: 32px;
            height: 32px;
        }

    .whatsapp-tooltip {
        font-size: 14px;
        padding: 8px 12px;
    }
}
