/* Floating WhatsApp Button Styles */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  transition: all 0.3s ease;
}

.floating-whatsapp a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.whatsapp-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--electric-blue), #0044cc);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
  transition: all 0.3s ease;
}

.whatsapp-icon svg {
  width: 30px;
  height: 30px;
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--cinematic-black);
  color: white;
  padding: 8px 15px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.floating-whatsapp:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  right: 80px;
}

.floating-whatsapp:hover .whatsapp-icon {
  background: linear-gradient(135deg, var(--sunset-orange), #cc5200);
  transform: scale(1.1);
}

/* Pulse Animation */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(0, 102, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 102, 255, 0); }
}

.whatsapp-icon {
  animation: pulse 2s infinite;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
  }
  
  .whatsapp-icon {
    width: 50px;
    height: 50px;
  }
  
  .whatsapp-icon svg {
    width: 25px;
    height: 25px;
  }
}

// File: assets/js/copyright-year.js
document.addEventListener('DOMContentLoaded', function() {
  const currentYear = new Date().getFullYear();
  
  // Update all copyright elements
  document.querySelectorAll('[data-copyright-year]').forEach(element => {
    element.textContent = currentYear;
  });
  
  // Alternative: Update by ID
  const yearElement = document.getElementById('current-year');
  if (yearElement) {
    yearElement.textContent = currentYear;
  }
});