/* Photo Gallery Styles - Replicating video gallery design */
.photo-gallery-container {
  max-width: 1200px;
  margin: 0 auto;
}

#photo-gallery-mg,
#photo-gallery-street,
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  grid-auto-rows: 180px;
  grid-gap: 15px;
  padding: 20px 0;
}

#photo-gallery-mg a,
#photo-gallery-street a,
.photo-gallery 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);
}

/* Large items for visual variety */
#photo-gallery-mg a.large-item,
#photo-gallery-street a.large-item,
.photo-gallery a.large-item {
  grid-column: span 2;
  grid-row: span 2;
}

#photo-gallery-mg a:hover,
#photo-gallery-street a:hover,
.photo-gallery a:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8);
}

#photo-gallery-mg a img,
#photo-gallery-street a img,
.photo-gallery a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

#photo-gallery-mg a:hover img,
#photo-gallery-street a:hover img,
.photo-gallery a:hover img {
  transform: scale(1.05);
}

/* Header photo styles */
#Header-gallery {
  height: 500px;
  overflow: hidden;
  width: 100%;

  margin-bottom: 20px;
}

#Header-gallery a {
  display: block;
  width: 100%;
  height: 100%;
}

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

/* Section headers */
.photo-section-header {
  text-align: center;
  margin: 40px auto;
  max-width: 600px;
  width: 100%;
  
  
}

.photo-section-header h3 {
  font-size: 3rem;
  font-weight: 700;
  color: #cadb2d;
  margin-bottom: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.photo-section-header p {
  font-size: 2rem;
  color: #ffffff;
  margin: 0;
  font-weight: 300;
}

/* Responsive design */
@media only screen and (max-width: 550px) {

  #photo-gallery-mg,
  #photo-gallery-street,
  .photo-gallery {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    grid-auto-rows: 150px;
    grid-gap: 10px;
    padding: 15px 0;
  }

  #photo-gallery-mg a.large-item,
  #photo-gallery-street a.large-item,
  .photo-gallery a.large-item {
    grid-column: span 1;
    grid-row: span 1;
  }

  #Header-gallery {
    height: 300px;
  }

  .photo-section-header h3 {
    font-size: 2rem;
  }

  .photo-section-header p {
    font-size: 1.2rem;
  }
}

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

  #photo-gallery-mg,
  #photo-gallery-street,
  .photo-gallery {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    grid-auto-rows: 160px;
    grid-gap: 12px;
  }

  #photo-gallery-mg a.large-item,
  #photo-gallery-street a.large-item,
  .photo-gallery a.large-item {
    grid-column: span 2;
    grid-row: span 1;
  }

  #Header-gallery {
    height: 400px;
  }
}

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

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

  #photo-gallery-mg,
  #photo-gallery-street,
  .photo-gallery {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-auto-rows: 200px;
  }
}

/* Bootstrap grid override for photo galleries */
.photo-gallery-container .row {
  margin: 0;
}

.photo-gallery-container .col-lg-12,
.photo-gallery-container .col-lg-6 {
  padding: 0;
}