/* Custom styles for Abundance Spa & Rehab */

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

/* Floating card animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes float-delayed {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.floating-card {
  animation: float 4s ease-in-out infinite;
}

.floating-card-delayed {
  animation: float-delayed 4.5s ease-in-out infinite;
  animation-delay: 1s;
}

/* Reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Default state: always visible (no JS required) */
.reveal {
  opacity: 1;
  transform: translateY(0);
}

/* Navbar scroll state */
.navbar-scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

/* Custom selection color */
::selection {
  background: #0d9488;
  color: white;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

/* Image hover effects */
.group:hover .group-hover\\:scale-110 {
  transform: scale(1.1);
}

/* Print styles */
@media print {
  nav, #backToTop, button {
    display: none !important;
  }
}
