/* Container: Butonu sağ alta sabitliyoruz */
.whatsapp-sabit-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
}

/* WhatsApp Butonunun Kendisi */
.whatsapp-sabit-btn {
    background-color: #25D366; /* Orijinal WhatsApp Yeşili */
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    position: relative;
    transition: all 0.3s ease;
}

.whatsapp-sabit-btn:hover {
    transform: scale(1.08);
    color: #fff;
}

/* === SİREN (DALGA) ANİMASYONU === */
.whatsapp-sabit-btn::before,
.whatsapp-sabit-btn::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 2px solid #25D366;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    animation: whatsapp-siren 2s infinite ease-out;
    opacity: 0;
    z-index: -1;
}

.whatsapp-sabit-btn::after {
    animation-delay: 1s; 
}

@keyframes whatsapp-siren {
    0% { transform: scale(0.9); opacity: 1; border-width: 2px; }
    100% { transform: scale(1.6); opacity: 0; border-width: 0; }
}

/* === BİLGİ KUTUCUĞU (TOOLTIP) === */
.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background-color: #161616;
    color: #fff;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateX(15px);
    transition: all 0.3s ease;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent #161616;
}

.whatsapp-sabit-container:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* ========================================== */
/* === MOBİL TASARIMI (Hizalama Revize) === */
/* ========================================== */
@media (max-width: 768px) {
    .whatsapp-sabit-container {
        bottom: 20px;
        right: 25px !important; /* Kaymayı önlemek için 30'dan 25'e çektik */
        left: auto;
        width: auto;
    }
    
    .whatsapp-sabit-btn {
        width: 55px;
        height: 55px;
        font-size: 30px;
    }

    .whatsapp-tooltip {
        display: none; 
    }
}