/* Custom styles beyond Tailwind CDN */

/* Smooth font rendering */
html, body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
  background: rgba(217, 90, 48, 0.2);
  color: #672818;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #fefcf7;
}
::-webkit-scrollbar-thumb {
  background: #d4cbbf;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #b8aa98;
}

/* Prevent layout shift on image load */
img {
  content-visibility: auto;
}

/* 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;
  }
}

/* Focus visible styles */
:focus-visible {
  outline: 2px solid #d95a30;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Print styles */
@media print {
  nav, .mobile-menu, #contactForm {
    display: none;
  }
  body {
    color: #000;
    background: #fff;
  }
}
