@tailwind base;
@tailwind components;
@tailwind utilities;

/* Scroll Reveal Animation Classes */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1.2s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Custom Scrollbar - Minimal */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
  background: #222222;
}

::-webkit-scrollbar-thumb:hover {
  background: #444444;
}

/* Hide scrollbar completely but allow scroll on horizontal tracks */
.hide-scroll {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

.hide-scroll::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari and Opera */
}

/* Subtlety for selection */
::selection {
  background-color: #ededed;
  color: #0a0a0a;
}

/* Nav Active Link */
.nav-link.active {
  color: #ededed;
}

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