/* Custom styles for AstroKat Kava */

html {
  scroll-behavior: smooth;
}

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

/* Scroll reveal base — content is visible by default */
.scroll-reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Navbar glass effect */
#navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

/* Subtle gradient text for hero */
@supports (background-clip: text) {
  .gradient-text {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f4faf7;
}
::-webkit-scrollbar-thumb {
  background: #a8d4b8;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #5bc092;
}

/* Selection color */
::selection {
  background: #bce5d0;
  color: #0d1b2a;
}
