/* Gallery Section */

.gallery {
    text-align: center;
    padding: 20px;
    color: #e6ffe6;
}

.gallery h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    padding: 10px;
    justify-content: center;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    text-align: center;
     max-width: 100%;
    height: auto;
}

.gallery-item img {
    max-width: 100%;
    height: 100;
    object-fit: fill;
    display: fill;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item .description {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .description {
    opacity: 1;
}
