/* Slider */

/**
 * Industry Slider Styles
 * Save as: assets/css/industry-slider.css in your theme directory
 */

.industry-slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}
.industry-slider-wrapper.overlay-section {
    padding-top: 0 !important;
}
.industry-slider-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    min-height: 1000px;
}

.industry-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.industry-slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.industry-slider-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.industry-slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.industry-slider-content {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 60px 7%;
    z-index: 2;
    display: flex;
    align-items: center;
}
.slider-title-column h2 {
    color: #fff;
    display: block;
}
.slider-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.slider-image-column {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 2rem;
}

.slider-image {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    transform: translateY(30px);
    opacity: 0;
    animation: slideInImage 1s ease-out 0.5s forwards;
}

/* Navigation Arrows */
.industry-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    z-index: 9999999;
}

.industry-slider-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

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

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

.industry-slider-nav svg {
    width: 24px;
    height: 24px;
}

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

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

.slider-dot:hover,
.slider-dot.active {
    background: #ffffff;
    transform: scale(1.2);
}

/* Animations */
@keyframes slideInTitle {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInImage {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .industry-slider-container {
        height: 500px;
    }
    
    .slider-content-grid {
        gap: 40px;
        padding: 0 20px;
    }
    
    .slider-title {
        font-size: 2.8rem;
    }
    
    .industry-slider-content {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
.industry-slider-container {
    height: 600px !important;
    border-radius: 8px;
    min-height: 670px;
}
    
    .slider-content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .slider-title {
        font-size: 2.2rem;
    }
    
    .slider-image {
        max-height: 250px;
    }
    
    .industry-slider-nav {
        width: 40px;
        height: 40px;
    }
    
    .industry-slider-nav svg {
        width: 20px;
        height: 20px;
    }
    
    .industry-slider-prev {
        left: 15px;
    }
    
    .industry-slider-next {
        right: 15px;
    }
}

@media (max-width: 480px) {
    .industry-slider-container {
        height: 500px;
		min-height: 500px;
    }
    
    .industry-slider-content {
        padding: 30px 15px;
    }
    
    .slider-title {
        font-size: 1.8rem;
    }
    
    .slider-image {
        max-height: 200px;
    }
    
    .industry-slider-dots {
        bottom: 20px;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
    }
}

/* Loading State */
.industry-slider-wrapper.loading {
    opacity: 0.7;
}

.industry-slider-wrapper.loading .industry-slider-nav,
.industry-slider-wrapper.loading .industry-slider-dots {
    pointer-events: none;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .industry-slider-slide,
    .industry-slider-nav,
    .slider-dot,
    .slider-title,
    .slider-image {
        transition: none;
        animation: none;
    }
    
    .industry-slider-slide.active .slider-title,
    .industry-slider-slide.active .slider-image {
        transform: none;
        opacity: 1;
    }
}

/* Focus styles for accessibility */
.industry-slider-nav:focus,
.slider-dot:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .industry-slider-nav,
    .industry-slider-dots {
        display: none;
    }
    
    .industry-slider-slide {
        opacity: 1 !important;
        visibility: visible !important;
        position: static;
        page-break-inside: avoid;
    }
}