/* Custom styles for Linton Elks #866 */

/* Floating card animations */
.floating-card {
  animation: float 6s ease-in-out infinite;
}

.card-1 {
  animation-delay: 0s;
}

.card-2 {
  animation-delay: -1.5s;
}

.card-3 {
  animation-delay: -3s;
}

.card-4 {
  animation-delay: -4.5s;
}

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

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

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
  }

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

/* Navbar scroll state */
.navbar-scrolled {
  background: rgba(8, 6, 10, 0.95) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 169, 110, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Gold gradient text utility */
.gold-gradient {
  background: linear-gradient(135deg, #e8d5a3, #C9A96E, #b8944f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

::-webkit-scrollbar-track {
  background: #0d0a10;
}

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

::-webkit-scrollbar-thumb:hover {
  background: #93162c;
}

/* Selection color */
::selection {
  background: rgba(123, 45, 59, 0.6);
  color: #fff;
}

/* Smooth focus states */
input:focus,
select:focus,
textarea:focus,
button:focus {
  outline: none;
}

/* Mobile menu transition */
#mobileMenu {
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Card hover glow effect */
.group:hover .group-hover\\:scale-105 {
  filter: drop-shadow(0 0 20px rgba(201, 169, 110, 0.15));
}

/* Subtle shimmer on gold elements */
@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* Button press effect */
button:active,
a:active {
  transform: scale(0.98);
}
