/* --- GLOBAL CONTAINER --- */
.container {
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 15px;
}

/* --- HERO & TYPOGRAPHY --- */
.gallery-hero {
  padding: 100px 0 40px;
  text-align: center;
  background: #fff;
}
.sub-title {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #94a3b8;
}
.main-title {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  color: #0f172a;
  margin-top: 10px;
}
.italic-gold {
  font-style: italic;
  color: #d4af37;
}

/* --- SECTIONS --- */
.gallery-section {
  padding: 60px 0;
}
.section-label {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  margin-bottom: 35px;
  border-left: 4px solid #d4af37;
  padding-left: 20px;
  letter-spacing: 1px;
}
.bg-dark {
  background: #0f172a;
  color: #fff;
}
.section-label.gold {
  color: #d4af37;
}

/* --- COMPACT MASONRY --- */
.photo-masonry {
  column-count: 4;
  column-gap: 15px;
}
.photo-item {
  margin-bottom: 15px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.photo-item img {
  width: 100%;
  display: block;
  transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.photo-item:hover img {
  transform: scale(1.05);
}

.item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(212, 175, 55, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.3s;
}
.photo-item:hover .item-overlay {
  opacity: 1;
}
.item-overlay i {
  color: #fff;
  font-size: 1.5rem;
}

/* --- RESPONSIVE VIDEO GRID --- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.video-card {
  cursor: pointer;
  position: relative;
}
.video-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  transition: 0.3s;
}
.play-btn i {
  font-size: 3rem;
  color: #fff;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.video-card:hover .play-btn {
  background: rgba(214, 175, 55, 0.6);
}

/* --- LIGHTBOX --- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.98);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox img {
  max-width: 90%;
  max-height: 80vh;
  border: 8px solid #fff;
}
.video-container {
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16/9;
}
.close-lightbox {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 1024px) {
  .photo-masonry {
    column-count: 3;
  }
  .main-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .photo-masonry {
    column-count: 2;
    column-gap: 10px;
  }
  .photo-item {
    margin-bottom: 10px;
  }
  .gallery-hero {
    padding: 60px 0 30px;
  }
  .main-title {
    font-size: 2.2rem;
  }
  .section-label {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .container {
    width: 95%; /* More space for art on small mobile */
  }
  .video-grid {
    grid-template-columns: 1fr;
  }
  .photo-masonry {
    column-count: 2;
  }
  .lightbox img {
    border-width: 4px;
  }
}
