/**
 * CT Simple Slider Styles
 */

.ct-simple-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 20px 0;
}

.ct-slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.ct-slider-item {
    min-width: 100%;
    position: relative;
}

.ct-slider-bg {
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
}

.ct-slider-content {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    max-width: 600px;
}

.ct-slider-header {
    font-size: 2.5em;
    margin: 0 0 10px 0;
    color: #333;
    font-weight: bold;
}

.ct-slider-subheader {
    font-size: 1.2em;
    margin: 0 0 20px 0;
    color: #666;
}

.ct-slider-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #7ab55c;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
    font-weight: 500;
}

.ct-slider-button:hover {
    background-color: #68a34a;
    color: white;
}

/* Navigation buttons */
.ct-slider-prev,
.ct-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    font-size: 40px;
    padding: 10px 20px;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s;
    border-radius: 4px;
}

.ct-slider-prev:hover,
.ct-slider-next:hover {
    background-color: rgba(255, 255, 255, 0.95);
}

.ct-slider-prev {
    left: 20px;
}

.ct-slider-next {
    right: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .ct-slider-bg {
        height: 300px;
    }

    .ct-slider-header {
        font-size: 1.8em;
    }

    .ct-slider-subheader {
        font-size: 1em;
    }

    .ct-slider-prev,
    .ct-slider-next {
        font-size: 30px;
        padding: 5px 15px;
    }
}

/* If no image, use gradient background */
.ct-slider-item.bnr .ct-slider-bg:not([style*="background-image"]) {
    background: linear-gradient(135deg, #7ab55c 0%, #68a34a 100%);
}

/* Override lazy load styles */
.ct-slider-bg.lazyload {
    background-image: none !important;
}

.ct-slider-bg[data-image] {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}