/* =======================================
   ABOUT ME PAGE STYLING
   (used in aboutme.html)
========================================== */

#aboutme-detail {
  max-width: 900px;
  margin: 4rem auto;
  padding: 2rem;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.7;
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: background 0.3s, color 0.3s;
  animation: fadeIn 0.6s ease forwards;
  opacity: 0;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Header */
.aboutme-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.aboutme-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

/* Markdown content area */
.aboutme-description {
  font-size: 1.05rem;
}

.aboutme-description h2, 
.aboutme-description h3 {
  color: var(--accent);
  margin-top: 2rem;
  margin-bottom: 0.6rem;
}

.aboutme-description p {
  margin-bottom: 1rem;
  color: var(--text);
}

.aboutme-description ul,
.aboutme-description ol {
  margin: 1rem 0 1rem 1.5rem;
}

.aboutme-description li {
  margin-bottom: 0.4rem;
}

.aboutme-description a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.aboutme-description a:hover {
  text-decoration: underline;
  color: #005fcc;
}

.aboutme-description blockquote {
  border-left: 4px solid var(--accent);
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--secondary);
  background: rgba(0, 0, 0, 0.03);
  border-radius: 6px;
}

.aboutme-description code {
  background: rgba(0, 0, 0, 0.05);
  padding: 0.25rem 0.4rem;
  border-radius: 5px;
  font-family: 'Fira Code', monospace;
  font-size: 0.95rem;
  color: var(--accent);
}

.aboutme-description img {
  display: block;
  max-width: 100%;
  border-radius: 12px;
  margin: 1.5rem auto;
  box-shadow: var(--shadow);
}

/* Layout tweaks for readability */
.aboutme-description hr {
  border: none;
  border-top: 1px solid rgba(0,0,0,0.1);
  margin: 2rem 0;
}

/* Responsive layout */
@media (max-width: 768px) {
  #aboutme-detail {
    margin: 2rem 1rem;
    padding: 1.5rem;
  }

  .aboutme-header h1 {
    font-size: 1.6rem;
  }
}

