.slider {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin-top:20px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.slide::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(46, 26, 9, 0.35);
    /* Adjust 0.35 → darker/lighter */
    pointer-events: none;
    /* So overlay doesn’t block clicks */
    z-index: 1;
}
.slides {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.slide {
    min-width: 100%;
    position: relative;
    
}

.slide img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.caption {
    position: absolute;
    bottom: 20px;
    left: 30px;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 15px;
    border-radius: 5px;
    z-index: 2;
}

.caption h3{
    color: #fff;
}

/* Arrows */
.prevs,
.nexts {
    cursor: pointer;
    position: absolute;
    top: 50%;
    padding: 12px;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    border: none;
    background: rgba(0, 0, 0, 0.4);
    transform: translateY(-50%);
    transition: 0.3s;
    border-radius: 50%;
    z-index: 10;
}

.prevs:hover,
.nexts:hover {
    background: rgba(0, 0, 0, 0.7);
}

.prevs {
    left: 15px;
}

.nexts {
    right: 15px;
}

/* Dots */
.dots {
    text-align: center;
    position: absolute;
    bottom: 15px;
    width: 100%;
}

.dots span {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: #bbb;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.dots .active {
    background: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    /* .slide img {
        height: 300px;
    }

   .slide .caption {
        font-size: 14px;
        bottom: 10px;
        left: 15px;
    } */
}