/* Custom styles for Smokestack Trading Post */

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

/* Selection color */
::selection {
  background-color: rgba(212, 168, 67, 0.3);
  color: #f0f0f0;
}

/* Scroll reveal base - content always visible by default */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Only apply hidden state when JS is active and prefers-reduced-motion allows */
@media (prefers-reduced-motion: no-preference) {
  .reveal.is-hidden {
    opacity: 0;
    transform: translateY(30px);
  }
}

/* Navbar scroll state */
.navbar-scrolled {
  background-color: rgba(5, 13, 26, 0.95) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 168, 67, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Gold gradient text utility */
.text-gold-gradient {
  background: linear-gradient(135deg, #e0b85a 0%, #d4a843 50%, #b8922e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Button focus styles */
a:focus-visible, button:focus-visible {
  outline: 2px solid #d4a843;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Image hover effects */
img {
  max-width: 100%;
  height: auto;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #050d1a;
}
::-webkit-scrollbar-thumb {
  background: #1a3a5c;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #d4a843;
}

/* Mobile menu transitions */
#mobileMenu {
  transition: opacity 0.4s ease, pointer-events 0.4s ease;
}
#mobileMenu.open {
  opacity: 1;
  pointer-events: all;
}

/* Map container dark overlay for better contrast */
iframe[src*="google.com/maps"] {
  border-radius: 0 0 1rem 1rem;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .font-display {
    line-height: 1.15;
  }
}
