/* Apply the background image to the body or a specific container */
body {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0;
    height: 100vh; /* Ensure the body covers the entire height of the viewport */
    display: flex;
    flex-direction: column;
}

/* Adjust the padding for smaller screen sizes */
@media (max-width: 768px) {
    body {
        padding-top: 50px; /* Adjust if the navbar is taller on mobile */
    }
}


/* Optional: Clearfix for layout issues */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.intro-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center; /* Center align the text */
 background-color: #f5f5f5; /* dark gray */
}

.intro-text h1 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 20px;
}

.intro-text h2 {
  font-size: 2rem;
  color: #007bff; /* Blue for emphasis */
  margin-bottom: 10px;
}

.intro-text .dynamic-text {
  font-weight: bold;
  font-size: 3rem; /* Increase this value for bigger text */
  color: #80B847; /* Highlight color */
}

.intro-text p {
  font-size: 1.1rem;
  line-height: 1.5;
  color: #555;
  margin-top: 15px;
}


/* Container for the swiper and overlay */
.intro-section {
  position: relative; /* This is important to allow the overlay to be positioned on top */
  width: 100%;
  height: 480px; /* Adjust as needed */
}
.swiper-container {
  width: 70%;
  max-width: 1000px;
  height: 400px;
  margin: auto;
  position: relative;
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9f9f9; /* Light background */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border-radius: 15px; /* Optional: rounded corners */
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 768px) { /* Tablet and smaller screens */
  .swiper-slide {
    width: 250px;
    height: 180px;
  }
}

@media (max-width: 480px) { /* Mobile screens */
  .swiper-slide {
    width: 200px;
    height: 150px;
  }
}

 /* Overlay Styles */
    .overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.8); /* Dark tint overlay */
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 10;
    }

    .overlay-text {
      color: white;
      font-size: 5rem;
      text-align: center;
      opacity: 0;
      transform: translateY(50px);
      transition: opacity 0.5s ease, transform 0.5s ease;
    }

    .overlay-text[data-aos="fade-up"] {
      opacity: 1;
      transform: translateY(0);
    }
    
   /* Album section */ 
.album-section {
   flex: 1; /* Allow the gallery section to take up available space */
   
}
  
/* Style for the category menu */
#category-menu {
    position: sticky;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

#category-menu button {
    margin: 0 10px;
    padding: 10px 20px;
    border: none;
    background-color: transparent;
    color: black;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#category-menu button:hover {
    background-color: #0056b3;
}


#gallery {
   line-height:0;
   -webkit-column-count:6; /* split it into 6 columns */
   -webkit-column-gap:5px; /* give it a 5px gap between columns */
   -moz-column-count:6;
   -moz-column-gap:5px;
   column-count:6;
   column-gap:5px;
   height: 1000px;
   overflow-y: auto; /* Enable vertical scrolling if content exceeds max height */
}
#gallery img {
   width: 100% !important;
   height: auto !important;
   margin: 5px; /* to match column gap */
   object-fit: contain; /* Makes sure the full image is displayed */
}
@media (max-width: 1200px) {
   #gallery {
    -moz-column-count:    5;
    -webkit-column-count: 5;
    column-count:         5;
   }
}
@media (max-width: 1000px) {
   #gallery {
    -moz-column-count:    4;
    -webkit-column-count: 4;
    column-count:         4;
   }
}
@media (max-width: 600px) {
   #gallery {
    -moz-column-count:    2;
    -webkit-column-count: 2;
    column-count:         2;
   }
}
@media (max-width: 800px) {
   #gallery {
    -moz-column-count:    2;
    -webkit-column-count: 2;
    column-count:         2;
   }
}
@media (max-width: 400px) {
   #gallery {
    -moz-column-count:    1;
    -webkit-column-count: 1;
    column-count:         1;
   }
}
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.3s;
    z-index: 1005;
}
.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}
.lightbox.active {
    visibility: visible;
    opacity: 1;
}
.close-lightbox{
  position: absolute;
  background: transparent;
  color: white;
  border: none;
  font-size: 3rem;
  cursor: pointer;
  z-index: 1016; /* Ensures it's above everything else */
}
.prev-lightbox, .next-lightbox {
    position: absolute;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
}
.close-lightbox { top: 20%; right: 20px; transform: translateY(-50%);}
.prev-lightbox { left: 20px; top: 50%; transform: translateY(-50%); }
.next-lightbox { right: 20px; top: 50%; transform: translateY(-50%); }
