﻿.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

    /* Scroll olunca yukarı kay */
    .whatsapp-button.scrolled {
        bottom: 130px;
    }

    .whatsapp-button:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
    }

    .whatsapp-button svg {
        width: 32px;
        height: 32px;
        fill: white;
    }

@@media (max-width: 768px) {
    .whatsapp-button {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
    }

        .whatsapp-button.scrolled {
            bottom: 120px;
        }

        .whatsapp-button svg {
            width: 28px;
            height: 28px;
        }
}

.whatsapp-button::before {
    position: absolute;
    right: 70px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-family: Arial, sans-serif;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.whatsapp-button:hover::before {
    opacity: 1;
}
