/* Custom styles that extend Tailwind */

/* Smooth scroll offset for fixed nav */
section[id] {
  scroll-margin-top: 80px;
}

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

.gold-gradient-text {
  background: linear-gradient(
    90deg,
    #FFD770 0%,
    #D4A017 25%,
    #FFD770 50%,
    #B8860B 75%,
    #FFD770 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 6s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .gold-gradient-text {
    animation: none;
    background: #D4A017;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
}

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Selection color */
::selection {
  background: rgba(212, 160, 23, 0.3);
  color: #F5F0E8;
}

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

/* Print styles */
@media print {
  body { background: white; color: black; }
  .btn-gold, .btn-outline-gold { background: #333; color: white; }
}
