/* Custom styles beyond Tailwind */

html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ensure all text has strong contrast */
.card-hover h3,
.card-hover p {
  color: inherit;
}

/* Subtle pattern on sand sections */
.bg-sand-50 {
  background-image: radial-gradient(circle at 1px 1px, rgba(0,0,0,0.03) 1px, transparent 0);
  background-size: 24px 24px;
}

/* Focus visible for accessibility */
*:focus-visible {
  outline: 2px solid #c23714;
  outline-offset: 2px;
}

/* Mobile menu animation */
#mobile-menu {
  animation: slideDown 0.2s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #fdf8ec;
}
::-webkit-scrollbar-thumb {
  background: #d9c4a0;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #c23714;
}
