/* Ortak Akıl (button-contact-vr) stili — WhatsApp + Telefon */
#button-contact-vr {
  position: fixed;
  right: 0;
  left: auto;
  bottom: 0;
  z-index: 99999;
}
#button-contact-vr .button-contact {
  position: relative;
  margin-top: -5px;
}
#button-contact-vr .button-contact .phone-vr {
  position: relative;
  visibility: visible;
  background-color: transparent;
  width: 90px;
  height: 90px;
  cursor: pointer;
  z-index: 11;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  transition: visibility 0.5s;
  left: 0;
  bottom: 0;
  display: block;
}
.phone-vr-circle-fill {
  width: 65px;
  height: 65px;
  top: 12px;
  left: 12px;
  position: absolute;
  box-shadow: 0 0 0 0 #c31d1d;
  background-color: rgba(230, 8, 8, 0.7);
  border-radius: 50%;
  border: 2px solid transparent;
  animation: phone-vr-zoom 1.3s infinite;
  transition: all 0.5s;
  transform-origin: 50% 50%;
}
.phone-vr-img-circle {
  background-color: #e60808;
  width: 40px;
  height: 40px;
  line-height: 40px;
  top: 25px;
  left: 25px;
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  animation: phone-vr-shake 1s infinite ease-in-out;
}
.phone-vr-img-circle a {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 37px;
  position: relative;
}
.phone-vr-img-circle img {
  max-height: 25px;
  max-width: 27px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* WhatsApp — yeşil */
#whatsapp-vr .phone-vr-circle-fill {
  box-shadow: 0 0 0 0 #1fd744;
  background-color: rgba(35, 217, 72, 0.7);
}
#whatsapp-vr .phone-vr-img-circle {
  background: #1cd741;
}
#whatsapp-vr .phone-vr-img-circle img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 50%;
}

/* Telefon — mavi */
#phone-vr .phone-vr-circle-fill,
#phone-vr .phone-vr-img-circle {
  background-color: #1e73be;
}
#phone-vr .phone-vr-circle-fill {
  opacity: 0.7;
  box-shadow: 0 0 0 0 #1e73be;
}

@keyframes phone-vr-zoom {
  0% { transform: scale(0.9); }
  70% { transform: scale(1); box-shadow: 0 0 0 15px transparent; }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 transparent; }
}
@keyframes phone-vr-shake {
  0% { transform: rotate(0) scale(1) skew(1deg); }
  10% { transform: rotate(-25deg) scale(1) skew(1deg); }
  20% { transform: rotate(25deg) scale(1) skew(1deg); }
  30% { transform: rotate(-25deg) scale(1) skew(1deg); }
  40% { transform: rotate(25deg) scale(1) skew(1deg); }
  50%,
  100% { transform: rotate(0) scale(1) skew(1deg); }
}

@media (prefers-reduced-motion: reduce) {
  .phone-vr-circle-fill,
  .phone-vr-img-circle {
    animation: none;
  }
}

/* Eski sağ alt butonları gizle — çift görünmesin */
body:has(#button-contact-vr) .yd-call-float,
body:has(#button-contact-vr) .whatsapp-float,
body:has(#button-contact-vr) .yd-wa-float,
body:has(#button-contact-vr) #whatsapp-float,
body:has(#button-contact-vr) #yd-call-float {
  display: none !important;
}
