/* Ottawa Pro Cleaners – PHP site overrides */

.nav-dropdown-menu.open {
    display: block;
}

#mobile-menu.open {
    display: block;
}

.faq-answer {
    display: none;
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-item.open .faq-icon-plus {
    display: none;
}

.faq-item:not(.open) .faq-icon-minus {
    display: none;
}

[style*="opacity:0"] {
    opacity: 1 !important;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.gallery-lightbox.hidden {
    display: none;
}

.gallery-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
}

.gallery-lightbox-panel {
    position: relative;
    z-index: 1;
    width: min(1100px, 100%);
    max-height: 90vh;
}

.gallery-lightbox-figure {
    margin: 0;
}

.gallery-lightbox-figure img {
    display: block;
    max-height: calc(90vh - 4rem);
    width: 100%;
    margin: 0 auto;
    border-radius: min(1rem, var(--shape-radius));
    object-fit: contain;
    background: #111;
}

.gallery-lightbox-caption {
    margin-top: 0.75rem;
    text-align: center;
    color: #fff;
    font-size: 0.95rem;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
    position: absolute;
    z-index: 2;
    border: 0;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    cursor: pointer;
    line-height: 1;
    transition: background 0.2s ease;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.gallery-lightbox-close {
    top: -0.5rem;
    right: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    font-size: 1.75rem;
}

.gallery-lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    font-size: 1.25rem;
}

.gallery-lightbox-prev {
    left: -0.25rem;
}

.gallery-lightbox-next {
    right: -0.25rem;
}

@media (min-width: 768px) {
    .gallery-lightbox-prev {
        left: -3.5rem;
    }

    .gallery-lightbox-next {
        right: -3.5rem;
    }
}

body.gallery-lightbox-open {
    overflow: hidden;
}
