/* GENEL TASARIM */
.bk-iletisim-ara,
.bk-iletisim-whatsapp {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1111;
  cursor: pointer;
  text-decoration: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  will-change: transform, box-shadow;
}

/* HEMEN ARA BUTONU */
.bk-iletisim-ara {
  bottom: 3%;
  left: 20px;
  background: linear-gradient(145deg, #212121 0%, #2f2f2f 100%);
  color: #ffffff;
  border-radius: 40px;
  height: 50px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 600;
  gap: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.25s ease;
  opacity: 0;
  animation: slideUpFade 0.7s ease-out forwards;
}

.bk-iletisim-ara:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.bk-iletisim-ara:active {
  transform: translateY(-2px) scale(1);
}

/* Hemen Ara metni */
.bk-iletisim-ara span {
  color: #ffffff;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  user-select: none;
}

/* Hemen Ara ikonu */
.bk-iletisim-ara .bk-iletisim-icon {
  background-color: #25D366;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  font-size: 1.5rem;
  position: relative;
  z-index: 2;
  animation: ringBell 1.2s infinite ease-in-out;
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.8);
}

/* İkonun içindeki SVG veya font ikonu */
.bk-iletisim-ara .bk-iletisim-icon i,
.bk-iletisim-ara .bk-iletisim-icon svg {
  color: #ffffff !important;
  fill: #ffffff !important;
}

/* İkonun etrafındaki halkalar */
.bk-iletisim-ara .bk-iletisim-icon::before,
.bk-iletisim-ara .bk-iletisim-icon::after,
.bk-iletisim-ara .bk-iletisim-icon .green-ring {
  content: '';
  position: absolute;
  border-radius: 50%;
  transform-origin: center;
  z-index: 1;
}

.bk-iletisim-ara .bk-iletisim-icon::before {
  width: 85px;
  height: 85px;
  top: -24px;
  left: -24px;
  border: 2px solid #f7bc3c; /* Sarı halka */
  animation: pulseRing 1.2s infinite ease-in-out;
  opacity: 0.5;
}

.bk-iletisim-ara .bk-iletisim-icon .green-ring {
  width: 70px;
  height: 70px;
  top: -17px;
  left: -17px;
  border: 2px solid rgba(37, 211, 102, 1); /* Yeşil daha belirgin */
  animation: pulseGreenRing 1.2s infinite ease-in-out;
  opacity: 0.7; /* Opaklık artırıldı */
}

.bk-iletisim-ara .bk-iletisim-icon::after {
  width: 55px;
  height: 55px;
  top: -9px;
  left: -9px;
  background-color: rgba(37, 211, 102, 0.2);
  border: 2px solid transparent;
  animation: expandRing 2.3s infinite ease-in-out;
}

/* WHATSAPP BUTONU */
.bk-iletisim-whatsapp {
  bottom: 3%;
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  background-color: #128c7e;
}

.bk-iletisim-whatsapp:hover {
  transform: scale(1.1);
}

.bk-iletisim-whatsapp:active {
  transform: scale(1.05);
}

/* WHATSAPP İKON */
.bk-iletisim-whatsapp .bk-iletisim-icon {
  color: #fff;
  font-size: 2rem;
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: pulse 1.5s infinite;
}

/* Erişilebilirlik */
.bk-iletisim-ara:focus-visible,
.bk-iletisim-whatsapp:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

/* Responsive Tasarım */
@media (max-width: 600px) {
  .bk-iletisim-ara {
    bottom: 5%;
    height: 46px;
    padding: 0 18px;
    font-size: 13px;
  }

  .bk-iletisim-ara .bk-iletisim-icon {
    width: 32px;
    height: 32px;
    font-size: 1.3rem;
  }

  .bk-iletisim-ara .bk-iletisim-icon::before {
    width: 70px;
    height: 70px;
    top: -19px;
    left: -19px;
  }

  .bk-iletisim-ara .bk-iletisim-icon .green-ring {
    width: 60px;
    height: 60px;
    top: -14px;
    left: -14px;
  }

  .bk-iletisim-ara .bk-iletisim-icon::after {
    width: 45px;
    height: 45px;
    top: -6px;
    left: -6px;
  }

  .bk-iletisim-whatsapp {
    bottom: 5%;
    width: 50px;
    height: 50px;
  }

  .bk-iletisim-whatsapp .bk-iletisim-icon {
    width: 30px;
    height: 30px;
    font-size: 1.8rem;
  }
}

/* TOOLTIP TASARIMI */
.bt-tooltip .bt-tooltip-text {
  visibility: hidden;
  width: 140px;
  background: #333333;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px 14px;
  position: absolute;
  z-index: 10;
  top: 50%;
  right: 70px;
  transform: translateY(-50%);
  font-size: 13px;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.bt-tooltip:hover .bt-tooltip-text {
  visibility: visible;
  opacity: 1;
}

.bt-tooltip .bt-tooltip-text::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -6px;
  transform: translateY(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent #333333 transparent transparent;
}

/* ANİMASYONLAR */
@keyframes slideUpFade {
  0% { opacity: 0; transform: translateY(25px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes pulseRing {
  0% { transform: scale(0.5); opacity: 0.1; }
  30% { transform: scale(0.65); opacity: 0.5; } /* Daha az büyüme */
  100% { transform: scale(0.5); opacity: 0.1; }
}

@keyframes pulseGreenRing {
  0% { transform: scale(0.5); opacity: 0.3; }
  30% { transform: scale(0.7); opacity: 0.7; } /* Daha belirgin */
  100% { transform: scale(0.5); opacity: 0.3; }
}

@keyframes expandRing {
  0% { transform: scale(0.7); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 0.3; }
  100% { transform: scale(0.7); opacity: 0.6; }
}

@keyframes ringBell {
  0%, 100% { transform: rotate(0) scale(1); }
  10% { transform: rotate(-15deg) scale(1.05); }
  20% { transform: rotate(15deg) scale(1.05); }
  30% { transform: rotate(-15deg) scale(1.05); }
  40% { transform: rotate(15deg) scale(1.05); }
  50% { transform: rotate(0) scale(1); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}