body {
    background-color: #fff; /* Light purple background */
    color: black;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
}

.navbar-brand span{
	font-size:18px;
	font-family:Helvetica;
	padding-left:10px !impotant;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Space between images */
    justify-content: center;
}

/* Images */
.gallery img {
    width: calc(33.33% - 10px); /* Default: 3 images per row */
    border-radius: 10px;
	max-height: 400px; /* picture height adjust */
	object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

.lightbox.show {
    display: flex;
}

/* Lightbox Image */
.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    position: relative;
}

/* Close Button Inside Image */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    color: white;
    cursor: pointer;
    font-weight: 100; /* Thin icon */
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    padding: 5px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-in-out;
}

.close-btn:hover {
    transform: scale(1.2);
}


.pagination {
  text-align: center;
  margin-left:70%;
}

.pagination a {
	
	font-size:1.5rem;
  display: inline-block;
  padding: 8px 12px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.pagination a:hover {
  background-color: #8870CF;
  color: white;
  border-color: #007BFF;
}

.actives{
	color:#000;
}



/* 🔹 Responsive Styles */
@media (max-width: 768px) {
    .gallery img {
         /* 2 images per row */
		 width: calc(50% - 10px);
		 max-height: 118.55px;
    }
}

@media (max-width: 480px) {
    .gallery img {
         /* 1 image per row */
		 width: 100%;
		 max-height: 118.55px;
		 
    }
	
	.lightbox img {
    max-width: 90vw; /* Use viewport width for better responsiveness  */
    max-height: 80vh; /* Prevent overflow on small screens */
    border-radius: 10px;
    object-fit: contain; /* Ensure the whole image is visible */
    padding: 10px; /* Add spacing around the image */
	align-items:center;
	background: rgba(0, 0, 0, 0.8);
	display: flex; 
	justify-content: center; 
	margin-bottom:70%;
	
	}

}

/* second image edit */


@media (max-width: 768px) {
  .gallery img {
    width: calc(50% - 10px);
    max-height: 118.55px;
  }
}

@media (max-width: 480px) {
  .gallery img {
    width: 100%;
    max-height: 118.55px;
  }
  
  	.pagination {
  text-align: center;
  margin-left:-5%;
	}
}
