/* Custom styles for Heartland Auction Co */

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

/* Base font settings */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scroll reveal animations — progressive enhancement only */
.scroll-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  
  .scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

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

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

::-webkit-scrollbar-thumb:hover {
  background: #2d5e2d;
}

/* Navbar scroll state */
.navbar-scrolled {
  background: rgba(10, 10, 10, 0.95) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(200, 164, 90, 0.1);
}

/* Mobile menu transitions */
#mobile-menu {
  animation: slideDown 0.3s ease;
}

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

/* Selection color */
::selection {
  background: rgba(200, 164, 90, 0.3);
  color: #faf8f4;
}

/* Focus visible styles */
:focus-visible {
  outline: 2px solid #c8a45a;
  outline-offset: 2px;
}

/* Button hover effects */
a, button {
  transition: all 0.2s ease;
}

/* Image lazy loading placeholder */
img {
  background: linear-gradient(135deg, #1a1a1a 0%, #0f2412 100%);
}
