

/* Start:/local/templates/default/components/custom/gallery.slider/presentation/style.css?17797766374917*/
<?
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");
$APPLICATION->SetTitle("Title");
?>/* Стили для слайдера */
.modern-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.modern-slider__container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.modern-slider__wrapper {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.modern-slider__slide {
    flex-shrink: 0;
    width: 100%;
    position: relative;
    background: #f5f5f5;
    cursor: pointer;
}

.modern-slider__image,
.modern-slider__video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

.modern-slider__content {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    font-size: 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* Кнопки навигации */
.modern-slider__button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.modern-slider__button:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.modern-slider__button--prev {
    left: 20px;
}

.modern-slider__button--next {
    right: 20px;
}

/* Dots/индикаторы */
.modern-slider__dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.modern-slider__dot {
    width: 30px;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modern-slider__dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.modern-slider__dot--active {
    background: white;
    width: 40px;
}

/* Счётчик слайдов */
.modern-slider__counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-family: monospace;
    z-index: 10;
    backdrop-filter: blur(5px);
}

/* Мобильная адаптация - стрелки не заслоняют контент */
@media (max-width: 768px) {
    .modern-slider__button {
        width: 32px;
        height: 32px;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
    }
    
    .modern-slider__button svg {
        width: 18px;
        height: 18px;
        stroke: white;
    }
    
    .modern-slider__button:hover {
        background: rgba(0, 0, 0, 0.7);
    }
    
    .modern-slider__button--prev {
        left: 8px;
    }
    
    .modern-slider__button--next {
        right: 8px;
    }
    
    .modern-slider__dots {
        bottom: 10px;
        gap: 6px;
    }
    
    .modern-slider__dot {
        width: 20px;
        height: 2px;
    }
    
    .modern-slider__dot--active {
        width: 30px;
    }
    
    .modern-slider__counter {
        bottom: 10px;
        right: 10px;
        font-size: 10px;
        background: rgba(0, 0, 0, 0.6);
        padding: 4px 8px;
    }
}

/* Модальное окно */
.slider-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.slider-modal.active {
    display: flex;
}

.slider-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slider-modal__container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.slider-modal__close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    z-index: 1001;
    padding: 0 10px;
}

.slider-modal__image {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.slider-modal__counter {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0,0,0,0.5);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modern-slider__image {
    animation: fadeIn 0.3s ease;
}<?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/footer.php");?>
/* End */
/* /local/templates/default/components/custom/gallery.slider/presentation/style.css?17797766374917 */
