.about-container {
  max-width: 900px;
  margin: 0 auto;
}

#aboutContent {
  background: rgba(38, 38, 38, 0.5);
  border: 1px solid var(--border);
  padding: 30px;
  margin: 20px 0;
  line-height: 1.8;
  font-size: 1.05em;
}

#aboutContent h1,
#aboutContent h2,
#aboutContent h3 {
  color: var(--primary);
  margin-top: 25px;
  margin-bottom: 15px;
}

#aboutContent h1:first-child {
  margin-top: 0;
}

#aboutContent p {
  margin: 15px 0;
}

#aboutContent ul,
#aboutContent ol {
  margin: 15px 0 15px 30px;
}

#aboutContent li {
  margin: 8px 0;
}

#aboutContent a {
  color: var(--secondary);
  text-decoration: underline;
}

#aboutContent a:hover {
  color: var(--accent);
  text-shadow: var(--glow);
}

#aboutContent code {
  background: var(--color0);
  padding: 2px 6px;
  border-radius: 3px;
  color: var(--accent);
}

#aboutContent pre {
  background: var(--color0);
  padding: 20px;
  border-left: 3px solid var(--primary);
  overflow-x: auto;
  margin: 20px 0;
}

#aboutContent blockquote {
  border-left: 4px solid var(--primary);
  padding-left: 20px;
  margin: 20px 0;
  color: var(--subtle);
  font-style: italic;
}

.image-gallery {
  margin: 40px 0;
}

#galleryContainer {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--border);
  transition: all 0.3s;
  cursor: pointer;
}

.gallery-item:hover {
  border-color: var(--primary);
  box-shadow: var(--glow);
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: all 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(20, 20, 20, 0.9);
  color: var(--fg);
  padding: 10px;
  font-size: 0.9em;
  transform: translateY(100%);
  transition: transform 0.3s;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 20, 20, 0.95);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border: 3px solid var(--primary);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3em;
  color: var(--fg);
  cursor: pointer;
  transition: all 0.3s;
}

.lightbox-close:hover {
  color: var(--accent);
  text-shadow: var(--glow-strong);
}

.contact-section {
  margin: 40px 0;
}

#contactLinks {
  background: rgba(38, 38, 38, 0.5);
  border: 1px solid var(--border);
  padding: 30px;
  margin-top: 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  background: rgba(38, 38, 38, 0.5);
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.contact-item:hover {
  border-color: var(--primary);
  box-shadow: var(--glow);
}

.contact-item .icon {
  font-size: 1.5em;
  color: var(--primary);
}

.contact-item a {
  color: var(--secondary);
  text-decoration: none;
  word-break: break-all;
}

.contact-item a:hover {
  color: var(--accent);
  text-shadow: var(--glow);
}

.skills-section {
  margin: 30px 0;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 15px;
}

.skill-tag {
  background: rgba(175, 185, 121, 0.2);
  border: 1px solid var(--color10);
  color: var(--color10);
  padding: 10px;
  text-align: center;
  transition: all 0.3s;
}

.skill-tag:hover {
  background: var(--color10);
  color: var(--bg);
  box-shadow: var(--glow);
}

.no-gallery {
  text-align: center;
  padding: 40px;
  color: var(--subtle);
  font-style: italic;
}

@media (max-width: 768px) {
  #galleryContainer {
    grid-template-columns: 1fr;
  }

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

  .skills-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }
