/* ══════════════════════════
   FLEET GALLERY
   ══════════════════════════ */
.fleet-gallery {
  background: var(--navy-darkest);
  overflow: hidden;
  position: relative;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 285px 285px;
  gap: 12px;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
}
.gallery-item.g-wide { grid-column: span 2; }
.gallery-item.g-tall { grid-row: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.gallery-item:hover img { transform: scale(1.06); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3,8,15,0.72) 0%, rgba(3,8,15,0.08) 55%, transparent 100%);
  transition: opacity var(--t);
}
.gallery-item:hover .gallery-item-overlay { opacity: 0.8; }

.gallery-item-label {
  position: absolute;
  bottom: 1.1rem;
  left: 1.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.4px;
  transform: translateY(6px);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 2;
}
.gallery-item:hover .gallery-item-label {
  opacity: 1;
  transform: translateY(0);
}

/* Fleet gallery section header uses white text on dark bg */
.fleet-gallery .section-eyebrow,
.fleet-gallery .section-title,
.fleet-gallery .section-subtitle {
  color: var(--white);
}
.fleet-gallery .section-subtitle { color: rgba(255,255,255,0.45); }

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px 200px;
  }
  .gallery-item.g-wide { grid-column: span 2; }
  .gallery-item.g-tall { grid-row: span 1; }
}
@media (max-width: 520px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .gallery-item,
  .gallery-item.g-wide { grid-column: span 1; height: 220px; }
  .gallery-item.g-tall { grid-row: span 1; }
}
