/* Mercedes Lodge #1010 — Custom Styles */

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

/* Base text color for light backgrounds */
body {
  color: #0A1628;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #F7F8FC;
}
::-webkit-scrollbar-thumb {
  background: #D49A2A;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #B87D1E;
}

/* Selection color */
::selection {
  background: #D49A2A;
  color: #0A1628;
}

/* Navbar transitions */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #D49A2A;
  transition: width 0.3s ease;
}
.nav-link:hover::after {
  width: 100%;
}

/* Mobile menu link transitions */
.mobile-link {
  position: relative;
}

/* Scroll reveal animations */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.hidden-reveal {
  opacity: 0;
  transform: translateY(24px);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal.hidden-reveal {
    opacity: 1;
    transform: translateY(0);
  }
  html {
    scroll-behavior: auto;
  }
  .group:hover img {
    transform: none;
  }
}

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

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

/* Apply subtle float to stat cards */
@media (prefers-reduced-motion: no-preference) {
  .absolute.top-0.right-0 {
    animation: float 6s ease-in-out infinite;
  }
  .absolute.top-32.right-20 {
    animation: float-delayed 7s ease-in-out infinite 1s;
  }
  .absolute.top-72.right-0 {
    animation: float 5.5s ease-in-out infinite 0.5s;
  }
  .absolute.bottom-16.right-24 {
    animation: float-delayed 6.5s ease-in-out infinite 1.5s;
  }
  .absolute.bottom-0.right-4 {
    animation: float 7s ease-in-out infinite 2s;
  }
}
