/* ─── GALLERY PAGE ─── */

/* Hero */
.gallery-hero {
  min-height: 38vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--navy);
  padding-top: 90px;
}

.gallery-hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 3rem 6%;
}

.gallery-hero-content .section-tag { justify-content: center; }
.gallery-hero-content .section-title { font-size: clamp(2.5rem, 5vw, 4rem); }

/* Section */
.gallery-section {
  padding: 4rem 6% 5rem;
  background: var(--dark-blue);
}

.gallery-section--alt {
  background: var(--navy);
}

/* Category Header */
.gallery-category-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.gallery-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
}

.gallery-category-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent-blue);
  white-space: nowrap;
}

/* Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1300px;
  margin: 0 auto;
}

/* Card */
.gallery-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.gallery-card:hover {
  border-color: var(--accent-blue);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(30,110,245,0.15);
}

.gallery-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 1.5rem;
}

.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-img-wrap img {
  transform: scale(1.06);
}

.gallery-card-info {
  padding: 1.1rem 1.25rem 1.4rem;
  border-top: 1px solid var(--border);
}

.gallery-card-info h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-blue);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.gallery-card-info ul {
  list-style: disc;
  padding-left: 1.1rem;
}

.gallery-card-info ul li {
  font-size: 0.78rem;
  color: var(--steel-gray);
  line-height: 1.6;
}

/* Active nav link */
.nav-active {
  color: var(--accent-blue) !important;
}
.nav-active::after {
  width: 100% !important;
}

/* Responsive */
@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .gallery-category-header { gap: 1rem; }
  .gallery-category-label { letter-spacing: 0.2em; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .gallery-img-wrap { padding: 1rem; }
}
