/* Custom Styles for Clínica Dental Art & Esthetic */

/* Hero Section Pattern */
.hero-pattern {
  background-color: #ffffff;
  background-image: radial-gradient(#e5e7eb 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Google Maps Container */
.map-container {
  width: 100%;
  height: 100%;
  border-radius: 16px;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection Color */
::selection {
  background-color: #0ea5e9;
  color: white;
}

/* Custom Scrollbar (optional) */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #0284c7;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0c4a6e;
}

/* Improved Text Contrast for Accessibility */
.text-slate-500 {
  color: #64748b !important; /* Darker than default for better readability */
}

.text-slate-400 {
  color: #94a3b8 !important;
}

/* Ensure sufficient contrast for links */
a.hover\:text-brand-600:hover {
  color: #0284c7 !important;
}

/* Scroll-to-top button animation */
#scroll-to-top {
  transition: all 0.3s ease;
}

#scroll-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.2), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Pulse animation for WhatsApp button */
@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.pulse-animation {
  animation: pulse-ring 2s infinite;
}

/* Gradient text effect */
.gradient-text {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Card hover effect */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Promo banner styles */
.promo-banner {
  animation: slideInDown 0.5s ease-out;
}

@keyframes slideInDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Fade in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* Social share button effects */
.social-share-btn {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-share-btn:hover {
  transform: translateY(-2px) scale(1.05);
}

.social-share-btn:active {
  transform: translateY(0) scale(0.98);
}

