/* CONSTANTS */
:root {
    --xb: 2rem; /* Header font size */
    --b: 1.5rem;     /* Paragraph font size */
    --m:1rem;
    --s:0.6rem;
  }


/* GALLERY BANNER SECTION */

    /* Banner Section */
    #galleryBanner {
        position: relative;
        height: 60vh;
        background-image: url('/finalImages/lathikathi/2.jpg'); /* Replace with your banner image URL */
        background-size: cover;
        background-position: center;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: #fff;
    }
    
    #galleryBanner .banner-content {
        position: relative;
        z-index: 1;
        max-width: 700px;
        text-align: center;
        padding: 20px;
        background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
        border-radius: 10px;
    }
    
    #galleryBanner .banner-content h1 {
        font-size: var(--xb);
        margin-bottom: 10px;
        color: #f58634; /* Saffron color */
    }
    
    #galleryBanner .banner-content p {
        font-size: var(--b);
    }
    

    



   

/* GALLERY SECTION */
#gallery-section {
    margin-top: 50px;
}

#gallery-section h3 {
    text-align: center;
    margin-bottom: 50px;
    font-size: var(--xb); /* Adjust font size for header */
}

#gallery-section .gallery-container {
    margin: auto;
    width: 80%;
}

#gallery-section .filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

#gallery-section .filter-button {
    background: none;
    border: 1px solid #ccc;
    margin: 5px;
    padding: 8px 15px; /* Smaller padding for mobile */
    cursor: pointer;
    font-size: var(--m); /* Adjust font size for mobile */
    transition: background 0.3s;
    flex: 1 0 30%;  /* Make buttons responsive: take up 30% of the row */
    max-width: 150px;  /* Limit the maximum width of the buttons */
}

#gallery-section .filter-button.active, 
#gallery-section .filter-button:hover {
    background: #f58634;
    color: #fff;
}

#gallery-section .gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
}

#gallery-section .gallery-item {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    padding: 10px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

#gallery-section .gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

#gallery-section .gallery-item h3 
{
    margin: 10px 0;
    font-size: var(--b);  /* Adjust font size for smaller text */
}

#gallery-section .gallery-item p 
{
    margin: 10px 0;
    font-size: var(--m);  /* Adjust font size for smaller text */
}

#gallery-section .pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

#gallery-section .pagination button {
    background: none;
    border: none;
    margin: 0 5px;
    font-size: var(--m);
    cursor: pointer;
}

#gallery-section .pagination button.active {
    font-weight: bold;
}


/* Media Query for screens smaller than 900px */
@media screen and (max-width: 900px) {
    #gallery-section .gallery {
        grid-template-columns: repeat(2, 1fr);  /* Change to 2 columns */
    }
    #gallery-section .gallery {
        grid-template-columns: repeat(1, 1fr);  /* Ensure 2 columns */
    }

    #gallery-section h3{
        font-size: var(--b);
    }

    #gallery-section .filters {
        justify-content: center;
    }

    #gallery-section .gallery-item h3 
{
    font-size: var(--m);  /* Adjust font size for smaller text */
}


    #gallery-section .filter-button {
        flex: 1 0 50%;  /* Make buttons take up 45% of the width */
        max-width: 150px;
        font-size: var(--m);  /* Smaller font size */
    }
}









