/* La Vecchia Media Carousel - Mixed Media Styles */
.lv-carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
    border-radius: 8px;
}

.lv-carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
    will-change: transform;
}

.lv-slide {
    flex: 0 0 100%;
    height: 100%;
    position: relative;
    user-select: none;
}

/* Image Styles */
.lv-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Video Styles */
.lv-slide-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lv-video-embed {
    position: relative;
    width: 100%;
    height: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
}

.lv-video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.lv-no-media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #333;
    color: #fff;
    font-size: 16px;
    font-style: italic;
}

/* Video Play Button (for non-autoplay videos) */
.lv-video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.9);
    border: none;
    color: white;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lv-video-play-btn:hover {
    background: rgba(212, 175, 55, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Caption Styles */
.lv-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 15px 20px;
    text-align: center;
    font-size: 16px;
    line-height: 1.5;
    z-index: 5;
}

/* Navigation Dots */
.lv-carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
    padding: 0 20px;
}

.lv-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.lv-dot.active {
    background: #d4af37;
    transform: scale(1.2);
}

.lv-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* Navigation Buttons */
.lv-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.lv-carousel-container:hover .lv-nav-btn {
    opacity: 1;
    visibility: visible;
}

.lv-nav-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.lv-prev-btn {
    left: 20px;
}

.lv-next-btn {
    right: 20px;
}

.lv-nav-btn svg {
    width: 24px;
    height: 24px;
}

/* Empty State */
.lv-empty-state {
    padding: 60px 20px;
    text-align: center;
    background: #f9f9f9;
    border: 2px dashed #ddd;
    border-radius: 8px;
}

.lv-empty-content svg {
    margin-bottom: 20px;
}

.lv-empty-content h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 18px;
}

.lv-empty-content p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .lv-carousel-dots {
        bottom: 15px;
    }
    
    .lv-caption {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .lv-nav-btn {
        width: 40px;
        height: 40px;
        display: none; /* Hide on mobile for better touch */
    }
    
    .lv-prev-btn {
        left: 10px;
    }
    
    .lv-next-btn {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .lv-carousel-dots {
        bottom: 10px;
        gap: 6px;
    }
    
    .lv-dot {
        width: 8px;
        height: 8px;
    }
    
    .lv-caption {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .lv-video-play-btn {
        width: 50px;
        height: 50px;
    }
}