/* Enhanced Footer Styles */

footer {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%) !important;
  position: relative;
  overflow: hidden;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

/* Decorative top border */
footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #3b82f6, #8b5cf6, #ec4899, transparent);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

/* Footer link styles */
footer a:not(.whatsapp-float) {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

footer a:not(.whatsapp-float):hover {
  color: #3b82f6;
  transform: translateY(-1px);
}

/* Email links */
footer a[href^="mailto"] {
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

footer a[href^="mailto"]:hover {
  color: #60a5fa !important;
  border-bottom-color: #60a5fa;
}

/* Phone links */
footer a[href^="tel"] {
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

footer a[href^="tel"]:hover {
  color: #10b981 !important;
  border-bottom-color: #10b981;
}

/* Address links */
footer a[href*="google.com/maps"] {
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

footer a[href*="google.com/maps"]:hover {
  color: #8b5cf6 !important;
  border-bottom-color: #8b5cf6;
}

/* Social media icons in footer */
footer svg {
  transition: all 0.3s ease;
}

footer a:hover svg {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.5));
}

/* Footer text enhancement */
footer h3, footer h4, footer h5 {
  background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

/* Subtle animation for footer content */
footer > * {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  footer {
    padding: 2rem 1rem !important;
  }
  
  footer a[href^="mailto"]::before,
  footer a[href^="tel"]::before,
  footer a[href*="google.com/maps"]::before {
    content: '';
    opacity: 1;
  }
}

/* Add subtle pattern background */
footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

footer > * {
  position: relative;
  z-index: 1;
}
