.carousel-video-holder{margin: 50px 0; min-height: 600px;}

.carousel-video-holder .owl-carousel .item {
    opacity: 0.4;
    transition: 0.4s ease all;
    /*margin: 0 20px;*/
    transform: scale(0.8);
}

@media (max-width: 1000px) {
    .carousel-video-holder .owl-carousel .item {
        margin: 0;
        transform: scale(0.9);
    }
}

.carousel-video-holder .owl-carousel .active .item {
    opacity: 1;
    transform: scale(1);
}

/* Center single item and remove effects */
.carousel-video-holder .owl-carousel.single-item .item {
    opacity: 1 !important;
    transform: scale(1) !important;
    margin: 0 auto !important;
    max-width: 1350px;
    display: flex;
	flex-direction:column !important;
    justify-content: center;
}

/* Hide nav if only one item */
.carousel-video-holder .owl-carousel.single-item .owl-nav {
    display: none !important;
}

/* Video container styling */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 45%; /* Reduced height (was 50%) */
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    background-color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.356);
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* External video styling */
.external-video {
    background-size: cover;
    background-position: center;
    cursor: pointer;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.play-button {
    width: 80px;
    height: 80px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.play-button:hover {
    background-color: black;
}

.play-button svg {
    width: 40px;
    height: 40px;
    margin-left: 5px; /* για να κεντράρει το τρίγωνο */
}

.video-iframe-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.video-iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Caption styling */
.video-caption {
    text-align: center;
    margin-top: 15px;
    font-size: 16px;
    color: #333;
}

/* Arrows styling - appear on hover */
.carousel-video-holder .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    pointer-events: none;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel-video-holder:hover .owl-nav {
    opacity: 1;
}

.carousel-video-holder .owl-nav button {
    pointer-events: all;
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5) !important;
    border-radius: 50% !important;
    color: white !important;
    font-size: 24px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-video-holder .owl-nav button:hover {
    background-color: var(--d-orange) !important;
    transform: scale(1.1);
}

.carousel-video-holder .owl-nav .owl-prev {
    margin-left: 20px;
}

.carousel-video-holder .owl-nav .owl-next {
    margin-right: 20px;

}


@media (max-width: 1000px) {
    .carousel-video-holder{min-height: auto !important;}
    .glowing-bar-wrapper{display: flex; flex-direction: column; }
    .glowing-bar-wrapper > div {border: 0; }
}
}
}
/* Ensure the nav is visible on small screens */
@media (max-width: 768px) {
    .carousel-video-holder .owl-nav {
        opacity: 1;

    }
    
    .carousel-video-holder .owl-nav button {
        width: 40px;
        height: 40px;
        font-size: 20px !important;
    }
}