/* Euro Video Slider Styles */

.euro-video-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.euro-video-slider-wrapper {
    position: relative;
    width: 100%;
}

.euro-video-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.euro-video-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.euro-video-player {
    width: 100%;
    display: block;
    object-fit: cover;
}

/* Play Button Overlay */
.euro-video-controls-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    gap: 20px;
    pointer-events: none;
    z-index: 5;
}

.euro-video-play-button {
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 1;
    pointer-events: all;
}

.euro-video-play-button:hover {
    transform: scale(1.1);
}

.euro-video-play-button:active {
    transform: scale(0.95);
}

.euro-video-play-button svg {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

/* Desktop: 16:9 aspect ratio */
@media (min-width: 769px) {
    .euro-video-slider-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .euro-video-slide {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .euro-video-player {
        width: 100%;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }
}

/* Mobile: 16:9 aspect ratio */
@media (max-width: 768px) {
    .euro-video-slider-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .euro-video-slide {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .euro-video-player {
        width: 100%;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }
    
    .euro-video-controls-wrapper {
        padding: 15px;
        gap: 15px;
    }
    
    .euro-video-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .euro-video-nav-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .euro-video-play-button svg {
        width: 60px;
        height: 60px;
    }
}

/* Navigation Buttons */
.euro-video-nav-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.euro-video-nav-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.euro-video-nav-btn:active {
    transform: scale(0.95);
}

.euro-video-nav-btn svg {
    color: #333;
}

/* Loading State */
.euro-video-slider-container.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: euro-video-spinner 0.8s linear infinite;
    z-index: 5;
}

@keyframes euro-video-spinner {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}
