/* ── Gallery Page Styles ── */
.gallery-hero-banner {
    background: linear-gradient(135deg, #07192f 0%, #0b2545 60%, #13315c 100%);
    position: relative;
    overflow: hidden;
}
.gallery-hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(245, 166, 35, 0.15) 0%, transparent 60%);
    pointer-events: none;
}
.letter-spacing-1 {
    letter-spacing: 0.08em;
}

/* Category Filter Buttons */
.btn-gallery-filter {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.25s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.btn-gallery-filter:hover {
    background: #edf4fe;
    color: #0b2545;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}
.btn-gallery-filter.active {
    background: #0b2545;
    color: #ffffff;
    border-color: #0b2545;
    box-shadow: 0 4px 12px rgba(11, 37, 69, 0.25);
}
.filter-count-badge {
    background: #f1f5f9;
    color: #64748b;
    border-radius: 20px;
    padding: 0.1rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
}
.btn-gallery-filter.active .filter-count-badge {
    background: #f5a623;
    color: #0b2545;
}

/* Photo Card */
.gallery-card-item {
    cursor: pointer;
    background: #ffffff;
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.35s ease;
}
.gallery-card-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(11, 37, 69, 0.15) !important;
}
.gallery-card-img-wrap {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #f1f5f9;
}
.gallery-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.gallery-card-item:hover .gallery-card-img {
    transform: scale(1.08);
}
.gallery-card-cat-pill {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(11, 37, 69, 0.82);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.7rem;
    border-radius: 30px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    z-index: 3;
}
.gallery-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 25, 47, 0.92) 0%, rgba(7, 25, 47, 0.45) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
    z-index: 2;
}
.gallery-card-item:hover .gallery-card-overlay {
    opacity: 1;
}
.gallery-zoom-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f5a623;
    color: #0b2545;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 4px 10px rgba(245, 166, 35, 0.4);
    transform: translateY(10px);
    transition: transform 0.3s ease;
}
.gallery-card-item:hover .gallery-zoom-circle {
    transform: translateY(0);
}
.gallery-card-title {
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    line-height: 1.3;
}
.gallery-card-hint {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    font-weight: 500;
}

/* Lightbox Modal */
.lightbox-img-holder {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
}
.lightbox-close-btn:hover {
    background: #f5a623 !important;
    color: #0b2545 !important;
}

/* Filter Hide/Show Transitions */
.gallery-grid-card.is-hidden {
    display: none !important;
}