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

/* Gradient background for hero */
.hero-gradient {
  background: linear-gradient(135deg, #1a381a 0%, #2e6e2e 35%, #3d8b3d 60%, #5aad5a 85%, #89c989 100%);
}

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

/* Scroll-reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ensure reveal is visible by default (no-JS fallback) */
@supports not (animation-timeline: view()) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Navbar scroll state */
#site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(46, 110, 46, 0.08);
}

/* Subtle input focus ring */
input:focus,
select:focus,
textarea:focus {
  outline: none;
}

/* Selection color */
::selection {
  background: #b9dfb9;
  color: #1a381a;
}
</script>
