/* Simple Text Carousel Styles */
.simple-carousel {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    background: none;
    padding: 40px 20px;
}

.simple-carousel-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 30px !important;
    width: 100% !important;
    min-height: 40px !important;
}

.simple-carousel-title {
    font-size: 1.375rem !important;
    font-weight: bold !important;
    color: #000 !important;
    margin: 0 !important;
    position: relative !important;
    padding-left: 40px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.simple-carousel-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 4px;
    background: #039;
}

.carousel-header-nav {
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
    gap: 20px;
    align-items: center;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

.carousel-slide {
    flex: 0 0 auto;
    background: #039;
    color: white;
    padding: 16px;
    border-radius: 0;
    min-width: 200px;
    max-width: 300px;
    position: relative;
    transition: transform 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-content {
    color: #FFF;
    font-family: Sora, sans-serif;
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 700;
    line-height: 21px;
    position: relative;
    text-align: left;
    padding: 8px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
}

.slide-content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 16px;
    height: 2px;
    background: white;
    margin-bottom: 8px;
}

/* Strzałki nawigacyjne */
.carousel-arrow {
    background: none !important;
    border: none !important;
    width: 40px !important;
    height: 40px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    z-index: 10 !important;
    padding: 0 !important;
    min-width: 40px !important;
    min-height: 40px !important;
}

.carousel-arrow svg {
    width: 40px !important;
    height: 40px !important;
    display: block !important;
    flex-shrink: 0 !important;
}

.carousel-arrow:hover {
    transform: scale(1.1) !important;
}

.carousel-arrow:active {
    transform: scale(0.95) !important;
}

/* Debug - tymczasowe style */
.carousel-arrow {
    min-width: 28px !important;
    min-height: 28px !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Kropki nawigacyjne */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #BE186F;
    transform: scale(1.2);
}

.carousel-dot:hover {
    background: #BE186F;
}

/* Responsywność */
@media (max-width: 768px) {
    .simple-carousel {
        padding: 30px 15px;
    }
    
    .simple-carousel-header {
        margin-bottom: 20px;
    }
    
    .simple-carousel-title {
        font-size: 1.25rem;
    }
    
    .carousel-arrow {
        width: 36px;
        height: 36px;
    }
    
    .carousel-arrow svg {
        width: 20px;
        height: 20px;
    }
    
    .carousel-container {
        gap: 15px;
        padding: 10px 0;
        justify-content: flex-start;
    }
    
    .carousel-slide {
        min-width: 180px;
        max-width: 250px;
        padding: 16px;
        flex-shrink: 0;
    }
    
    .slide-content {
        font-size: 1rem;
        line-height: 19px;
    }
    
    .carousel-arrow {
        width: 28px;
        height: 28px;
        font-size: 0.875rem;
    }
    
    .carousel-prev {
        left: -14px;
    }
    
    .carousel-next {
        right: -14px;
    }
}

@media (max-width: 480px) {
    .simple-carousel {
        padding: 20px 10px;
    }
    
    .simple-carousel-header {
        margin-bottom: 15px;
    }
    
    .simple-carousel-title {
        font-size: 1.125rem;
    }
    
    .carousel-arrow {
        width: 32px;
        height: 32px;
    }
    
    .carousel-arrow svg {
        width: 18px;
        height: 18px;
    }
    
    .carousel-container {
        gap: 10px;
        justify-content: flex-start;
    }
    
    .carousel-slide {
        min-width: 150px;
        max-width: 200px;
        padding: 16px;
        flex-shrink: 0;
    }
    
    .slide-content {
        font-size: 0.875rem;
        line-height: 17px;
    }
    
    .carousel-arrow {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }
    
    .carousel-prev {
        left: -12px;
    }
    
    .carousel-next {
        right: -12px;
    }
}

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

.carousel-slide.active {
    animation: fadeIn 0.5s ease-in-out;
}

/* Dostępność */
.carousel-arrow:focus,
.carousel-dot:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

/* Ukryj strzałki i kropki gdy nie są potrzebne */
.simple-carousel:not(.has-arrows) .carousel-arrow {
    display: none;
}

.simple-carousel:not(.has-dots) .carousel-dots {
    display: none;
}
