
/* ===== GALLERY ===== */

.gallery-grid {
    margin-top: 1%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    background: #eee;
}

.gallery-item img {
    width: 100%;
    height: 220px;
    min-height: 220px;
    object-fit: cover;
    display: block;
}

/* ===== LIGHTBOX ===== */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 5000;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 85%;
    max-height: 85%;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    user-select: none;
}

.lightbox-close {
    top: 30px;
    right: 40px;
    font-size: 45px;
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-close:hover {
    color: var(--gold);
}

/* ===== PAGINATION ===== */

.gallery-pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.gallery-page,
.gallery-arrow {
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s ease;
    border: 1px solid #ddd;
    background: #fff;
}

.gallery-page:hover,
.gallery-arrow:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.gallery-page.active {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
}

.gallery-pagination {
    flex-wrap: wrap;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}