/* Resetowanie podstawowych stylów */
.slider-container * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Główny kontener slidera */
.slider-container {
    position: relative;
    width: 100%;
    height: 563px;
    max-height: 563px;
    overflow: hidden;
}

/* Kontener slajdów */
.slider {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

/* Pojedynczy slajd */
.slide {
    position: relative;
    height: 100%;
}

/* Obrazek w slajdzie */
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Nakładka na slajd */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0.5;
}

/* Zawartość slajdu */
.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 1;
    width: 80%;
}

/* Tytuł slajdu */
.slide-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Opis slajdu */
.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Przycisk slajdu */
.slide-btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1rem;
    background-color: #00ac98;
    color: white;
    border: none;
    border-radius: 0px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none !important;
}

.slide-btn:hover {
    background-color: #00c2ab;
}

/* Style dla slajdu z filmem */
.video-slide {
    position: relative;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    font-size: 1rem;
    background-color: #00ac98;
    color: white;
    border: none;
    border-radius: 0px;
    cursor: pointer;
    transition: background-color 0.3s;
    z-index: 2;
}

.video-btn:hover {
    background-color: #00c2ab;
}

/* Przyciski nawigacji */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 2;
    transition: background-color 0.3s;
}

.arrow:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.arrow-left {
    left: 20px;
}

.arrow-right {
    right: 20px;
}

/* Responsywność dla mobilnych urządzeń */
@media (max-width: 768px) {
    .slide-content h2 {
        font-size: 1.8rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}