﻿/* Tabs */
.tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background: #fff;
    padding: 10px;
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    margin: 5px;
    background: #2C5530;
    border-radius: 20px;
    transition: 0.3s;
    color:#fff;
}

    .tab.active, .tab:hover {
        background: #B68D40;
    }

/* Gallery Grid */
.gallery {
    display: none;
    padding: 20px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

    .gallery.active {
        display: grid;
    }

    .gallery img {
        width: 100%;
        border-radius: 10px;
        cursor: pointer;
        transition: 0.3s;
    }

        .gallery img:hover {
            transform: scale(1.05);
        }

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
}

.modal-content {
    display: block;
    margin: auto;
    max-width: 80%;
    max-height: 80%;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    cursor: pointer;
}

/* Navigation arrows */
.prev, .next {
    position: absolute;
    top: 50%;
    font-size: 40px;
    padding: 10px;
    cursor: pointer;
    color: white;
    user-select: none;
    transform: translateY(-50%);
}

.prev {
    left: 30px;
}

.next {
    right: 30px;
}

@media(max-width: 600px) {
    .modal-content {
        max-width: 95%;
    }
}
