.gallery-container {
  max-width: 1200px;
  margin: 0 auto;


}

#video-gallery,
#video-gallery-food,
#video-gallery-events,
#video-gallery-trends {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  grid-auto-rows: 180px;
  grid-gap: 15px;
  padding: 20px 0;
}

#video-gallery a,
#video-gallery-food a,
#video-gallery-events a,
#video-gallery-trends a {
  display: block;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

#video-gallery a[data-lg-size="720-1280"],
#video-gallery-food a[data-lg-size="720-1280"],
#video-gallery-events a[data-lg-size="720-1280"],
#video-gallery-trends a[data-lg-size="720-1280"] {
  grid-row: span 2;
}

/* Large items for visual variety */
#video-gallery a.large-item,
#video-gallery-food a.large-item,
#video-gallery-events a.large-item,
#video-gallery-trends a.large-item {
  grid-column: span 2;
  grid-row: span 2;
}

#video-gallery a:hover,
#video-gallery-food a:hover,
#video-gallery-events a:hover,
#video-gallery-trends a:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8);
}

#video-gallery a img,
#video-gallery-food a img,
#video-gallery-events a img,
#video-gallery-trends a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

#video-gallery a:hover img,
#video-gallery-food a:hover img,
#video-gallery-events a:hover img,
#video-gallery-trends a:hover img {
  transform: scale(1.05);
}

/* Hide GIF images by default, show on hover */
#video-gallery a img[src*=".gif"],
#video-gallery-food a img[src*=".gif"],
#video-gallery-events a img[src*=".gif"],
#video-gallery-trends a img[src*=".gif"] {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
}

#video-gallery a:hover img[src*=".gif"],
#video-gallery-food a:hover img[src*=".gif"],
#video-gallery-events a:hover img[src*=".gif"],
#video-gallery-trends a:hover img[src*=".gif"] {
  opacity: 1;
}

#video-gallery a:hover img:not([src*=".gif"]),
#video-gallery-food a:hover img:not([src*=".gif"]),
#video-gallery-events a:hover img:not([src*=".gif"]),
#video-gallery-trends a:hover img:not([src*=".gif"]) {
  opacity: 0;
}

#video-gallery a::before,
#video-gallery-food a::before,
#video-gallery-events a::before,
#video-gallery-trends a::before {
  display: none;
  content: "\25B6";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  color: white;
  opacity: 0.8;
  z-index: 1;
}





@media only screen and (max-width: 550px) {

  #video-gallery,
  #video-gallery-food,
  #video-gallery-events,
  #video-gallery-trends {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    grid-auto-rows: 150px;
    grid-gap: 10px;
    padding: 15px 0;
  }

  #video-gallery a.large-item,
  #video-gallery-food a.large-item,
  #video-gallery-events a.large-item,
  #video-gallery-trends a.large-item {
    grid-column: span 1;
    grid-row: span 1;
  }

  #video-gallery a[data-lg-size="720-1280"],
  #video-gallery-food a[data-lg-size="720-1280"],
  #video-gallery-events a[data-lg-size="720-1280"],
  #video-gallery-trends a[data-lg-size="720-1280"] {
    grid-row: span 1;
  }
}

@media all and (max-width: 1025px) and (min-width: 551px) {

  #video-gallery,
  #video-gallery-food,
  #video-gallery-events,
  #video-gallery-trends {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    grid-auto-rows: 160px;
    grid-gap: 12px;
  }

  #video-gallery a.large-item,
  #video-gallery-food a.large-item,
  #video-gallery-events a.large-item,
  #video-gallery-trends a.large-item {
    grid-column: span 2;
    grid-row: span 1;
  }

  #video-gallery a[data-lg-size="720-1280"],
  #video-gallery-food a[data-lg-size="720-1280"],
  #video-gallery-events a[data-lg-size="720-1280"],
  #video-gallery-trends a[data-lg-size="720-1280"] {
    grid-row: span 2;
  }
}

@media all and (min-width: 1026px) {

  #video-gallery,
  #video-gallery-food,
  #video-gallery-events,
  #video-gallery-trends {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-auto-rows: 200px;
  }
}

/* Navigation Buttons */
.navigation-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
  margin: 40px 0;
  padding: 0 20px;
}

.nav-button {
  display: block;
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

.nav-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(202, 219, 45, 0.3);
}

.nav-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.nav-button:hover img {
  transform: scale(1.05);
}

/* Hide GIF images by default, show on hover */
.nav-button img[src*=".gif"] {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
}

.nav-button:hover img[src*=".gif"] {
  opacity: 1;
}

.nav-button:hover img:not([src*=".gif"]) {
  opacity: 0;
}

.nav-button-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 20px 15px 15px;
  text-align: center;
}

.nav-button-overlay h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #cadb2d;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Responsive Navigation Buttons */
@media only screen and (max-width: 768px) {
  .navigation-buttons {
    grid-template-columns: 1fr;
    grid-gap: 15px;
    padding: 0 10px;
  }

  .nav-button-overlay h4 {
    font-size: 0.9rem;
  }
}

@media only screen and (max-width: 992px) and (min-width: 769px) {
  .navigation-buttons {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive Header Gallery Video */
#Header-gallery {
  height: 500px;
  overflow: hidden;
  width: 100%;
}

#Header-gallery video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media only screen and (max-width: 768px) {
  #Header-gallery {
    height: 300px;
  }
}

@media only screen and (max-width: 992px) and (min-width: 769px) {
  #Header-gallery {
    height: 400px;
  }
}

@media only screen and (max-width: 1200px) and (min-width: 993px) {
  #Header-gallery {
    height: 450px;
  }
}