/* ================================
  About Page Styles
================================ */

/* Hero Section */
.about-hero {
  background-image: url('/static/images/backgrounds/about-hero.jpg');
}

/* ================================
   Stats Section
================================ */
.about-stats {
  padding: var(--space-2xl) 0;
  position: relative;
}

.about-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(28 25 23 / 80%) 0%, transparent 30%, transparent 70%, rgb(28 25 23 / 80%) 100%);
  pointer-events: none;
}

.about-stat-card {
  text-align: center;
  animation: card-fade-in var(--duration-slow) var(--ease-out) both;
}

.about-stat-value {
  display: block;
  font-size: var(--text-4xl);
  font-weight: var(--font-extrabold);
  background: var(--accent-primary-gradient);
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: var(--space-sm);
  position: relative;
  z-index: 1;
}

.about-stat-label {
  display: block;
  font-size: var(--text-sm);
  color: var(--fg-muted);
  font-weight: var(--font-medium);
  position: relative;
  z-index: 1;
}

.about-stat-icon {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-md);
  font-size: var(--text-2xl);
  opacity: 0.3;
}

/* ================================
   Story Section
================================ */
.about-story {
  padding: var(--space-3xl) 0;
}

.story-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.story-title {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-xl);
  color: var(--fg-primary);
}

.story-text p {
  margin-bottom: var(--space-lg);
  line-height: var(--leading-relaxed);
  font-size: var(--text-lg);
  color: var(--fg-secondary);
}

.story-quote {
  position: relative;
  margin: var(--space-xl) 0;
  padding: var(--space-xl) var(--space-xl) var(--space-xl) var(--space-2xl);
  background: linear-gradient(
    135deg,
    rgb(234 88 12 / 8%) 0%,
    rgb(13 148 136 / 5%) 100%
  );
  border-left: 4px solid;
  border-image: var(--accent-primary-gradient) 1;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--fg-primary);
  line-height: var(--leading-relaxed);
}

.story-quote::before {
  content: '"';
  position: absolute;
  top: -8px;
  left: var(--space-md);
  font-size: 4rem;
  color: var(--accent-primary);
  opacity: 0.3;
  font-family: Georgia, serif;
  line-height: 1;
}

/* Quick Facts Card */
.quick-facts-card {
  background: linear-gradient(
    135deg,
    rgb(255 255 255 / 5%) 0%,
    rgb(255 255 255 / 2%) 100%
  );
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: sticky;
  top: calc(var(--header-height) + var(--space-lg));
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}

.quick-facts-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgb(234 88 12 / 8%) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.quick-facts-card:hover::before {
  opacity: 1;
}

.quick-facts-card:hover {
  border-color: rgb(234 88 12 / 30%);
  box-shadow:
    var(--shadow-lg),
    0 0 32px rgb(234 88 12 / 10%);
}

.quick-facts-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-lg);
  background: var(--accent-primary-gradient);
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
}

.facts-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  position: relative;
  z-index: 1;
}

.fact-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: rgb(255 255 255 / 3%);
  border-radius: var(--radius-md);
  transition: all var(--duration-normal) var(--ease-out);
}

.fact-item:hover {
  background: rgb(234 88 12 / 8%);
  transform: translateX(4px);
}

.fact-icon {
  font-size: var(--text-xl);
  flex-shrink: 0;
}

.fact-text {
  font-size: var(--text-sm);
  color: var(--fg-secondary);
  font-weight: var(--font-medium);
}

/* ================================
   Journey Timeline
================================ */
.about-journey {
  padding: var(--space-3xl) 0;
  position: relative;
}

.journey-title {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-2xl);
  color: var(--fg-primary);
}

.journey-timeline {
  position: relative;
  padding-left: var(--space-2xl);
}

.timeline-track {
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    180deg,
    var(--accent-primary) 0%,
    rgb(234 88 12 / 30%) 100%
  );
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-2xl);
  padding-left: var(--space-xl);
  animation: card-fade-in var(--duration-slow) var(--ease-out) both;
}

.timeline-item:nth-child(2) { animation-delay: 0.1s; }
.timeline-item:nth-child(3) { animation-delay: 0.2s; }
.timeline-item:nth-child(4) { animation-delay: 0.3s; }
.timeline-item:nth-child(5) { animation-delay: 0.4s; }
.timeline-item:nth-child(6) { animation-delay: 0.5s; }
.timeline-item:nth-child(7) { animation-delay: 0.6s; }

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -19px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--accent-primary);
  z-index: 2;
  transition: all var(--duration-normal) var(--ease-out);
}

.timeline-marker.active {
  background: var(--accent-primary);
  box-shadow: 0 0 16px rgb(234 88 12 / 50%);
  animation: pulse 2s ease-in-out infinite;
}

.timeline-item:hover .timeline-marker {
  transform: scale(1.3);
  box-shadow: 0 0 16px rgb(234 88 12 / 40%);
}

.timeline-content {
  background: linear-gradient(
    135deg,
    rgb(255 255 255 / 5%) 0%,
    rgb(255 255 255 / 2%) 100%
  );
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-xl);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.timeline-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgb(234 88 12 / 8%) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.timeline-item:hover .timeline-content::before {
  opacity: 1;
}

.timeline-item:hover .timeline-content {
  transform: translateX(4px);
  border-color: rgb(234 88 12 / 30%);
  box-shadow:
    var(--shadow-lg),
    0 0 24px rgb(234 88 12 / 10%);
}

.timeline-year {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: var(--accent-primary-gradient);
  color: white;
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
  position: relative;
  z-index: 1;
}

.timeline-content h3 {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--fg-primary);
  margin-bottom: var(--space-xs);
  position: relative;
  z-index: 1;
}

.timeline-content p {
  font-size: var(--text-sm);
  color: var(--fg-muted);
  line-height: var(--leading-relaxed);
  margin: 0;
  position: relative;
  z-index: 1;
}

/* ================================
   Interests Section
================================ */
.about-interests {
  padding: var(--space-3xl) 0;
}

.interests-title {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-2xl);
  color: var(--fg-primary);
}

.interests-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.interest-card {
  text-align: center;
  animation: card-fade-in var(--duration-slow) var(--ease-out) both;
}

.interest-icon {
  display: block;
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
  transition: transform var(--duration-normal) var(--ease-out);
}

.interest-card:hover .interest-icon {
  transform: scale(1.2) translateY(-4px);
}

.interest-card h3 {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-sm);
  color: var(--fg-primary);
  position: relative;
  z-index: 1;
}

.interest-card p {
  font-size: var(--text-sm);
  color: var(--fg-muted);
  line-height: var(--leading-relaxed);
  margin: 0;
  position: relative;
  z-index: 1;
}

/* ================================
   Values Section
================================ */
.about-values {
  padding: var(--space-3xl) 0;
}

.values-title {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-2xl);
  color: var(--fg-primary);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.value-card {
  text-align: center;
  animation: card-fade-in var(--duration-slow) var(--ease-out) both;
}

.value-icon {
  font-size: var(--text-2xl);
}

.value-card h3 {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-sm);
  color: var(--fg-primary);
  position: relative;
  z-index: 1;
}

.value-card p {
  font-size: var(--text-sm);
  color: var(--fg-muted);
  line-height: var(--leading-relaxed);
  margin: 0;
  position: relative;
  z-index: 1;
}

.story-text p:last-child {
  margin-bottom: 0;
}

/* ================================
   Responsive
================================ */
@media (width <= 1024px) {
  .story-content {
    grid-template-columns: 1fr;
  }

  .quick-facts-card {
    position: static;
  }

  .interests-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (width <= 768px) {
  .interests-grid {
    grid-template-columns: 1fr 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  .journey-timeline {
    padding-left: var(--space-xl);
  }
}

@media (width <= 480px) {
  .story-quote {
    padding: var(--space-md) var(--space-md) var(--space-md) var(--space-lg);
  }

  .quick-facts-card {
    padding: var(--space-lg);
  }

  .timeline-content {
    padding: var(--space-md) var(--space-lg);
  }

  .interests-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }
}
