/* background-rotator.css */
.bg-rotator {
    position: relative;
    overflow: hidden;
}

.bg-rotator .bg-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: -1;
    pointer-events: none;
}

.bg-rotator .bg-layer.visible {
    opacity: 1;
}

#prevBtn{
    position:absolute;
    top:40%;
    left:2%;
    content:#8594;
}

#nextBtn{
    position: absolute;
    top: 40%;
    right: 2%;
}

/* Arrow controls */
.arrow-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transform: translateY(-50%);
    padding: 0 30px;
    z-index: 5;
}

.arrow {
    font-size: 48px;
    color: white;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    text-align: center;
    line-height: 60px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    user-select: none;
}

.arrow:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}