/* Trail Gallery Sections - Images with alternating layout */

.trail-gallery-section {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin: 4rem 0;
}

.trail-image-block {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-direction: row;
  max-width: 1000px;
  margin: 0 auto;
  background: #f8e8cf;
  padding: 2rem;
  border-radius: 12px;
}

.trail-image-block.reverse {
  flex-direction: row-reverse;
}

.trail-image-block img {
  width: 50%;
  max-width: 450px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  object-fit: cover;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.trail-image-block img:hover {
  transform: scale(1.02);
}

.trail-image-text {
  width: 50%;
  color: #234c49;
}

.trail-image-text p {
  font-size: 1.35rem;
  line-height: 1.8;
  color: #234c49;
  margin: 0.5rem 0;
}

/* Responsive Layout */
@media (max-width: 900px) {
  .trail-image-block,
  .trail-image-block.reverse {
    flex-direction: column;
    text-align: center;
  }

  .trail-image-block img,
  .trail-image-text {
    width: 100%;
  }

  .trail-image-block {
    padding: 1.5rem;
  }
}

@media (max-width: 600px) {
  .trail-image-section {
    padding: 1rem;
    margin: 2rem 0;
  }

  .trail-image-block {
    padding: 1rem;
    gap: 1.5rem;
  }

  .trail-image-block img {
    max-width: 100%;
  }

  .trail-image-text p {
    font-size: 0.95rem;
  }
}
