/* Styl dla lightbox galerii */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    display: block;
    margin: 0 auto;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(84, 104, 25, 0.7);
    transition: background-color 0.3s ease;
}

.lightbox-close:hover {
    background-color: #546819;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 10000;
}

/* Styl przycisków nawigacji w lightbox - podobny do przycisków w sekcji inwestycji */
.lightbox-prev,
.lightbox-next {
    background-color: #546819;
    color: #F9F9F0;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: #323E0F;
}

/* Modyfikacja przycisków nawigacji w galerii mobilnej - styl podobny do przycisków w sekcji inwestycji */
.mob-gallery .owl-carousel .owl-nav button.owl-next,
.mob-gallery .owl-carousel .owl-nav button.owl-prev {
    background-color: #546819;
    color: #F9F9F0;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 18px;
    margin: 0 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: normal;
}

.mob-gallery .owl-carousel .owl-nav button.owl-next:hover,
.mob-gallery .owl-carousel .owl-nav button.owl-prev:hover {
    background-color: #323E0F;
}

.mob-gallery .owl-theme .owl-nav {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
}

/* Licznik slajdów */
.slider-counter {
    margin-top: 20px;
    text-align: center;
    font-family: "DegularDisplayLight", sans-serif;
    color: #546819;
}