/* 🔹 WhatsApp Floating Button (Global) */
#zero-wa-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
}

#zero-wa-float a {
  text-decoration: none !important; /* 💥 alt çizgiyi kaldırır */
}

#zero-wa-float .wa-container {
  display: flex;
  align-items: center;
  background-color: #25D366;
  color: white;
  padding: 12px 18px;
  border-radius: 50px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  animation: bounce 8s ease-in-out infinite; /* bounce animasyonu */
}

/* Hover ve focus durumunda da çizgi olmasın */
#zero-wa-float a:hover,
#zero-wa-float a:focus {
  text-decoration: none !important;
}

#zero-wa-float .wa-container:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 14px rgba(0,0,0,0.3);
  animation: none;
}

/* WhatsApp ikonu */
#zero-wa-float .fa-whatsapp {
  font-size: 26px;
  /* margin-right: 8px; */
  
}

/* Telefon numarası */
#zero-wa-float .wa-number {
  font-weight: bold;
  font-size: 14px;
}

@media (max-width: 768px) {
  #zero-wa-float .wa-number {
    display: none;
  }
}

/* 🔹 Bounce Animasyonu */
@keyframes bounce {
  0%, 90%, 100% { transform: translateY(0); }
  92% { transform: translateY(-6px); }
  94% { transform: translateY(0); }
  96% { transform: translateY(-3px); }
  98% { transform: translateY(0); }
}

/* 🔹 Shine (parlama) efekti */
#zero-wa-float .wa-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.4) 50%,
    rgba(255,255,255,0) 100%
  );
  animation: shine 10s ease-in-out infinite;
}

/* Shine animasyonu tanımı */
@keyframes shine {
  0% { left: -75%; }
  4% { left: 125%; }
  100% { left: 125%; }
}

/* Hover sırasında shine'ı da durdur */
#zero-wa-float .wa-container:hover::after {
  animation: none;
}

/* Mobilde animasyonları kapat */
@media (max-width: 768px) {
  #zero-wa-float .wa-container {
    animation: none;
  }
  #zero-wa-float .wa-container::after {
    animation: none;
  }
}
