/* Custom styles that complement Tailwind */

/* Smooth focus outlines for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #ff5a20;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Ensure images don't cause layout shift */
img {
  max-width: 100%;
  height: auto;
}

/* Subtle scrollbar for webkit */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f7f7f7;
}
::-webkit-scrollbar-thumb {
  background: #d4d4d4;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a3a3a3;
}

/* Selection color */
::selection {
  background: #ff5a20;
  color: #fff;
}

/* Mobile menu animation */
#mobileMenu {
  animation: slideDown 0.25s ease-out;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Nav scroll state */
#nav.scrolled {
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
