/**
 * The Constellation - Interactive Portfolio
 * Stylesheet: Biography Section
 * Purpose: Bio poem section styling and scroll indicator
 */

/* Bio Section Below the Fold */
#below-fold {
  position: relative;
  z-index: 20;
  margin-top: 100vh;
  /* Improve scroll performance */
  will-change: transform;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

#projects-index {
  position: relative;
  padding: 4rem 2rem 2rem;
  background: linear-gradient(180deg, var(--void) 0%, #0c0c15 100%);
}

.projects-groups {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.project-group {
  padding: 1.25rem 1.25rem;
  background: rgba(255,255,255,0.03);
  border-left: 3px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.group-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.75rem;
}

.project-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.project-list li {
  display: block;
  padding: 0.4rem 0;
}

.project-link {
  font-family: 'JetBrains Mono', monospace;
  color: #ffffff;
  text-decoration: none;
}

.project-link:hover {
  text-shadow: 0 0 18px #ffffff;
  color: #dc2626;
}

.project-note {
  color: rgba(255,255,255,0.55);
  margin-left: 0.5rem;
}

#bio-section {
  position: relative;
  min-height: 100vh;
  padding: 4rem 2rem;
  background: linear-gradient(180deg, var(--void) 0%, #0f0f1a 50%, #1a1a2e 100%);
  z-index: 20;
}

.bio-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.bio-header {
  text-align: center;
  margin-bottom: 3rem;
  animation: fadeInUp 1.5s ease-out;
}

.bio-header h2 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 0 20px rgba(255,255,255,0.3);
  margin-bottom: 1rem;
}

.bio-header .subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.2em;
  font-style: italic;
}

.bio-poem {
  font-family: 'Space Grotesk', serif;
  font-size: 1.1rem;
  line-height: 2;
  color: rgba(255,255,255,0.85);
  text-align: left;
  margin: 2rem 0;
  padding: 2rem;
  background: rgba(255,255,255,0.03);
  border-left: 3px solid #dc2626;
  border-radius: 8px;
  backdrop-filter: blur(10px);
  animation: fadeInUp 2s ease-out;
  property: "description";
}

.bio-poem p {
  margin-bottom: 1.5rem;
  text-indent: 2em;
}

.bio-poem p:first-of-type {
  text-indent: 0;
}

.bio-poem .stanza {
  margin-bottom: 2rem;
}

.verse-line {
  display: block;
  margin-left: 2em;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-indicator {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  opacity: 0.5;
  animation: bounce 2s ease-in-out infinite;
  pointer-events: none;
}

.scroll-indicator::before {
  content: '↓';
  font-size: 2rem;
  color: #ffffff;
  text-shadow: 0 0 20px #ffffff;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}
