.navbar-brand img {
    height: 64px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(212, 168, 75, 0.4));
    transition: filter 0.3s;
}

/* ---- Gallery page ---- */
.gallery-section {
    padding: 5rem 0;
    background: var(--bg-section);
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.5rem 1.3rem;
    cursor: pointer;
    transition: all 0.25s;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #1a100a;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

@media (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 479px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    border: 1px solid var(--border);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item .gal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 10, 4, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s;
}

.gallery-item:hover .gal-overlay {
    opacity: 1;
}

.gallery-item .gal-overlay i {
    font-size: 1.8rem;
    color: var(--gold);
}

.gallery-item .gal-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(20, 10, 4, 0.9), transparent);
    padding: 1.2rem 0.8rem 0.6rem;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-light);
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gal-label {
    transform: translateY(0);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(10, 5, 2, 0.96);
    align-items: center;
    justify-content: center;
}

.lightbox.open {
    display: flex;
}

.lightbox-inner {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-inner img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    display: block;
    border: 1px solid var(--border);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 1.8rem;
    cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(212, 168, 75, 0.15);
    border: 1px solid var(--border);
    color: var(--gold);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0.5rem 0.9rem;
    transition: background 0.2s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(212, 168, 75, 0.3);
}

.lightbox-prev {
    left: -55px;
}

.lightbox-next {
    right: -55px;
}
