/* slider.css */

/*
.bobil-slider {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.bobil-slider-container {
    position: relative;
    height: 800px; /* Adjust as needed */
   /* cursor: grab;
}
/*
.bobil-slider-container:active {
    cursor: grabbing;
}

.bobil-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: none;
    pointer-events: none;
}

.bobil-slide.active {
    opacity: 1;
    display: block;
    pointer-events: auto;
}

.bobil-slide img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    -webkit-user-drag: none;
}

.bobil-prev,
.bobil-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 20px;
    cursor: pointer;
    transition: opacity 0.3s;
    opacity: 0;
    z-index: 2;
    touch-action: manipulation;
    width: 60px;
    height: 60px;
}

/* Make buttons more visible and always shown on touch devices */

/*
 
@media (max-width: 768px) {
    .bobil-prev,
    .bobil-next {
        opacity: 1;
        background: rgba(0, 0, 0, 0.3);
    }
}

.bobil-slider:hover .bobil-prev,
.bobil-slider:hover .bobil-next {
    opacity: 1;
}

.bobil-prev {
    left: 0;
}

.bobil-next {
    right: 0;
}

.bobil-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 2;
}

/*************************************************************************************************************************/

/* slider.css */
.bobil-slider {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}
.bobil-slider-container {
    position: relative;
    height: 800px; /* Adjust as needed */
    cursor: grab;
}
.bobil-slider-container:active {
    cursor: grabbing;
}
.bobil-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: none;
    pointer-events: none;
}

/* Background container for blur effect */
.bobil-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.bobil-slide-bg-inner {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    filter: blur(15px);
}
.bobil-slide.active {
    opacity: 1;
    display: block;
    pointer-events: auto;
}
.bobil-slide img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    -webkit-user-drag: none;
    z-index: 1;
}
.bobil-prev,
.bobil-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 20px;
    cursor: pointer;
    transition: opacity 0.3s;
    opacity: 0;
    z-index: 5;
    touch-action: manipulation;
    width: 60px;
    height: 60px;
}
/* Make buttons more visible and always shown on touch devices */
@media (max-width: 768px) {
    .bobil-prev,
    .bobil-next {
        opacity: 1;
        background: rgba(0, 0, 0, 0.3);
    }
}
.bobil-slider:hover .bobil-prev,
.bobil-slider:hover .bobil-next {
    opacity: 1;
}
.bobil-prev {
    left: 0;
}
.bobil-next {
    right: 0;
}
.bobil-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 2;
}

/* Lightbox styling */
.bobil-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.bobil-lightbox.active {
    display: flex;
}

.bobil-lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.bobil-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bobil-lightbox-prev,
.bobil-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 30px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s, opacity 0.3s;
}

.bobil-lightbox-prev:hover,
.bobil-lightbox-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.bobil-lightbox-prev {
    left: 20px;
}

.bobil-lightbox-next {
    right: 20px;
}

/***********************************************************************************************************-******************/
/* Styling for lightbox counter */
.bobil-lightbox-counter {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 2;
}