/* Custom styles beyond Tailwind utilities */

::selection {
  background-color: #2dd4bf;
  color: #0f172a;
}

/* Thin, dark-themed scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #020617;
}
::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

/* Skill badge, reused across the Skills section */
.skill-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid rgba(45, 212, 191, 0.3);
  background-color: rgba(45, 212, 191, 0.08);
  color: #5eead4;
  padding: 0.3rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Scroll fade-in: elements start hidden/offset, JS toggles .fade-in-visible on intersect */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Active nav link (toggled by JS via IntersectionObserver on sections) */
.nav-link.active {
  color: #2dd4bf;
}
