
body {
    position: relative;
    padding-bottom:60px;
    margin:auto;
}
footer{
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1rem;
  text-align: right;
  background-color: #222;
  color:white;
}

/* IMAGE GRID STYLES 
–––––––––––––––––––––––––––––––––––––––––––––––––– 
*/
.image-grid figure {
  margin-bottom: 0;
}
.image-grid img {
  box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.2s;
}
.image-grid a:hover img {
  box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.35);
}
/* LIGHTBOX STYLES 
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.lightbox-modal .modal-content {
  background: var(--lightbox);
}
.lightbox-modal .btn-close {
  position: absolute;
  top: 20px;
  right: 18px;
  font-size: 1.2rem;
  z-index: 10;
}
.lightbox-modal .modal-body {
  display: flex;
  align-items: center;
  padding: 0;
  text-align: center;
}
.lightbox-modal img {
  width: auto;
  max-height: 100vh;
  max-width: 100%;
}
.lightbox-modal .carousel-caption {
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(36, 36, 36, 0.75);
}
.lightbox-modal .carousel-control-prev,
.lightbox-modal .carousel-control-next {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  width: auto;
}
.lightbox-modal .carousel-control-prev {
  left: 10px;
}
.lightbox-modal .carousel-control-next {
  right: 10px;
}


/* carousel css */
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700');

.container {
  margin-top: 50px;
  text-align: center;
}

.category-buttons {
  margin-bottom: 20px;
}

.category-buttons button {
  margin: 0 5px;
}

.carousel-caption {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px;
  bottom: 0;
  left: 0;
  right: 0;
  position: absolute;
  color: #fff;
}

.carousel-caption h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  margin: 0;
  line-height: 1.5;
}

.active {
  font-weight: bold;
}
carousel-control-prev, carousel-control-znext {z-index: 2!important;}


/* GALLERY THUMBNAIL STYLES - Instagram Style Columns
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.gallery-grid {
  column-count: 6;
  column-gap: 10px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.gallery-thumb {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 4px;
}

.gallery-thumb:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.category-title {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  border-bottom: 3px solid #007bff;
  padding-bottom: 10px;
  margin-top: 20px;
}

.gallery-title {
  font-size: 1.3rem;
  color: #555;
  margin-bottom: 15px;
}

.gallery-group {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
}

/* Gallery selection buttons */
.btn-group .btn {
  white-space: normal;
  text-align: left;
  min-height: 45px;
}

.btn-group .btn.active {
  background-color: #0d6efd;
  color: white;
  font-weight: bold;
}

/* Sidebar gallery thumbnails */
.gallery-sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px !important;
}

.sidebar-thumb-container {
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: 4px;
  flex-shrink: 0;
  position: relative;
}

.gallery-sidebar-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-sidebar-item span {
  flex: 1;
  line-height: 1.3;
}

/* Responsive adjustments */
@media (max-width: 1400px) {
  .gallery-grid {
    column-count: 5;
  }
}

@media (max-width: 1200px) {
  .gallery-grid {
    column-count: 4;
  }
}

@media (max-width: 992px) {
  .gallery-grid {
    column-count: 3;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    column-count: 2;
  }
  
  .category-title {
    font-size: 1.5rem;
  }
  
  .gallery-title {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    column-count: 1;
  }
}