/**
 * Invictus Cisbox Slider - Frontend Styles
 * Version: 1.0.0
 * Author: Christian Alber - Invictus Lead Generation GmbH
 */

/* Slider Wrapper */
.icsb-slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

/* Slider Container */
.icsb-slider {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
}

/* Individual Slide */
.icsb-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.icsb-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Slide Overlay for better text readability */
.icsb-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* Slide Content */
.icsb-slide-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 40px 20px;
}

.icsb-slide-inner {
    max-width: 1200px;
    width: 100%;
    text-align: center;
}

/* Headline */
.icsb-headline {
    margin: 0 0 20px 0;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: slideInUp 0.8s ease-out;
}

/* Text */
.icsb-text {
    margin: 0 0 30px 0;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    animation: slideInUp 0.8s ease-out 0.2s both;
}

/* Button */
.icsb-button {
    display: inline-block;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: slideInUp 0.8s ease-out 0.4s both;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.icsb-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Logo */
.icsb-logo {
    margin-top: 40px;
    animation: fadeIn 1s ease-out 0.6s both;
}

.icsb-logo img {
    max-width: 200px;
    height: auto;
    display: inline-block;
    filter: brightness(0) invert(1);
}

/* Navigation Arrows */
.icsb-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    opacity: 0.7;
}

.icsb-arrow:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.icsb-arrow svg {
    width: 60%;
    height: 60%;
}

.icsb-arrow-prev {
    left: 20px;
}

.icsb-arrow-next {
    right: 20px;
}

/* Navigation Dots */
.icsb-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.icsb-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.icsb-dot:hover {
    transform: scale(1.2);
}

.icsb-dot.active {
    transform: scale(1.3);
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Empty State */
.icsb-slider-empty {
    padding: 100px 20px;
    text-align: center;
    background: #f5f5f5;
    color: #666;
    font-size: 18px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .icsb-slider {
        height: 600px;
    }
    
    .icsb-headline {
        font-size: 36px !important;
    }
    
    .icsb-text {
        font-size: 16px !important;
    }
    
    .icsb-arrow {
        width: 40px !important;
        height: 40px !important;
    }
    
    .icsb-arrow-prev {
        left: 10px;
    }
    
    .icsb-arrow-next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .icsb-slider {
        height: 500px;
    }
    
    .icsb-slide-content {
        padding: 30px 15px;
    }
    
    .icsb-headline {
        font-size: 28px !important;
        margin-bottom: 15px;
    }
    
    .icsb-text {
        font-size: 14px !important;
        margin-bottom: 20px;
    }
    
    .icsb-button {
        font-size: 14px !important;
        padding: 10px 20px !important;
    }
    
    .icsb-logo img {
        max-width: 150px;
    }
    
    .icsb-dots {
        bottom: 20px;
        gap: 8px;
    }
    
    .icsb-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .icsb-slider {
        height: 400px;
    }
    
    .icsb-headline {
        font-size: 24px !important;
    }
    
    .icsb-text {
        font-size: 13px !important;
    }
    
    .icsb-arrow {
        width: 35px !important;
        height: 35px !important;
    }
    
    .icsb-logo img {
        max-width: 120px;
    }
}
