/* Custom styles that complement Tailwind */

/* Smooth scroll offset for fixed nav */
html {
  scroll-padding-top: 80px;
}

/* Selection color */
::selection {
  background: rgba(232, 160, 57, 0.3);
  color: #f5f5f7;
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid rgba(232, 160, 57, 0.5);
  outline-offset: 2px;
}

/* Reduce motion preference */
@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 {
  .nav-glass,
  .mobile-menu,
  #hero .float-1,
  #hero .float-2,
  #hero .float-3 {
    display: none !important;
  }
  body {
    background: white;
    color: black;
  }
}

/* Subtle grain texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  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");
  z-index: 9999;
}
