/* Custom styles that complement Tailwind CDN */

/* Ensure navbar doesn't overlap content */
header {
  z-index: 50;
}

/* Smooth image loading */
img {
  image-rendering: auto;
}

/* Prevent content jump on mobile */
html {
  overflow-x: hidden;
}

/* Custom selection color */
::selection {
  background-color: #d4522e;
  color: #fff;
}

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

/* Button focus for keyboard nav */
button:focus-visible,
a:focus-visible {
  outline: 2px solid #d4522e;
  outline-offset: 2px;
  border-radius: 0.5rem;
}

/* 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;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Print styles */
@media print {
  header, #contact, .btn-primary { display: none; }
  body { color: #000; background: #fff; }
  a { color: #000; }
}

/* Ultra-wide screens */
@media (min-width: 1920px) {
  .max-w-7xl { max-width: 80rem; }
}

/* Very small screens */
@media (max-width: 360px) {
  .font-display { font-size: 0.875rem; }
  h1 { font-size: 1.75rem !important; }
  h2 { font-size: 1.5rem !important; }
}
