/* About Page Styles - Synced with warm color system */

:root {
  --radius-lg: 24px;
  --who-accent: var(--color-accent-primary);
  --who-accent-glow: rgba(201, 184, 163, 0.35);
}

body {
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Ambient glow effects matching index page */
.ambient-glow {
  position: fixed;
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.5;
  pointer-events: none;
}

.glow-blue {
  top: -10%;
  left: -10%;
  background: radial-gradient(circle, var(--primary-glow), transparent 70%);
}

.glow-purple {
  bottom: -10%;
  right: -10%;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
}

.page-title {
  text-align: center;
  padding: 2rem 1rem;
}

.page-title h1 {
  font-size: 2.5rem;
  font-weight: 900;
  margin: 0;
  color: var(--color-text-primary);
  background: linear-gradient(135deg, var(--color-text-primary), var(--color-accent-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.flex-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.flex-item {
  background: var(--color-surface-primary);
  border: 1px solid var(--color-border-primary);
  border-radius: 1.5rem;
  padding: 2rem;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.flex-item:hover {
  transform: translateY(-8px);
  border-color: var(--color-accent-primary);
  box-shadow: 0 20px 40px rgba(201, 184, 163, 0.15);
  background: var(--color-surface-elevated);
}

.flex-item h2 {
  color: var(--color-accent-primary);
  font-size: 1.5rem;
  margin: 0 0 1rem 0;
}

.flex-item p {
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin: 0;
  font-size: 0.95rem;
}

.flex-item p + p {
  margin-top: 1rem;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 3rem auto;
  padding: 2rem 1rem;
}

.timeline-item {
  position: relative;
  padding-left: 3rem;
  padding-bottom: 2rem;
  border-left: 2px solid var(--color-border-primary);
  transition: all 0.3s ease;
}

.timeline-item:hover {
  border-left-color: var(--color-accent-primary);
}

.timeline-dot {
  position: absolute;
  left: -0.75rem;
  top: 0;
  width: 1.5rem;
  height: 1.5rem;
  background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-secondary));
  border-radius: 50%;
  box-shadow:
    0 0 0 4px var(--bg-dark),
    0 0 15px rgba(201, 184, 163, 0.3);
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.3);
  box-shadow:
    0 0 0 4px var(--bg-dark),
    0 0 25px rgba(201, 184, 163, 0.5);
}

.timeline-item h4 {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

.timeline-item h3 {
  color: var(--color-accent-primary);
  font-size: 1.3rem;
  margin: 0.5rem 0 0.8rem 0;
}

.timeline-item p {
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.6;
}

.skills {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.skill-badge {
  background: var(--color-surface-primary);
  border: 1px solid var(--color-border-primary);
  color: var(--color-accent-primary);
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.skill-badge:hover {
  background: var(--color-accent-primary);
  color: #000;
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(201, 184, 163, 0.25);
}

.fade-in-up {
  animation: fadeUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  opacity: 0;
  transform: translateY(30px);
}

.delay-1 {
  animation-delay: 0.1s;
}
.delay-2 {
  animation-delay: 0.2s;
}
.delay-3 {
  animation-delay: 0.3s;
}
.delay-4 {
  animation-delay: 0.4s;
}
.delay-5 {
  animation-delay: 0.5s;
}
.delay-6 {
  animation-delay: 0.6s;
}
.delay-7 {
  animation-delay: 0.7s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .page-title h1 {
    font-size: 2rem;
  }

  .flex-container {
    grid-template-columns: 1fr;
  }

  .timeline {
    padding-left: 0;
  }
}
