/* ===== SERVICES CARD - CLICK CURSOR + VIEW BTN ===== */
.services-card[data-gallery] {
    cursor: pointer;
}

.services-card-view-btn {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 100px;
    font-family: 'Clash Display', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #ffffff;
    padding: 8px 20px;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    pointer-events: none;
}

.services-card[data-gallery]:hover .services-card-view-btn {
    opacity: 1;
}

/* ===== FULLSCREEN LIGHTBOX ===== */
.slb-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999999;
    align-items: center;
    justify-content: center;
}

.slb-overlay.active {
    display: flex;
}

/* Full screen image */
.slb-img-wrap {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slb-img-wrap img {
    max-width: 100vw;
    max-height: 100vh;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Close button - top right */
.slb-close {
    position: fixed;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.slb-close span {
    display: block;
    width: 28px;
    height: 2px;
    background: #ffffff;
}

.slb-close span:nth-child(1) {
    transform: translateY(1px) rotate(45deg);
}

.slb-close span:nth-child(2) {
    transform: translateY(-1px) rotate(-45deg);
}

/* Left arrow */
.slb-prev {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #ffffff;
    font-size: 22px;
    width: 52px;
    height: 52px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s ease;
}

/* Right arrow */
.slb-next {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #ffffff;
    font-size: 22px;
    width: 52px;
    height: 52px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s ease;
}

.slb-prev:hover,
.slb-next:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Counter - bottom center */
.slb-counter {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Clash Display', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    z-index: 10;
    background: rgba(0,0,0,0.4);
    padding: 6px 16px;
    border-radius: 100px;
}

/* Hide unused modal elements */
.slb-modal,
.slb-header,
.slb-title,
.slb-thumbs {
    display: none !important;
}

/* Mobile */
@media (max-width: 768px) {
    .slb-prev {
        left: 10px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .slb-next {
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .services-card-view-btn {
        opacity: 1;
    }
}