/* Custom styles beyond Tailwind */
html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

/* Gold gradient animation for hero text */
@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

.gold-text {
  background: linear-gradient(90deg, #c9a84c, #e0ca72, #c9a84c);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

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

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

::-webkit-scrollbar-thumb {
  background: #c9a84c;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #e0ca72;
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid #c9a84c;
  outline-offset: 2px;
}

/* Ensure all interactive elements are keyboard accessible */
button,
a,
input,
textarea,
select {
  &:focus-visible {
    outline: 2px solid #c9a84c;
    outline-offset: 2px;
  }
}

/* Prevent layout shift on images */
img {
  max-width: 100%;
  height: auto;
}

/* Smooth transitions for all interactive elements */
a,
button,
input,
textarea,
select {
  transition: all 0.3s ease;
}

/* Mobile menu animations */
@media (max-width: 767px) {
  .mobile-menu {
    position: fixed;
    top: 80px;
    right: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(10, 15, 30, 0.98);
    backdrop-filter: blur(10px);
    z-index: 40;
    padding: 2rem;
  }
  
  .mobile-menu.open {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .mobile-menu:not(.open) {
    display: none;
  }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .gold-text {
    -webkit-text-fill-color: #c9a84c !important;
  }
}
