@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@500;600&display=swap');

:root {
  --accent: 165 243 252; /* cyan-300 */
}

html {
  scroll-behavior: smooth;
  /* Offset for the sticky header so TOC/Anchor links land perfectly */
  scroll-padding-top: 100px;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: #09090b; /* zinc-950 */
}

.heading-font {
  font-family: 'Space Grotesk', sans-serif;
}

/* HERO LOGIC */
.hero-bg {
  background: radial-gradient(circle at top, #1a1a2e 0%, #0a0a0a 100%);
  /* min-height ensures it fills the screen, pushing 'Who I Am' out of view */
  min-height: calc(100vh - 80px); 
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

/* SCROLL HINT ANIMATION */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {transform: translateX(-50%) translateY(0);}
  40% {transform: translateX(-50%) translateY(-10px);}
  60% {transform: translateX(-50%) translateY(-5px);}
}

.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.2);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
  transition: color 0.3s ease;
}

.scroll-hint:hover {
  color: #67e8f9; /* cyan-300 */
}

/* PROJECT CARDS */
.project-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.4);
}

/* NAV LINKS */
.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: rgb(165 243 252);
  transition: width 0.3s ease;
}

.nav-link:hover:after {
  width: 100%;
}

.nav-link:hover {
  color: rgb(165 243 252);
}

/* STORY PAGE ACCORDIONS */
details summary { list-style: none; outline: none; }
details summary::-webkit-details-marker { display: none; }

details summary i.fas {
  transition: transform 0.2s ease;
  transform: rotate(0deg); 
}
details[open] summary i.fas {
  transform: rotate(90deg);
}