/* =========================================
   css/sections.css — About, project layout
   ========================================= */

/* ── About ── */
.about-section {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.profile-image {
      flex-shrink: 0;
}
.profile-image img {

  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
}

.bio-content p {
  margin-bottom: 20px;
  font-size: 15px;
  color: #2c2c2c;
  line-height: 1.6;
}

.bio-content p:last-child {
  margin-bottom: 0;
}

/* ── Project sections ── */
.page-title {
  max-width: 1200px;
  margin: 0 auto 40px;
  font-size: 2em;
  font-weight: bold;
}

.project-section {
  max-width: 1200px;
  margin: 0 auto 80px;
}

.project-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
}

.project-description {
  font-size: 0.95em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text);
}

/* ── Custom 2-column portrait layout ── */
.project-section.custom-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-items: stretch;
}

.project-section.custom-layout .left-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.project-section.custom-layout .left-image,
.project-section.custom-layout .right-image {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.project-section.custom-layout .left-image {
  flex: 1;
}

.project-section.custom-layout .left-image img,
.project-section.custom-layout .right-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-section.custom-layout .left-image:hover img,
.project-section.custom-layout .right-image:hover img {
  transform: scale(1.05);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .about-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  .profile-image img {
    width: 150px;
    height: 150px;
  }

  .bio-content p {
    font-size: 14px;
  }

  .page-title {
    font-size: 1.5em;
    margin-bottom: 30px;
  }

  .project-section {
    margin-bottom: 60px;
  }

  .project-title {
    font-size: 1.1em;
  }

  .project-description {
    font-size: 0.9em;
  }

  .project-section.custom-layout {
    grid-template-columns: 1fr;
  }

  .project-section.custom-layout .left-image,
  .project-section.custom-layout .right-image {
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .profile-image img {
    width: 120px;
    height: 120px;
  }

  .project-section.custom-layout .left-image,
  .project-section.custom-layout .right-image {
    min-height: 150px;
  }
}
