/* Modern Slider Styles - Premium Quality */
.rev_slider_wrapper {
    position: relative;
    overflow: hidden !important;
}

/* Slider Image Auto-sizing */
.rev-slidebg {
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Force slider container height */
.rev_slider {
    min-height: 500px !important;
}

@media (max-width: 991px) {
    .rev_slider {
        min-height: 400px !important;
    }
}

@media (max-width: 767px) {
    .rev_slider {
        min-height: 350px !important;
    }
}

@media (max-width: 480px) {
    .rev_slider {
        min-height: 300px !important;
    }
}

/* Slider Overlay - Balanced Dark Gradient */
.slider-overlay {
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.7),         /* Black */
        rgba(0, 0, 0, 0.5),         /* Black */
        rgba(20, 10, 0, 0.4)        /* Very Dark Brown */
    );
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Subtle warm tint overlay */
.slider-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(227, 86, 17, 0.1) 100%    /* Very subtle orange at bottom */
    );
}

/* Slider Content Container - Premium Style */
.slider-content-container {
    position: relative;
    z-index: 10;
    padding: 30px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    max-width: 550px;
    margin-left: 50px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-left: 5px solid #e35611;
    color: #fff !important;
    position: relative;
    overflow: hidden;
}

/* Premium glass effect */
.slider-content-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

/* Slider Title - Premium Typography */
.rs-heading-title {
    font-size: 42px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    color: #fff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
    margin-bottom: 20px !important;
    position: relative;
    padding-bottom: 15px !important;
    letter-spacing: -0.5px !important;
}

.rs-heading-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, #e35611, #ff8c00);
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(227, 86, 17, 0.3);
}

/* Slider Subtitle - Enhanced */
.rs-subtitle {
    font-size: 20px !important;
    line-height: 1.7 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 30px !important;
    font-weight: 300 !important;
    letter-spacing: 0.3px !important;
}

/* Slider Button - Premium Orange Style */
.slider-btn {
    display: inline-block;
    padding: 15px 35px !important;
    background: linear-gradient(135deg, #e35611, #ff8c00) !important;
    color: #fff !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 17px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 5px 20px rgba(227, 86, 17, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    border: none !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.slider-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff8c00, #ffa500) !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: -1;
}

.slider-btn:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 8px 30px rgba(227, 86, 17, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
}

.slider-btn:hover::before {
    left: 0;
}

.slider-btn i {
    margin-right: 8px;
    font-size: 18px;
}

/* Slider Navigation Arrows - Subtle Orange Theme */
.tparrows {
    background: rgba(0, 0, 0, 0.6) !important;
    width: 55px !important;
    height: 55px !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    border: 2px solid rgba(227, 86, 17, 0.3) !important;
}

.tparrows:hover {
    background: linear-gradient(135deg, rgba(227, 86, 17, 0.8), rgba(255, 140, 0, 0.8)) !important;
    transform: scale(1.15) !important;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3) !important;
    border-color: #e35611 !important;
}

.tparrows:before {
    line-height: 55px !important;
    font-size: 22px !important;
    color: #fff !important;
}

/* Slider Bullets - Subtle Style */
.tp-bullets {
    bottom: 25px !important;
}

.tp-bullets.uranus .tp-bullet {
    width: 14px !important;
    height: 14px !important;
    background: rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.3s ease !important;
    border: 2px solid transparent !important;
}

.tp-bullets.uranus .tp-bullet:hover,
.tp-bullets.uranus .tp-bullet.selected {
    background: #e35611 !important;
    transform: scale(1.3) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 0 20px rgba(227, 86, 17, 0.4) !important;
}

.tp-bullets.uranus .tp-bullet-inner {
    background: #ff8c00 !important;
}

/* Slider Animation Effects - Enhanced */
.slide-element {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-element.active {
    opacity: 1;
    transform: translateY(0);
}

.slide-delay-1 {
    transition-delay: 0.3s;
}

.slide-delay-2 {
    transition-delay: 0.5s;
}

.slide-delay-3 {
    transition-delay: 0.7s;
}

/* Ken Burns Effect for Images */
.tp-kbimg {
    transform-origin: center center !important;
}

/* Timer Bar - Subtle Orange */
.tp-bannertimer {
    background: linear-gradient(90deg, #e35611, #ff8c00) !important;
    height: 5px !important;
    opacity: 0.8 !important;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .slider-content-container {
        max-width: 500px;
        margin-left: 30px;
        padding: 25px;
    }
    
    .rs-heading-title {
        font-size: 36px !important;
    }
    
    .rs-subtitle {
        font-size: 18px !important;
    }
}

@media (max-width: 767px) {
    .slider-content-container {
        max-width: 280px;
        margin-left: 15px;
        padding: 15px;
        background: rgba(0, 0, 0, 0.85);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }
    
    .rs-heading-title {
        font-size: 22px !important;
        padding-bottom: 8px !important;
        margin-bottom: 10px !important;
        text-align: left;
    }
    
    .rs-subtitle {
        font-size: 14px !important;
        margin-bottom: 15px !important;
        text-align: left;
        line-height: 1.4 !important;
    }
    
    .slider-btn {
        padding: 8px 20px !important;
        font-size: 13px !important;
        display: inline-block;
        text-align: center;
    }
    
    .rs-heading-title::after {
        left: 0;
        transform: none;
        width: 60px;
        height: 3px;
    }
    
    .tparrows {
        width: 45px !important;
        height: 45px !important;
    }
    
    .tparrows:before {
        line-height: 45px !important;
        font-size: 18px !important;
    }
}

@media (max-width: 576px) {
    .slider-content-container {
        max-width: 240px;
        padding: 12px;
        margin-left: 10px;
    }
    
    .rs-heading-title {
        font-size: 20px !important;
        padding-bottom: 6px !important;
        margin-bottom: 8px !important;
    }
    
    .rs-subtitle {
        font-size: 12px !important;
        margin-bottom: 12px !important;
        line-height: 1.3 !important;
    }
    
    .slider-btn {
        padding: 6px 16px !important;
        font-size: 12px !important;
    }
    
    .slide-delay-1 {
        transition-delay: 0.1s;
    }
    
    .slide-delay-2 {
        transition-delay: 0.2s;
    }
    
    .slide-delay-3 {
        transition-delay: 0.3s;
    }
}

@media (max-width: 400px) {
    .slider-content-container {
        max-width: 200px;
        padding: 10px;
    }
    
    .rs-heading-title {
        font-size: 18px !important;
        padding-bottom: 5px !important;
        margin-bottom: 6px !important;
    }
    
    .rs-subtitle {
        font-size: 11px !important;
        margin-bottom: 10px !important;
        line-height: 1.2 !important;
    }
    
    .slider-btn {
        padding: 5px 12px !important;
        font-size: 11px !important;
    }
    
    .rs-heading-title::after {
        height: 2px;
        width: 40px;
    }
}

/* Additional fixes for image centering and quality */
.tp-bgimg {
    background-size: cover !important;
    background-position: center center !important;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Fix for Revolution Slider container */
.rev_slider_wrapper.fullwidthbanner-container {
    width: 100% !important;
    position: relative !important;
}

.rev_slider.fullwidthabanner {
    width: 100% !important;
    position: relative !important;
}

/* High quality image rendering */
.rev_slider img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}
