.gp-filter {
    text-align: center;
    margin: 40px 0;
}
.gp-filter button {
    padding: 10px 25px;
    border-radius: 25px;
    border: none;
    margin: 5px;
    background: #eee;
    cursor: pointer;
}
.gp-filter button.active {
    background: #b56a2c;
    color: #fff;
}

.gp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.gp-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}
.gp-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gp-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;

    opacity: 0;
    transform: translateY(100%);
    transition: all 0.4s ease;
}

.gp-tag {
    background: #b56a2c;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 12px;
}
.gp-item:hover .gp-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Popup */
.gp-popup {
    display: none;
    position: fixed;
    top:0; left:0;
    width:100%; height:100%;
    background: rgba(0,0,0,0.85);
    z-index:9999;
    text-align: center;
}
.gp-popup-content {
    position: relative;
    display: inline-block;
    margin: 50px auto;
    text-align: center;
}
.gp-popup img {
    max-width: 80%;
    display:block;
    margin: 0 auto;
}
.gp-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 22px;
    color: #fff;
    background: rgba(0,0,0,0.6);
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
}
#gp-popup-text {
    text-align:center;
    color:#fff;
}
@media (max-width: 1024px) {
    .gp-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 600px) {
    .gp-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}