/* SCDev Slider Styles */

.scdev-slider-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background: #000;
}

.scdev-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease;
}

.scdev-slide {
    position: relative;
    min-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #000;
}

.scdev-slide-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.scdev-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scdev-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    padding: 30px 20px 20px;
    text-align: center;
}

.scdev-slide-title {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: bold;
}

.scdev-slide-title a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.scdev-slide-title a:hover {
    color: #667eea;
}

.scdev-slide-excerpt {
    margin: 0 0 15px;
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
}

.scdev-slide-button {
    display: inline-block;
    padding: 10px 20px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.scdev-slide-button:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.scdev-slide-caption {
    margin: 0;
    font-size: 16px;
    font-style: italic;
}

/* Video Slides */
.scdev-slide-video {
    background: #000;
}

.scdev-slide-video-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scdev-slide-video-wrapper iframe {
    width: 100%;
    height: 100%;
}

/* Navigation Arrows */
.scdev-slider-prev,
.scdev-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    color: #333;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 30px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.scdev-slider-prev {
    left: 20px;
}

.scdev-slider-next {
    right: 20px;
}

.scdev-slider-prev:hover,
.scdev-slider-next:hover {
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

/* Navigation Dots */
.scdev-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.scdev-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.scdev-slider-dot:hover {
    background: rgba(255,255,255,0.8);
}

.scdev-slider-dot.active {
    background: white;
    border-color: #667eea;
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 768px) {
    .scdev-slide-title {
        font-size: 18px;
    }
    
    .scdev-slide-excerpt {
        font-size: 12px;
    }
    
    .scdev-slider-prev,
    .scdev-slider-next {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .scdev-slider-prev {
        left: 10px;
    }
    
    .scdev-slider-next {
        right: 10px;
    }
    
    .scdev-slide-content {
        padding: 20px 15px 15px;
    }
}

/* Sidebar/Widget Styles */
.widget .scdev-slider-container {
    margin-bottom: 20px;
}

.widget .scdev-slide-title {
    font-size: 16px;
}

.widget .scdev-slide-excerpt {
    font-size: 12px;
}

.widget .scdev-slider-prev,
.widget .scdev-slider-next {
    width: 35px;
    height: 35px;
    font-size: 20px;
}

/* Image Description Styles */
.scdev-slide-description {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    background: rgba(0, 0, 0, 0.8);
    padding: 15px 20px;
    border-radius: 5px;
    color: white;
}

/* Overlay Description */
.scdev-slide-content.overlay-description {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 20px;
    text-align: center;
}

.scdev-slide-content.overlay-description .scdev-slide-description {
    color: white;
    background: transparent;
    padding: 0;
}

/* HTML Slides */
.scdev-slide-html {
    padding: 40px;
    background: #fff;
    color: #333;
    overflow-y: auto;
}

.scdev-slide-html h1,
.scdev-slide-html h2,
.scdev-slide-html h3,
.scdev-slide-html h4,
.scdev-slide-html h5,
.scdev-slide-html h6 {
    margin-top: 0;
    margin-bottom: 15px;
}

.scdev-slide-html p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.scdev-slide-html img {
    max-width: 100%;
    height: auto;
}

.scdev-slide-html ul,
.scdev-slide-html ol {
    margin-bottom: 15px;
    padding-left: 30px;
}
