/* Custom Slider Styles - Hanschem */
.custom-slider-container {
    background: #171717;
    height: 350px;
    overflow: hidden;
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

.custom-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.custom-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.custom-slide.active {
    opacity: 1;
}

.custom-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.custom-slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2;
}

.custom-slide-title {
    color: #FFF;
    font-size: 69px;
    line-height: 1.2;
    font-weight: 800;
    margin: 0 0 20px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
    animation: slideInUp 1s ease-out 0.5s both;
}

.custom-slide-description {
    color: #fff;
    font-size: 26px;
    line-height: 1;
    font-weight: 300;
    background-color: rgb(0, 96, 160);
    padding: 10px 20px;
    text-transform: uppercase;
    margin: 0 0 30px 0;
    animation: slideInDown 1s ease-out 0.2s both;
}

.custom-slide-button {
    animation: slideInUp 1s ease-out 1s both;
}

.custom-slide-button .btn {
    font-size: 22px;
    font-weight: 600;
    line-height: 20px;
    padding: 20px 25px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.custom-slide-button .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Navigation Arrows */
.custom-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.custom-slider-nav:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.custom-slider-nav.prev {
    left: 20px;
}

.custom-slider-nav.next {
    right: 20px;
}

/* Dots Navigation */
.custom-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.custom-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-slider-dot.active,
.custom-slider-dot:hover {
    background: #fff;
    transform: scale(1.2);
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .custom-slide-title {
        font-size: 48px;
        line-height: 1.1;
    }
    
    .custom-slide-description {
        font-size: 20px;
        padding: 8px 15px;
    }
    
    .custom-slide-button .btn {
        font-size: 18px;
        padding: 15px 20px;
    }
    
    .custom-slider-nav {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .custom-slider-nav.prev {
        left: 10px;
    }
    
    .custom-slider-nav.next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .custom-slide-title {
        font-size: 36px;
    }
    
    .custom-slide-description {
        font-size: 18px;
        padding: 6px 12px;
    }
    
    .custom-slide-button .btn {
        font-size: 16px;
        padding: 12px 18px;
    }
}

/* Overlay for better text readability */
.custom-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
    z-index: 1;
}
