/* Carousel Styles */
.carousel-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    margin: 50px auto 50px; 
    padding-top: 2%;
    overflow: hidden;
    top: 10%;
    position: relative;
}

.carousel-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.carousel-button {
    background-color: #2E86C1;
    color: #fff;
    border: none;
    border-radius: 0;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-button:hover {
    background-color: #5DADE2;
}

.carousel-container {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    padding: 0.5%;
    height: 32vh;
    width: auto;
    max-width: 90%;
    max-height: 90%;
}

.carousel-item {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    padding: 0.5%;
    margin: 0 1%;
    height: auto;
    width: auto;
}

.carousel-item img,
.carousel-item video {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.carousel-nav {
    font-size: 3.5rem;
    font-weight: bold;
    color: white;
    cursor: pointer;
    user-select: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin: 0 20px;
    z-index: 4;
    pointer-events: auto;
}

.carousel-nav.prev,
.carousel-nav.next {
    display: inline-block;
    background-color: #2E86C1;
    color: #fff;
    border: none;
    border-radius: 0;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.2vh;
    font-weight: bold;
    text-align: center;
    line-height: 1;
    z-index: 4; 
    pointer-events: auto;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.carousel-nav.prev:hover,
.carousel-nav.next:hover {
    background-color: #5DADE2;
    color: #fff;
}

.carousel-background-bar {
    position: absolute;
    top: 8.2%;
    left: 25%;
    right: 25%;
    height: 3vh;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2;
}
