/* ============================================================
   PAGE: Gallery
   FILE: assets/css/gallery-page.css
   Depends on: pages/trust/gallery.html, surfaces.css,
   buttons.css, tokens.css, page-header.css, breadcrumbs.css,
   cta-band.css.
   Phase: Stage 9.4 (Group 4 of the Stage 9 Trust & Content batch).

   No JavaScript: the project has no existing lightbox/gallery
   interaction system to reuse (checked: no lightbox reference
   anywhere in assets/js or includes), and per this stage's
   instruction not to create a new JS gallery system unless
   genuinely necessary, this page uses a plain responsive image
   grid with descriptive captions instead of a click-to-expand
   viewer — every image is already viewable at a readable size,
   so no interaction layer is required for the content to work.

   Imagery: illustrative SVG visuals in the same flat navy/gold
   illustration style already used by assets/images/portfolio/
   (see study.svg etc.) — new ones added under
   assets/images/gallery/ for categories the existing portfolio
   set doesn't cover (airport/aircraft, consultation, office/
   team, destinations, travel, review), so the page stays
   consistent with the site's existing illustration language
   rather than introducing photography or external image URLs.
   ============================================================ */

.gallery-page {
  padding-block: var(--space-10);
  background-color: var(--color-white);
}

.gallery-page__inner {
  text-align: center;
}

.gallery-page__heading {
  margin: 0 0 var(--space-2);
  color: var(--color-navy);
  font-size: var(--text-h2);
}

.gallery-page__subheading {
  max-width: 720px;
  margin-inline: auto;
  margin-block: 0 var(--space-2);
  color: var(--color-dark-gray);
  font-size: var(--text-body);
}

.gallery-page__note {
  max-width: 720px;
  margin-inline: auto;
  margin-block: 0 var(--space-6);
  color: var(--color-dark-gray);
  font-size: var(--text-small);
  font-style: italic;
  opacity: 0.85;
}

/* ------------------------------------------------------------
   GRID — 1 col mobile, 2 tablet, 3 desktop
------------------------------------------------------------ */
.gallery-page__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  list-style: none;
  text-align: start;
}

@media (min-width: 600px) {
  .gallery-page__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-page__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
  }
}

/* ------------------------------------------------------------
   TILE
------------------------------------------------------------ */
.gallery-page__item {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.gallery-page__media {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 400 / 260;
  object-fit: cover;
}

.gallery-page__caption {
  padding: var(--space-3) var(--space-4);
}

.gallery-page__caption-title {
  margin: 0 0 2px;
  color: var(--color-navy);
  font-size: 1rem;
  font-weight: 600;
}

.gallery-page__caption-text {
  margin: 0;
  color: var(--color-dark-gray);
  font-size: var(--text-small);
  line-height: var(--line-height-body);
}

.gallery-page__cta-wrap {
  margin-top: var(--space-8);
  text-align: center;
}

@media (max-width: 479px) {
  .gallery-page {
    padding-block: var(--space-8);
  }
  .gallery-page__grid {
    gap: var(--space-3);
  }
  .gallery-page__caption {
    padding: var(--space-2) var(--space-3);
  }
}
