.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    animation: slideUp 1.5s ease-in-out;
}

@keyframes slideUp {
    0% { opacity: 0; transform: translate(-50%, 30px); }
    100% { opacity: 1; transform: translate(-50%, 0); }
}

.navigation {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.navigation button {
    background: rgba(128, 128, 128, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    transition: background 0.3s;
}

.navigation button:hover {
    background: rgba(0,0,0,0.8);
}