/* AJ Sabbir Portfolio — supplemental styles beyond Tailwind utilities */

html {
  background-color: #060b12;
}

body {
  background-color: #060b12;
  color: #e7edf3;
}

::selection {
  background: #22b8ab;
  color: #060b12;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: #0a1420;
}
::-webkit-scrollbar-thumb {
  background: #1e3a52;
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #2c5170;
}

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Subtle grid backdrop for hero/section accents */
.bg-grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 44px 44px;
}

/* Radial spotlight used behind hero heading */
.spotlight {
  background: radial-gradient(60% 60% at 50% 20%, rgba(34,184,171,0.16) 0%, rgba(6,11,18,0) 70%);
}

/* Marquee for tech-stack / trust strip */
.marquee-track {
  animation: marquee 28s linear infinite;
}
.marquee-track:hover {
  animation-play-state: paused;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Testimonial / rich text content from admin */
.prose-admin p {
  margin-bottom: 1em;
  line-height: 1.75;
}
.prose-admin p:last-child {
  margin-bottom: 0;
}

/* Number ticker font treatment */
.tabular-nums {
  font-variant-numeric: tabular-nums;
}

/* Focus ring consistent across custom controls */
.focus-ring:focus-visible {
  outline: 2px solid #45d4c6;
  outline-offset: 2px;
}

/* Card hover lift */
.lift-hover {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.lift-hover:hover {
  transform: translateY(-4px);
}

/* Gradient text */
.text-gradient {
  background: linear-gradient(120deg, #7ee8de 0%, #45d4c6 45%, #e8a94c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Mobile nav slide */
#mobile-menu {
  transition: max-height 0.35s ease, opacity 0.25s ease;
}

/* Star rating */
.star-row {
  letter-spacing: 0.05em;
}
