/* body {
    font-family: sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 20px;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
} */

.tabs {
    text-align: center;
    margin-bottom: 20px;
}

.tab-button {
    background-color: transparent;
    border: 0px solid #ddd;
    padding: 10px 20px;
    cursor: pointer;
    margin: 4px 5px;
    border-radius: 5px;
    transition: background-color 0.3s;
    color: #333;
}

.tab-button.active,
.tab-button:hover {
    background-color: #b07e50;
    color: #fff;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative; /* Required for absolute positioning of the icon */
    cursor: pointer;
    overflow: hidden;
    border-radius: 5px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* New styles for the zoom icon and overlay */
.gallery-item .zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.3s ease;
    z-index: 1;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover::before {
    background-color: rgba(0, 0, 0, 0.5);
}

.gallery-item:hover .zoom-icon {
    opacity: 1;
}

/* Popup styles remain the same */
.popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-image {
    max-width: 80%;
    max-height: 80%;
    border-radius: 5px;
}

.close-button,
.prev-button,
.next-button {
    position: absolute;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}

.close-button {
    top: 20px;
    right: 30px;
}

.prev-button,
.next-button {
    top: 50%;
    transform: translateY(-50%);
}

.prev-button {
    left: 20px;
}

.next-button {
    right: 20px;
}