/* ===== CUSTOM STYLES ===== */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection color */
::selection {
  background-color: #aed0a0;
  color: #0a1707;
}

/* Mobile nav transitions */
#mobile-nav {
  transition: opacity 0.3s ease;
}

#mobile-nav.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

#mobile-nav.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Subtle card hover lift */
.group:hover {
  transform: translateY(-2px);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #faf8f0;
}
::-webkit-scrollbar-thumb {
  background: #aed0a0;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #7fb86f;
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 3px solid #7fb86f;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Header scroll state */
#site-header.scrolled {
  background: rgba(253, 252, 247, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(28, 61, 20, 0.08);
}

/* Scroll reveal base — content always visible */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation delay utilities */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
