/* ===== Gallery Section (light/navy theme) ===== */
:root {
    --gal-navy: #0F2A4A;
    --gal-navy-deep: #0A1F38;
    --gal-gold: #C9963E;
    --gal-bg: #F7F8FA;
    --gal-border: #E4E7EC;
    --gal-muted: #667085;
    --gal-side-w: 230px;
    --gal-side-h: 280px;
    --gal-center-w: 400px;
    --gal-center-h: 410px;
    --gal-gap: 24px;
}

.gallery-section {
    background: var(--gal-bg);
}

.gallery-slider-wrap {
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 60px;
}

.gallery-viewport {
    position: relative;
    overflow: hidden;
    height: var(--gal-center-h);
    display: flex;
    align-items: center;
}

.gallery-track {
    display: flex;
    align-items: center;
    gap: var(--gal-gap);
    will-change: transform;
    transition: transform 0.65s cubic-bezier(.25, .8, .3, 1);
    cursor: grab;
}

.gallery-track.dragging {
    transition: none;
    cursor: grabbing;
}

.gallery-slide {
    position: relative;
    flex: 0 0 auto;
    width: var(--gal-side-w);
    height: var(--gal-side-h);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    border: 1px solid var(--gal-border);
    transition: width 0.65s cubic-bezier(.25, .8, .3, 1), height 0.65s cubic-bezier(.25, .8, .3, 1), box-shadow 0.4s ease, opacity 0.4s ease;
    opacity: 0.65;
}

.gallery-slide.is-active {
    width: var(--gal-center-w);
    height: var(--gal-center-h);
    opacity: 1;
    box-shadow: 0 24px 48px -16px rgba(15, 42, 74, 0.28);
    z-index: 2;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    -webkit-user-drag: none;
    user-select: none;
}

.gallery-slide-tag {
    display: none;
    position: absolute;
    left: 14px;
    bottom: 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--gal-navy);
    background: rgba(255, 255, 255, 0.92);
    padding: 6px 12px;
    border-radius: 20px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-slide.is-active .gallery-slide-tag {
    opacity: 1;
    transform: translateY(0);
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--gal-border);
    color: var(--gal-navy);
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(15, 42, 74, 0.1);
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    z-index: 3;
}

.gallery-arrow:hover {
    background: var(--gal-navy);
    color: #fff;
    border-color: var(--gal-navy);
}

.arrow-prev {
    left: 0;
}

.arrow-next {
    right: 0;
}

.gallery-slider-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
}

.gallery-counter {
    font-size: 13px;
    letter-spacing: 0.04em;
    color: var(--gal-muted);
}

.gallery-counter strong {
    color: var(--gal-navy);
    font-weight: 700;
}

.gallery-viewall {
    padding: 10px 24px;
    font-size: 14px;
}

@media (max-width:820px) {
    :root {
        --gal-side-w: 140px;
        --gal-side-h: 200px;
        --gal-center-w: 250px;
        --gal-center-h: 280px;
        --gal-gap: 14px;
    }

    .gallery-slider-wrap {
        padding: 0 ;
    }

    .gallery-arrow {
        width: 38px;
        height: 38px;
        font-size: 13px;
    }
    .gallery-section {
    padding: 15px;
    background: #fff;
}
}

/* Lightbox */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 20, 35, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 5vh 5vw;
}

.gallery-lightbox.open {
    display: flex;
}

.gallery-lightbox-inner {
    position: relative;
    max-width: 1000px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-lightbox-inner img {
    max-width: 100%;
    max-height: 74vh;
    object-fit: contain;
    border-radius: 6px;
}

.gal-lb-caption {
    margin-top: 18px;
    text-align: center;
    color: #D0D5DD;
    font-size: 13px;
}

.gal-lb-caption strong {
    display: block;
    font-size: 20px;
    color: #fff;
    margin-bottom: 6px;
    font-weight: 600;
}

.gal-lb-close,
.gal-lb-prev,
.gal-lb-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease;
}

.gal-lb-close:hover,
.gal-lb-prev:hover,
.gal-lb-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

.gal-lb-close {
    top: -60px;
    right: 0;
}

.gal-lb-prev {
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
}

.gal-lb-next {
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width:960px) {
    .gal-lb-prev {
        left: 8px;
    }

    .gal-lb-next {
        right: 8px;
    }
}

@media(max-width: 768px) {


}