    /* gallery.css — Travelzia gallery styles (modern, responsive) */

/* Base grid for gallery folders */
.gallery-section {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 28px;
  justify-items: center;
  align-items: start;
  padding: 30px 0;
}

/* desktop -> columns */
@media (min-width: 640px) {
  .gallery-section { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
@media (min-width: 992px) {
  .gallery-section { grid-template-columns: repeat(4, 1fr); gap: 32px; }
}

/* each folder card */
.gallery-folder {
  display: block;
  width: 100%;
  max-width: 300px; /* card width */
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 6px 20px rgba(11, 22, 56, 0.06);
  transition: transform .18s ease, box-shadow .18s ease;
  border: 1px solid rgba(3, 11, 34, 0.04);
  position: relative;
}

/* image area */
.gallery-folder .folder-thumbnail {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: linear-gradient(180deg, #f5f7fb 0%, #ffffff 100%);
}

/* caption bar anchored at bottom */
.gallery-folder .folder-name {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 14px;
  font-weight: 700;
  color: #0247fe; /* primary blue */
  font-size: 16px;
  letter-spacing: 0.2px;
  background: #fff;
}

/* hover uplift */
.gallery-folder:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 50px rgba(2, 71, 254, 0.08);
}

/* subtle top label (optional) — if you want small text at the top of card */
.gallery-folder .folder-toplabel {
  position: absolute;
  top: 8px;
  left: 10px;
  background: rgba(255,255,255,0.85);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  color: #0b1a33;
  box-shadow: 0 4px 10px rgba(9, 18, 38, 0.04);
}

/* responsive card height adjustment */
@media (min-width: 1200px) {
  .gallery-folder .folder-thumbnail { height: 240px; }
  .gallery-folder { max-width: 320px; }
}

/* empty image fallback style (if image missing) */
.gallery-folder .folder-thumbnail[src="placeholder.jpg"],
.gallery-folder .folder-thumbnail[alt*="Thumbnail"] {
  background: #fafafa;
  display:block;
}

/* container spacing for whole page (keeps center) */
.gallery-section {
  padding-top: 22px;
  padding-bottom: 22px;
}

/* subtle focus state for accessibility */
.gallery-folder:focus,
.gallery-folder:focus-visible {
  outline: 3px solid rgba(2,71,254,0.18);
  outline-offset: 4px;
}

/* small utility to center the folder grids inside container */
#international-gallery,
#domestic-gallery {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 28px;
  justify-items: center;
  width: 100%;
}

/* reuse main .gallery-section grid breakpoints */
@media (min-width: 640px) {
  #international-gallery,
  #domestic-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
  #international-gallery,
  #domestic-gallery { grid-template-columns: repeat(4, 1fr); }
}
