.carousel-content {
    width: 90%;
    max-width: 800px;
    margin: auto;
    position: relative;
    overflow: hidden;
    border: 10px ridge #8f4400;
}

.carousel-slide {
    display: flex;
    transition: transform 0.4s ease-out;
    will-change: transform;
}

.slide-content {
    min-width: 100%;
    box-sizing: border-box;
}

.slide-content img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.3s;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    user-select: none;
    z-index: 10;
}

.prev {
    left: 0;
    border-radius: 0 3px 3px 0;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.nav-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}