/* Additional custom styles beyond Tailwind */

/* Smooth scroll offset for fixed nav */
section[id] {
  scroll-margin-top: 80px;
}

/* Selection color */
::selection {
  background-color: rgba(45, 90, 39, 0.2);
  color: #1a1a18;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #faf9f6;
}
::-webkit-scrollbar-thumb {
  background: #c8c4b8;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a09c90;
}

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

/* Print styles */
@media print {
  nav, .scroll-indicator, #mobileMenu, #menuOverlay {
    display: none !important;
  }
  body {
    background: white !important;
    color: black !important;
  }
}

/* Reduced motion */
@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;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .scroll-indicator {
    animation: none;
  }
}
