/* ==========================================================
   UKWUANI LGA — MEDIA GALLERY & ARCHIVES STYLES
   Page: gallery.html
   ========================================================== */

/* ---------- 1. PAGE HERO ---------- */
.gallery-hero {
  min-height: 70svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 70px;
}

.gallery-hero .hero-bg {
  position: absolute;
  inset: 0;
  background: url("../../images/heroes/river-ethiope-wide.jpg") center / cover no-repeat;
  filter: brightness(0.24) saturate(0.9);
  transform: scale(1.05);
  animation: bgZoom 22s ease-in-out infinite alternate;
}

.gallery-hero .hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 19, 12, 0.6) 0%,
    rgba(7, 19, 12, 0.94) 80%,
    var(--ink) 100%
  );
}

.gallery-hero .hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.gallery-hero h1 {
  font-size: var(--fs-h1);
  margin: 14px 0 16px;
  line-height: 1.15;
}

/* ---------- 2. GALLERY SHOWCASE GRID ---------- */
.gallery-main-sec {
  padding-top: 0;
}

.gallery-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}

@media (min-width: 680px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.g-card {
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.g-card.hide {
  display: none !important;
}

.g-card figure {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ink);
  margin: 0;
}

.g-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.g-card:hover img {
  transform: scale(1.08);
}

.g-card .body {
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.g-card h3 {
  font-size: 1.1rem;
  color: var(--text-main);
}

.g-card p {
  font-size: 0.84rem;
  color: var(--text-sub);
  line-height: 1.55;
}

/* ---------- 3. VIDEO BROADCASTS CAROUSEL ---------- */
.videos-sec {
  background: linear-gradient(
    180deg,
    rgba(20, 40, 80, 0.75) 0%,
    rgba(7, 19, 12, 0.95) 100%
  ) !important;
}

.v-card {
  flex: 0 0 100%;
  max-width: 100%;
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--palm-deep), var(--statesman));
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 680px) {
  .v-card {
    flex: 0 0 calc((100% - 20px) / 2);
    max-width: calc((100% - 20px) / 2);
  }
}

@media (min-width: 1040px) {
  .v-card {
    flex: 0 0 calc((100% - 40px) / 3);
    max-width: calc((100% - 40px) / 3);
  }
}

.v-card:hover {
  border-color: var(--brass);
  box-shadow: var(--shadow-3);
}

.v-play-btn {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--laterite);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  padding-left: 4px;
  box-shadow: 0 6px 20px rgba(180, 67, 46, 0.6);
  transition: transform var(--t-fast), background var(--t-fast);
  z-index: 2;
}

.v-card:hover .v-play-btn {
  transform: scale(1.15);
  background: var(--laterite-bright);
}

.v-card .v-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 38px 18px 14px;
  background: linear-gradient(to top, rgba(7, 19, 12, 0.96) 0%, transparent 100%);
  color: #ffffff;
  z-index: 1;
}

.v-card .v-cap h3 {
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.v-card .v-cap p {
  font-size: 0.8rem;
  color: var(--brass-soft);
  font-weight: 600;
}

/* ---------- 4. REDUCED MOTION SAFETY ---------- */
@media (prefers-reduced-motion: reduce) {
  .gallery-hero .hero-bg {
    animation: none !important;
  }
}