/* Container */
.aboutme-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}

/* Header */
.aboutme-header h1 {
  font-size: 2.5rem;
  color: #18453B;
  margin-bottom: 1rem;
}
.aboutme-header p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
}

/* Two-column layout for each block */
.aboutme-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem; /* space between blocks */
  align-items: center; /* vertically center text next to image */
}

/* Alternate layout */
.aboutme-columns.alt {
  flex-direction: row-reverse;
}

/* Image column */
.aboutme-images {
  flex: 1 1 40%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.aboutme-images figure {
  margin: 0;
  max-width: 100%;
  text-align: center;
}
.aboutme-images img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
}
.aboutme-images figcaption {
  font-size: 0.95rem;
  color: #666;
  margin-top: 0.5rem;
}

/* Text column */
.aboutme-story {
  flex: 1 1 55%;
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertically center content */
  gap: 1rem;
}
.aboutme-story p {
  line-height: 1.6;
}

/* Responsive: stack on small screens */
@media (max-width: 768px) {
  .aboutme-columns,
  .aboutme-columns.alt {
    flex-direction: column;
    align-items: flex-start;
  }
  .aboutme-images, .aboutme-story {
    flex: 1 1 100%;
  }
  .aboutme-story {
    justify-content: flex-start; /* don't center on small screens */
  }
}

/* Gallery tiles */
.gallery-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}
.gallery-tile {
  flex: 1 1 calc(50% - 0.5rem);
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s;
}
.gallery-tile:hover { transform: scale(1.03); }
.gallery-tile img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.tile-caption {
  background: #18453B;
  color: #fff;
  padding: 0.5rem;
  font-weight: 500;
}






