/* Custom styles for Saddlebrooke Ranch */

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

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

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

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

.floating-card {
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.animate-float-slow {
  animation-name: float-slow;
  animation-duration: 6s;
}

.animate-float-medium {
  animation-name: float-medium;
  animation-duration: 5s;
}

.animate-float-fast {
  animation-name: float-fast;
  animation-duration: 4s;
}

/* Scroll reveal animations - only for below-fold content */
@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .floating-card,
  .animate-float-slow,
  .animate-float-medium,
  .animate-float-fast,
  .animate-bounce {
    animation: none;
  }
}

/* Navbar scroll state */
.navbar-scrolled {
  background: rgba(253, 244, 246, 0.95) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(104, 29, 46, 0.08);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
  background: #96263e;
}

/* Selection color */
::selection {
  background: #fde68a;
  color: #3a0e17;
}
