.slider-container {
    position: relative;
    border-radius: 12px;
    margin: 40px auto;
    max-width: 1200px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    position: relative;
    min-width: 100%;
    img {
        width: 100%;
        height: 500px;
        object-fit: cover;
    }
    a {
        position: relative;
        display: block;
    }
}

.caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 40px 30px;
    color: white;
    text-align: left;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    h3 {
        font-size: 2.2rem;
        margin-bottom: 18px;
    }
    p {
        font-size: 1.1rem;
        opacity: 0.9;
    }
}

.prev, .next, .pause, .play {
    position: absolute;
    border: none;
    width: 50px;
    height: 50px;
    color: white;
    background: rgba(0,0,0,0.5);
    cursor: pointer;
    transition: 0.3s;
}

.prev, .next {
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    font-size: 24px;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.pause, .play {
    top: 70%;
    right: 20px;
    border-radius: 8px;
}

.pause-center {
    display: flex;
    justify-content: center;
    align-items: center;
    div {
        width: 8px;
        height: 18px;
        background: #fff;
    }
}

.pause-left {
    margin-right: 4px;
}

.play {
    display: flex;
    justify-content: center;
    align-items: center;
}

.play-center {
    border-top: 12px solid transparent;
    border-left: 18px solid #fff;
    border-bottom: 12px solid transparent;
}

.prev:hover, .next:hover, .pause:hover, .play:hover {
    background: rgba(0,0,0,0.8);
}

.dots {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    text-align: center;
}

.dot {
    display: inline-block;
    margin: 0 6px;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    background: #555;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    border-radius: 20px;
    background: #fff;
}
