/* Cem Porcento Video Carousel Styles */

.cpc-video-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.cpc-video-section-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    font-weight: bold;
    color: #333;
}

.cpc-video-section-title::after {
    content: '';
    display: block;
    width: 471px;
    height: 3px;
    background-color: #f48120;
    margin: 15px auto 0;
}

.cpc-video-carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.cpc-video-carousel {
    position: relative;
    width: 100%;
    height: 600px;
}

.cpc-video-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cpc-video-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.cpc-video-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.cpc-video-player {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cpc-video-player[controls] {
    object-fit: cover;
}

.cpc-video-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 40px 20px 20px;
    color: #fff;
    text-align: center;
}

.cpc-video-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff;
}

.cpc-video-description {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

/* Navigation Arrows */
.cpc-video-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    font-size: 3rem;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.cpc-video-nav:hover {
    background: rgba(244, 129, 32, 0.8);
}

.cpc-video-nav-prev {
    left: 20px;
}

.cpc-video-nav-next {
    right: 20px;
}

/* Dots Navigation */
.cpc-video-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.cpc-video-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.cpc-video-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.cpc-video-dot.active {
    background-color: #f48120;
    transform: scale(1.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .cpc-video-section-title {
        font-size: 1.5rem;
    }
    
    .cpc-video-section-title::after {
        width: 90%;
        max-width: 300px;
    }
    
    .cpc-video-carousel {
        height: 400px;
    }
    
    .cpc-video-nav {
        font-size: 2rem;
        width: 40px;
        height: 40px;
    }
    
    .cpc-video-nav-prev {
        left: 10px;
    }
    
    .cpc-video-nav-next {
        right: 10px;
    }
    
    .cpc-video-title {
        font-size: 1.2rem;
    }
    
    .cpc-video-description {
        font-size: 0.9rem;
    }
    
    .cpc-video-content {
        padding: 30px 15px 15px;
    }
}

@media (max-width: 480px) {
    .cpc-video-carousel {
        height: 300px;
    }
    
    .cpc-video-section-title {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    .cpc-video-nav {
        font-size: 1.5rem;
        width: 35px;
        height: 35px;
    }
    
    .cpc-video-dot {
        width: 10px;
        height: 10px;
    }
}
