/* Custom styles supplementing Tailwind */

/* Smooth focus visible outlines */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 1px solid rgba(131, 28, 52, 0.5);
  outline-offset: 2px;
}

/* Subtle selection color */
::selection {
  background: rgba(131, 28, 52, 0.15);
  color: #3a2e28;
}

/* Ensure hero is always visible */
.hero-bg {
  min-height: 100vh;
}

/* Mobile menu animation fix */
#mobile-menu {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease;
}
#mobile-menu.open {
  max-height: 400px;
  opacity: 1;
}
#mobile-menu.closed {
  max-height: 0;
  opacity: 0;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #f7f3ef;
}
::-webkit-scrollbar-thumb {
  background: rgba(131, 28, 52, 0.3);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(131, 28, 52, 0.5);
}

/* Reduced motion: ensure content is always visible */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  html {
    scroll-behavior: auto;
  }
  .site-card:hover {
    transform: none;
  }
  img:hover {
    transform: none;
  }
}
