/* ===========================
   WHATSAPP BUTTONS
   =========================== */

/* Floating WhatsApp Button (Sticky rechtsonder) */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  border-radius: 50px;
  padding: 15px 25px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  z-index: 1000;
  transition: all 0.3s ease;
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
  background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
}

.whatsapp-icon {
  font-size: 1.8rem;
  animation: whatsapp-ring 3s infinite;
}

.whatsapp-text {
  font-family: var(--font-body);
  white-space: nowrap;
}

/* Pulse animation voor attention */
@keyframes whatsapp-pulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
  }
}

/* Ring animation voor icon */
@keyframes whatsapp-ring {
  0%, 100% {
    transform: rotate(0deg);
  }
  10%, 30% {
    transform: rotate(-10deg);
  }
  20%, 40% {
    transform: rotate(10deg);
  }
  50% {
    transform: rotate(0deg);
  }
}

/* WhatsApp in Contact Sectie */
.contact-item-whatsapp {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.1) 0%, rgba(18, 140, 126, 0.1) 100%);
  padding: 15px;
  border-radius: var(--radius-md);
  border: 2px solid rgba(37, 211, 102, 0.3);
  transition: var(--transition-fast);
}

.contact-item-whatsapp:hover {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.2) 0%, rgba(18, 140, 126, 0.2) 100%);
  border-color: rgba(37, 211, 102, 0.5);
  transform: translateX(5px);
}

.contact-item-whatsapp i {
  color: #25D366;
  font-size: 1.5rem;
}

.whatsapp-link {
  color: #128C7E;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-fast);
}

.whatsapp-link:hover {
  color: #25D366;
}

/* WhatsApp CTA Button (prominent in contact sectie) */
.whatsapp-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  padding: 18px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  margin: 20px 0;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}

.whatsapp-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
  background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
}

.whatsapp-cta i {
  font-size: 1.5rem;
  animation: whatsapp-bounce 2s infinite;
}

@keyframes whatsapp-bounce {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Responsive WhatsApp */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    padding: 12px 20px;
    font-size: 0.9rem;
  }
  
  .whatsapp-text {
    display: none; /* Alleen icoon op mobiel */
  }
  
  .whatsapp-float {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    padding: 0;
    justify-content: center;
  }
  
  .whatsapp-icon {
    font-size: 2rem;
  }
  
  .whatsapp-cta {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 15px 25px;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 15px;
    right: 15px;
    width: 55px;
    height: 55px;
  }
  
  .whatsapp-icon {
    font-size: 1.8rem;
  }
}
