/* About Page Specific Styles */
.about-page {
  overflow-x: hidden;
}

/* Hero Section */
.about-hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 0 20px;
  background: linear-gradient(
    135deg,
    var(--gradient-start) 0%,
    var(--gradient-end) 100%
  );
  position: relative;
}

.hero-content {
  max-width: 1200px;
  margin: 90px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.animated-title {
  font-size: 3.3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.animated-title .line {
  display: block;
  overflow: hidden;
}

.animated-title .highlight {
  background: linear-gradient(45deg, var(--accent-color), #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.hero-visual {
  position: relative;
  height: 400px;
}

.floating-elements {
  position: relative;
  width: 100%;
  height: 100%;
}

.code-snippet {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.code-line {
  display: block;
  margin: 5px 0;
  color: var(--text-primary);
}

.floating-icon {
  position: absolute;
  font-size: 2rem;
  animation: float 3s ease-in-out infinite;
}

.floating-icon:nth-child(2) {
  top: 20%;
  right: 20%;
  animation-delay: -1s;
}

.floating-icon:nth-child(3) {
  bottom: 30%;
  left: 10%;
  animation-delay: -2s;
}

.floating-icon:nth-child(4) {
  top: 60%;
  right: 10%;
  animation-delay: -0.5s;
}

.floating-icon::before {
  content: attr(data-icon);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Journey Timeline */
.journey-section {
  padding: 100px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: var(--text-accent);
}

.section-title i {
  color: var(--accent-color);
}

.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin: 50px 0;
  display: flex;
  align-items: center;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  z-index: 2;
  box-shadow: 0 0 0 4px var(--bg-primary);
  transition: transform 0.3s ease;
}

.timeline-marker.current {
  background: linear-gradient(45deg, var(--accent-color), #a855f7);
  animation: pulse 2s infinite;
}

.timeline-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  width: 45%;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-content::before {
  content: "";
  position: absolute;
  top: 30px;
  width: 0;
  height: 0;
  border: 15px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -30px;
  border-left-color: var(--border-color);
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -30px;
  border-right-color: var(--border-color);
}

.timeline-content h3 {
  color: var(--text-accent);
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.timeline-content p {
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 15px;
}

.timeline-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  background: var(--bg-tertiary);
  color: var(--text-accent);
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  border: 1px solid var(--border-color);
}

/* Skills Section */
.skills-radar-section {
  padding: 100px 20px;
  background: var(--bg-secondary);
}

.skills-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.skill-category {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  transition: transform 0.3s ease;
}

.skill-category:hover {
  transform: translateY(-5px);
}

.category-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.category-header i {
  font-size: 1.5rem;
  color: var(--accent-color);
}

.category-header h3 {
  color: var(--text-accent);
  font-size: 1.3rem;
}

.skill-bar {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.skill-name {
  min-width: 100px;
  font-weight: 500;
  color: var(--text-primary);
}

.skill-progress {
  flex: 1;
  height: 8px;
  background: var(--bg-tertiary);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(45deg, var(--accent-color), #a855f7);
  border-radius: 4px;
  width: 0%;
  transition: width 1.5s ease;
}

.skill-percentage {
  min-width: 40px;
  text-align: right;
  font-weight: 600;
  color: var(--accent-color);
}

/* Interests Section */
.interests-section {
  padding: 100px 20px;
}

.interests-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.interest-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.interest-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(83, 155, 245, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.interest-card:hover::before {
  left: 100%;
}

.interest-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-color);
}

.interest-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, var(--accent-color), #a855f7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: white;
}

.interest-card h3 {
  color: var(--text-accent);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.interest-card p {
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.interest-stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat {
  background: var(--bg-tertiary);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--text-primary);
}

/* Fun Facts Section */
.fun-facts-section {
  padding: 100px 20px;
  background: var(--bg-secondary);
}

.facts-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.fact-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 25px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: transform 0.3s ease;
}

.fact-card:hover {
  transform: scale(1.05);
}

.fact-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-color);
  min-width: 60px;
}

.fact-content h3 {
  color: var(--text-accent);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.fact-content p {
  color: var(--text-primary);
  line-height: 1.6;
}

.highlight {
  color: var(--accent-color);
  font-weight: 600;
}

/* Philosophy Section */
.philosophy-section {
  padding: 100px 20px;
}

.philosophy-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.philosophy-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.philosophy-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
}

.philosophy-icon {
  width: 70px;
  height: 70px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: white;
}

.philosophy-card h3 {
  color: var(--text-accent);
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.philosophy-card p {
  color: var(--text-primary);
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: 100px 20px;
  background: linear-gradient(
    135deg,
    var(--gradient-start) 0%,
    var(--gradient-end) 100%
  );
  position: relative;
  overflow: hidden;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 2.5rem;
  color: var(--text-accent);
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-btn.primary {
  background: var(--accent-color);
  color: white;
}

.cta-btn.primary:hover {
  background: #0969da;
  transform: translateY(-2px);
}

.cta-btn.secondary {
  background: transparent;
  color: var(--text-accent);
  border: 2px solid var(--border-color);
}

.cta-btn.secondary:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.cta-visual {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-shapes {
  position: relative;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: floatShape 6s ease-in-out infinite;
}

.shape-1 {
  width: 100px;
  height: 100px;
  background: var(--accent-color);
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 150px;
  height: 150px;
  background: #a855f7;
  top: 60%;
  right: 15%;
  animation-delay: -2s;
}

.shape-3 {
  width: 80px;
  height: 80px;
  background: var(--accent-color);
  bottom: 20%;
  left: 20%;
  animation-delay: -4s;
}

@keyframes floatShape {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(180deg);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .animated-title {
    font-size: 2.5rem;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-item {
    flex-direction: row !important;
    padding-left: 80px;
  }

  .timeline-marker {
    left: 30px;
    transform: translateX(-50%);
  }

  .timeline-content {
    width: 100%;
  }

  .timeline-content::before {
    left: -30px !important;
    border-right-color: var(--border-color) !important;
    border-left-color: transparent !important;
  }

  .section-title {
    font-size: 2rem;
    flex-direction: column;
    gap: 10px;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

/* Animation delays for staggered loading */
.timeline-item {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.timeline-item:nth-child(1) {
  animation-delay: 0.1s;
}
.timeline-item:nth-child(2) {
  animation-delay: 0.3s;
}
.timeline-item:nth-child(3) {
  animation-delay: 0.5s;
}
.timeline-item:nth-child(4) {
  animation-delay: 0.7s;
}
.timeline-item:nth-child(5) {
  animation-delay: 0.9s;
}

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

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px var(--bg-primary), 0 0 0 8px var(--accent-color);
  }
  50% {
    box-shadow: 0 0 0 4px var(--bg-primary), 0 0 0 12px var(--accent-color);
  }
}
