body {
    background-color: #f8f9fa;
    font-family: 'Arial', sans-serif;
}

.filter-buttons .btn {
    margin: 5px;
    transition: 0.3s;
}

.filter-buttons .btn:hover {
    background-color: #007bff;
    color: white;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery-item {
    position: relative;
    margin-bottom: 20px;
}
.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.image-container img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Zoom Effect on Hover */
.image-container:hover img {
    transform: scale(1.1);
}

/* Overlay that appears on hover */
.overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    opacity: 0; /* Initially hidden */
    transition: opacity 0.3s ease;
}

/* Show the overlay when hovering over the image */
.image-container:hover .overlay {
    opacity: 1;
}
