/* ═══════════════════════════════════════
   Gallery Lightbox Styles — Blue Concept
═══════════════════════════════════════ */

/* "Ver mais" overlay wrapper */
.bc-gallery-more-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.bc-gallery-more-wrap img {
    display: block;
    width: 100%;
}

.bc-gallery-more-btn {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(11, 29, 58, 0.65);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    color: #F7F9FC;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: background 0.3s;
}

.bc-gallery-more-btn:hover {
    background: rgba(11, 29, 58, 0.8);
}

.bc-gallery-more-btn svg {
    opacity: 0.7;
}

/* Gallery images cursor */
.bc-proj-gallery img {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bc-proj-gallery img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* ─── Preview Strip ─── */
.bc-gallery-preview-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 16px 0;
    grid-column: 1 / -1;
    flex-wrap: wrap;
}

.bc-gallery-preview-strip::-webkit-scrollbar {
    display: none;
}

.bc-gallery-preview-thumb,
.bc-proj-gallery .bc-gallery-preview-thumb {
    width: 56px !important;
    height: 40px !important;
    min-width: 56px;
    object-fit: cover;
    border-radius: 6px;
    opacity: 0.45;
    cursor: pointer;
    flex-shrink: 0;
    transition: opacity 0.2s, transform 0.2s;
    border: 1px solid rgba(11, 29, 58, 0.12);
    grid-column: auto !important;
    background: #e8e4df;
}

.bc-gallery-preview-thumb:hover,
.bc-proj-gallery .bc-gallery-preview-thumb:hover {
    opacity: 0.9;
    transform: scale(1.1) !important;
    box-shadow: none !important;
}

.bc-gallery-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: none;
    border: 1px solid rgba(11, 29, 58, 0.2);
    color: #0B1D3A;
    border-radius: 50px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.bc-gallery-view-all:hover {
    background: #0B1D3A;
    border-color: #0B1D3A;
    color: #F7F9FC;
}

.bc-gallery-view-all svg {
    flex-shrink: 0;
}

/* ─── Full-screen Lightbox ─── */
.bc-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.bc-lightbox.bc-lb-active {
    opacity: 1;
    visibility: visible;
}

.bc-lb-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.bc-lb-close {
    position: absolute;
    top: 20px;
    right: 24px;
    z-index: 10;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.2rem;
    cursor: pointer;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.bc-lb-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.bc-lb-content {
    position: relative;
    z-index: 5;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bc-lb-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 16px 80px rgba(0, 0, 0, 0.5);
    transition: opacity 0.2s ease;
}

.bc-lb-prev,
.bc-lb-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.bc-lb-prev {
    left: 20px;
}

.bc-lb-next {
    right: 20px;
}

.bc-lb-prev:hover,
.bc-lb-next:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
}

.bc-lb-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    letter-spacing: 2px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Mobile adjustments */
@media (max-width: 768px) {

    .bc-lb-prev,
    .bc-lb-next {
        width: 40px;
        height: 40px;
    }

    .bc-lb-prev {
        left: 8px;
    }

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

    .bc-lb-prev svg,
    .bc-lb-next svg {
        width: 20px;
        height: 20px;
    }

    .bc-lb-close {
        top: 12px;
        right: 12px;
    }
}