/**
 * Loganix Carousel CSS
 */

/* Carousel Container */
.loganix-carousel-wrapper {
    position: relative;
    margin-bottom: 60px; /* Increased to make room for dots */
}

.loganix-carousel {
    position: relative;
    width: 100%;
}

/* Carousel Items */
.loganix-carousel-item {
    position: relative;
    overflow: hidden;
}

.loganix-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Caption Styling */
.loganix-carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px 15px;
    text-align: center;
    transition: all 0.3s ease;
}

/* Video Styling */
.loganix-video-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.loganix-video-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.loganix-video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 5;
}

.loganix-video-play-button i {
    color: #fff;
    font-size: 24px;
}

.loganix-video-thumbnail:hover .loganix-video-play-button {
    background-color: rgba(0, 0, 0, 0.9);
    width: 70px;
    height: 70px;
}

/* Improved Video Embed Styling */
.loganix-video-embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

/* 16:9 Responsive Video Container */
.loganix-video-embed-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

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

/* Slick Carousel Custom Styling */
.loganix-carousel .slick-slide {
    margin: 0 10px;
    position: relative;
}

.loganix-carousel .slick-list {
    margin: 0 -10px;
}

/* Improved Navigation Controls */
.loganix-carousel .slick-prev,
.loganix-carousel .slick-next {
    z-index: 10;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.loganix-carousel .slick-prev:hover,
.loganix-carousel .slick-next:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.7);
}

.loganix-carousel .slick-prev {
    left: 10px;
}

.loganix-carousel .slick-next {
    right: 10px;
}

.loganix-carousel .slick-prev:before,
.loganix-carousel .slick-next:before {
    display: none; /* Hide default arrows */
}

.loganix-carousel .slick-prev i,
.loganix-carousel .slick-next i {
    color: #fff;
    font-size: 24px;
}

.loganix-carousel .slick-dots {
    bottom: -40px;
}

.loganix-carousel .slick-dots li button:before {
    font-size: 12px;
    opacity: 0.5;
}

.loganix-carousel .slick-dots li.slick-active button:before {
    opacity: 1;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .loganix-carousel .slick-prev {
        left: 10px;
    }
    
    .loganix-carousel .slick-next {
        right: 10px;
    }
    
    .loganix-carousel-caption {
        padding: 5px 10px;
        font-size: 14px;
    }
    
    .loganix-video-play-button {
        width: 50px;
        height: 50px;
    }
    
    .loganix-video-play-button i {
        font-size: 20px;
    }
}

@media screen and (max-width: 480px) {
    .loganix-carousel .slick-prev,
    .loganix-carousel .slick-next {
        width: 30px;
        height: 30px;
    }
    
    .loganix-carousel .slick-prev:before,
    .loganix-carousel .slick-next:before {
        font-size: 18px;
    }
    
    .loganix-carousel-caption {
        font-size: 12px;
    }
    
    .loganix-video-play-button {
        width: 40px;
        height: 40px;
    }
    
    .loganix-video-play-button i {
        font-size: 16px;
    }
} 