/* Bootcamp Carousel Styles */
.bootcamp-carousel-wrapper {
    position: relative;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    max-width: 100%;
    margin: 0 auto;
}

.carousel-slides {
    position: relative;
    width: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide {
    display: none;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.carousel-slide.active {
    display: block;
}

/* PPT-Style Navigation Buttons */
.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.carousel-nav-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.carousel-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

/* Slide Counter */
.slide-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    z-index: 10;
}

/* Indicator Dots */
.carousel-indicators-custom {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

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

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

.indicator-dot.active {
    background: #fff;
    width: 30px;
    border-radius: 6px;
}

/* Tablet Devices (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .carousel-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .carousel-prev {
        left: 15px;
    }
    
    .carousel-next {
        right: 15px;
    }
}

/* Mobile Landscape and Small Tablets (481px - 768px) */
@media (max-width: 768px) and (min-width: 481px) {
    .bootcamp-carousel-wrapper {
        border-radius: 6px;
    }
    
    .carousel-slides {
        min-height: 250px;
    }
    
    .carousel-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
    
    .slide-counter {
        bottom: 15px;
        right: 15px;
        font-size: 13px;
        padding: 6px 14px;
    }
    
    .carousel-indicators-custom {
        bottom: 15px;
        gap: 8px;
    }
    
    .indicator-dot {
        width: 10px;
        height: 10px;
    }
    
    .indicator-dot.active {
        width: 25px;
    }
}

/* Mobile Portrait (up to 480px) */
@media (max-width: 480px) {
    .bootcamp-carousel-wrapper {
        border-radius: 4px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .carousel-slides {
        min-height: 200px;
    }
    
    .carousel-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .carousel-prev {
        left: 5px;
    }
    
    .carousel-next {
        right: 5px;
    }
    
    .slide-counter {
        bottom: 10px;
        right: 10px;
        font-size: 11px;
        padding: 5px 10px;
    }
    
    .carousel-indicators-custom {
        bottom: 10px;
        gap: 6px;
    }
    
    .indicator-dot {
        width: 8px;
        height: 8px;
    }
    
    .indicator-dot.active {
        width: 20px;
    }
}

/* Extra Small Devices (up to 375px) */
@media (max-width: 375px) {
    .carousel-nav-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .carousel-prev {
        left: 3px;
    }
    
    .carousel-next {
        right: 3px;
    }
    
    .slide-counter {
        bottom: 8px;
        right: 8px;
        font-size: 10px;
        padding: 4px 8px;
        border-radius: 15px;
    }
    
    .carousel-indicators-custom {
        bottom: 8px;
        gap: 5px;
    }
    
    .indicator-dot {
        width: 6px;
        height: 6px;
    }
    
    .indicator-dot.active {
        width: 18px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .carousel-nav-btn {
        /* Larger touch targets for mobile */
        min-width: 44px;
        min-height: 44px;
    }
    
    .carousel-nav-btn:hover {
        /* Remove hover effects on touch devices */
        transform: translateY(-50%);
    }
    
    .indicator-dot {
        /* Larger touch targets */
        min-width: 30px;
        min-height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px;
    }
    
    .indicator-dot::before {
        content: '';
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: currentColor;
    }
    
    .indicator-dot.active::before {
        width: 20px;
        border-radius: 4px;
    }
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .carousel-slide {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Landscape Orientation on Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .carousel-slides {
        min-height: 180px;
    }
    
    .carousel-nav-btn {
        width: 35px;
        height: 35px;
    }
    
    .slide-counter,
    .carousel-indicators-custom {
        bottom: 8px;
    }
}

/* Print Styles */
@media print {
    .carousel-nav-btn,
    .slide-counter,
    .carousel-indicators-custom {
        display: none;
    }
    
    .carousel-slide {
        display: block !important;
        page-break-inside: avoid;
    }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .carousel-slide,
    .carousel-nav-btn,
    .indicator-dot {
        transition: none;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .bootcamp-carousel-wrapper {
        box-shadow: 0 4px 20px rgba(255,255,255,0.1);
    }
}

