/* ==========================================================================
   WHATSAPP-FLOAT.CSS — Verhuislifthuren.nl
   Zwevende WhatsApp-knop rechtsonder op alle pagina's
   ========================================================================== */

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 998;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.whatsapp-float:active {
  transform: scale(0.95);
}

.whatsapp-float svg {
  width: 38px;
  height: 38px;
  fill: #fff;
}

/* Subtiele pulse animatie om aandacht te trekken */
.whatsapp-float::after {
  content: '';
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #25D366;
  z-index: -1;
  animation: whatsapp-pulse 2s ease-out infinite;
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(1);
    opacity: 0.4;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Tooltip bij hover */
.whatsapp-float-tooltip {
  position: absolute;
  right: 84px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: #333;
  font-family: var(--font-body, 'Open Sans', sans-serif);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.whatsapp-float:hover .whatsapp-float-tooltip {
  opacity: 1;
}

/* Tooltip pijltje */
.whatsapp-float-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid #fff;
}

/* Mobiel: boven de sticky CTA balk plaatsen */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 72px;
    right: 16px;
    width: 64px;
    height: 64px;
  }

  .whatsapp-float::after {
    width: 64px;
    height: 64px;
  }

  .whatsapp-float svg {
    width: 34px;
    height: 34px;
  }

  .whatsapp-float-tooltip {
    display: none;
  }
}
