/* Custom styles for Furr-Ever Friendz */

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

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

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

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-float-delayed {
  animation: float-delayed 3.5s ease-in-out infinite;
  animation-delay: 0.5s;
}

/* Reveal on scroll — progressive enhancement */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

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

/* Navbar scroll effect */
nav.scrolled {
  box-shadow: 0 4px 20px rgba(16, 42, 67, 0.1);
}

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

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

::-webkit-scrollbar-thumb {
  background: #88eac0;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #4fd3a0;
}

/* Selection color */
::selection {
  background: #def7ec;
  color: #102a43;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
  outline: 3px solid #88eac0;
  outline-offset: 2px;
  border-radius: 4px;
}
