/* Custom styles for Indian Springs Volunteer Fire Department */

/* Ensure smooth rendering of serif headings */
h1, h2, h3, h4 {
  text-rendering: optimizeLegibility;
}

/* Subtle selection color */
::selection {
  background: rgba(255, 107, 68, 0.3);
  color: #f6f6f7;
}

/* Focus visible for keyboard navigation */
*:focus-visible {
  outline: 2px solid #ff6b44;
  outline-offset: 2px;
}

/* Smooth image rendering */
img {
  -webkit-font-smoothing: antialiased;
}

/* Prevent layout shift on select elements */
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239b9da4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Print styles */
@media print {
  header, footer, .reveal, #menu-btn {
    display: none !important;
  }
  body {
    background: #fff !important;
    color: #1f2023 !important;
  }
  a {
    color: #1f2023 !important;
  }
}
