/* =========================================
   PROSTY SLIDER - Style CSS
   ========================================= */

/* Kontener główny slidera */
.simple-slider {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.simple-slider-container {
    position: relative;
    width: 100%;
}

/* Wewnętrzny kontener slajdów */
.simple-slider-inner {
    position: relative;
    width: 100%;
    height: auto;
}

/* Pojedynczy slajd */
.simple-slide {
    display: none;
    width: 100%;
    height: auto;
}

.simple-slide.active {
    display: block;
}

.simple-slide figure {
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto;
}

.simple-slide img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
}

.simple-slide a {
    display: block;
    width: 100%;
    height: auto;
}

/* Caption */
.slide-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 15px;
    border-radius: 4px;
}

.slide-caption h2 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
}

.slide-caption div {
    margin: 0;
    font-size: 1rem;
}

/* Wskaźniki (dots) */
.simple-slider-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    display: flex;
    gap: 8px;
}

.slider-indicator {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background-color: transparent;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

.slider-indicator:hover {
    opacity: 0.9;
}

.slider-indicator.active {
    background-color: #fff;
    opacity: 1;
}

/* Kontrolki nawigacyjne (< >) */
.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease, background 0.3s ease;
}

.slider-control:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.7);
}

.slider-control.prev {
    left: 15px;
}

.slider-control.next {
    right: 15px;
}

/* Ikony kontrolek */
.control-icon {
    display: block;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* Responsywność mobile */
@media (max-width: 768px) {
    .slider-control {
        width: 40px;
        height: 40px;
    }

    .slider-control.prev {
        left: 10px;
    }

    .slider-control.next {
        right: 10px;
    }

    .control-icon {
        width: 20px;
        height: 20px;
    }

    .simple-slider-indicators {
        bottom: 10px;
    }

    .slider-indicator {
        width: 10px;
        height: 10px;
    }
}