/* About Me Section */
.about-section {
  min-height: 100vh;
  padding: 50px;
  background-color: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.about-header {
  font-size: clamp(0.7rem, 6vw, 3rem);
  font-weight: bold;
  color: var(--text-primary);
  letter-spacing: 2px;
  text-align: left;
  margin-bottom: 50px;
  font-family: 'VT323', monospace;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.about-content {
  display: flex;
  gap: 50px;
  align-items: flex-start;
  margin-bottom: 0;
  position: relative;
}

.about-flex-container {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 100px;
}

.about-flex-container .about-content {
  margin-bottom: 100px;
}

.about-text {
  flex: 1;
  font-family: 'VT323', monospace;
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text-primary);
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 480px; /* Match profile card height */
  overflow: hidden;
}

.about-text p {
  margin: 0 0 20px 0;
  flex: 1;
  display: flex;
  align-items: center;
}

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

.about-image {
  width: 320px; /* Match profile card width */
  height: 480px; /* Match profile card height */
  flex-shrink: 0;
}



/* Theme-specific styles now handled by unified CSS variables in unifiedThemeToggle.css */

/* Blueprint Theme */
body.blueprint-mode .about-section {
  background: var(--bg-primary);
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-section {
    padding: 25px;
  }

  .about-content {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  .about-text {
    padding-right: 0;
  }

  .about-header {
    text-align: center;
  }
}

/* Header jumping animation */
.about-header-letter {
  display: inline-block;
  animation: headerJump 4s infinite;
}

.about-header-letter:nth-child(1) { animation-delay: 0s; }
.about-header-letter:nth-child(2) { animation-delay: 0.1s; }
.about-header-letter:nth-child(3) { animation-delay: 0.2s; }
.about-header-letter:nth-child(4) { animation-delay: 0.3s; }
.about-header-letter:nth-child(5) { animation-delay: 0.4s; }
.about-header-letter:nth-child(6) { animation-delay: 0.5s; }
.about-header-letter:nth-child(7) { animation-delay: 0.6s; }
.about-header-letter:nth-child(8) { animation-delay: 0.7s; }

@keyframes headerJump {
  0%, 90%, 100% { transform: translateY(0) scaleY(1) scaleX(1); }
  5% { transform: translateY(0) scaleY(0.8) scaleX(1.2); }
  10% { transform: translateY(-5px) scaleY(1) scaleX(1); }
  15% { transform: translateY(0) scaleY(0.9) scaleX(1.1); }
  20% { transform: translateY(0) scaleY(1) scaleX(1); }
}