/* CSS (ör. custom.css veya benzeri) */

/* Kapsayıcı */
#whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
}

/* Buton Kendisi */
#whatsapp .wtsapp {
    position: relative;
    display: inline-flex;   /* inline-block da olabilir */
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #25d366;    /* WhatsApp yeşili */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    transition: transform .5s ease;
    text-decoration: none;
    color: #fff;            /* Metin ve ikon rengi beyaz */
}

/* İkon Boyutu */
#whatsapp .wtsapp i {
    font-size: 24px; /* 24px ikon, 50x50 butonda ideal */
}

/* Hover Efekti (isteğe bağlı) */
#whatsapp .wtsapp:hover {
    transform: scale(1.1);
}

/* Odak (focus) Kenarlığı Kaldırma */
#whatsapp .wtsapp:focus {
    border: 0;
    outline: 0;
}

/* Pulse Animasyonu */
#whatsapp .wtsapp::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    animation: pulse-border 1.5s ease-out infinite;
}

@keyframes pulse-border {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* Telefon Butonu Kapsayıcısı */
#phonecall {
    position: fixed;
    bottom: 100px; /* Dilerseniz 30px yaparak sol alt köşeye koyabilirsiniz */
    left: 30px;
    z-index: 999;
}

/* Buton Kendisi */
#phonecall .callbtn {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #28a745; /* Yeşil (Bootstrap'ın success rengi) */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    transition: transform .5s ease;
    text-decoration: none;
    color: #fff; /* İkonun rengi beyaz */
}

/* İkon Boyutu */
#phonecall .callbtn i {
    font-size: 24px; /* 50x50 buton için ideal */
}

/* Hover Efekti (isteğe bağlı) */
#phonecall .callbtn:hover {
    transform: scale(1.1);
}

/* Odak (focus) Kenarlığı Kaldırma */
#phonecall .callbtn:focus {
    border: 0;
    outline: 0;
}

/* Pulse Animasyonu */
#phonecall .callbtn::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #28a745;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    animation: pulse-border 1.5s ease-out infinite;
}

@keyframes pulse-border {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}
