/* Custom styles for Pelham Feed & Seed */

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

/* Selection color */
::selection {
  background: #d95a30;
  color: #fefdf8;
}

/* Subtle grain texture overlay on hero */
#top::before {
  content: '';
  position: absolute;
  inset: 0;
  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)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #fdf9ee;
}
::-webkit-scrollbar-thumb {
  background: #d95a30;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #c2451f;
}

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

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  img.group-hover\:scale-105 {
    transition: none;
  }
  #mobileMenu {
    animation: none;
  }
}
