/**
 * DazzleDiva Hero Slider Widget Styles
 * Converted from LESS to CSS
 *
 * @author DazzleDiva
 * @package DazzleDiva_Widgets
 */

/* Hero Slider Styles */
.cms-index-index .top-container,
.cms-index-index .page-main,
.cms-index-index .columns,
.cms-index-index .column.main {
    padding-left: 0;
    padding-right: 0;
    max-width: none;
}

.cms-index-index .page-wrapper { 
    overflow-x: hidden; 
}

/* Enhanced Hero Slider Styles */
.main-slider {
    position: relative;
    width: 100vw;
    height: 650px;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
}

.slider-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Enhanced Slide Styling */
.slider-item {
    position: absolute;
    width: 75%;
    height: 88%;
    border-radius: 20px;
    overflow: hidden;
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    box-shadow: 
        0 30px 60px rgba(0,0,0,0.4),
        0 0 0 1px rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
}

.slider-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
        linear-gradient(135deg, 
            rgba(0,0,0,0.3) 0%, 
            rgba(0,0,0,0.1) 40%, 
            rgba(0,0,0,0.4) 100%
        );
    z-index: 2;
    transition: all 1s ease;
    backdrop-filter: blur(0.5px);
}

/* Enhanced Slide States */
.slider-item.active {
    z-index: 10;
    transform: translateX(0) scale(1) rotateY(0deg);
    opacity: 1;
    box-shadow: 
        0 40px 80px rgba(0,0,0,0.5),
        0 0 0 1px rgba(255,255,255,0.15),
        inset 0 1px 0 rgba(255,255,255,0.1);
}

.slider-item.active:before {
    background: 
        radial-gradient(circle at 30% 20%, rgba(255,255,255,0.15) 0%, transparent 60%),
        linear-gradient(135deg, 
            rgba(0,0,0,0.2) 0%, 
            rgba(0,0,0,0.05) 50%, 
            rgba(0,0,0,0.25) 100%
        );
}

.slider-item.prev {
    z-index: 5;
    transform: translateX(-50%) scale(0.8) rotateY(15deg);
    opacity: 0.6;
    filter: brightness(0.6) blur(2px);
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.6),
        0 0 0 1px rgba(255,255,255,0.05);
}

.slider-item.next {
    z-index: 5;
    transform: translateX(50%) scale(0.8) rotateY(-15deg);
    opacity: 0.6;
    filter: brightness(0.6) blur(2px);
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.6),
        0 0 0 1px rgba(255,255,255,0.05);
}

.slider-item.hidden {
    opacity: 0;
    transform: translateX(0) scale(0.6) rotateY(0deg);
    z-index: 1;
}

/* Enhanced Background Images */
.item-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 1.2s ease, filter 0.8s ease;
    /* filter: brightness(1.1) contrast(1.1) saturate(1.2); */
}

.slider-item.active .item-bg {
    transform: scale(1.08) rotate(0.5deg);
}

.slider-item:hover.active .item-bg {
    transform: scale(1.12) rotate(0deg);
    /* filter: brightness(1.2) contrast(1.2) saturate(1.3); */
}

/* Enhanced Content Overlay */
.item-content {
    position: absolute;
    top: 50%;
    left: 70px;
    transform: translateY(-50%);
    color: white;
    z-index: 3;
    max-width: 520px;
}

.item-content .content-brand {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 25px;
    transform: translateY(40px);
    opacity: 0;
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s;
    color: rgba(255,255,255,0.8);
    position: relative;
}

.item-content .content-brand:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0.6), transparent);
    transition: width 0.8s ease;
}

.item-content h1 {
    font-size: 5rem;
    font-weight: 300;
    line-height: 0.95;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #e8e8e8 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateY(60px);
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s;
    text-shadow: 0 0 30px rgba(255,255,255,0.3);
    position: relative;
}

.item-content h1:before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    z-index: -1;
    transform: translate(2px, 2px);
}

.item-content .content-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 30px;
    opacity: 0.9;
    transform: translateY(40px);
    opacity: 0;
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s;
    color: rgba(255,255,255,0.95);
    font-style: italic;
}

.item-content .content-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 40px;
    opacity: 0.85;
    transform: translateY(40px);
    opacity: 0;
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.8s;
    color: rgba(255,255,255,0.8);
    font-weight: 300;
}

.item-content .content-button {
    display: inline-block;
    padding: 20px 45px;
    background: linear-gradient(135deg, 
        rgba(255,255,255,0.1) 0%, 
        rgba(255,255,255,0.05) 50%, 
        rgba(255,255,255,0.15) 100%
    );
    border: 2px solid rgba(255,255,255,0.25);
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 50px;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(40px);
    opacity: 0;
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1s;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

.item-content .content-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255,255,255,0.3), 
        transparent
    );
    transition: left 0.6s ease;
}

.item-content .content-button:hover:before {
    left: 100%;
}

.item-content .content-button:hover {
    background: linear-gradient(135deg, 
        rgba(255,255,255,0.2) 0%, 
        rgba(255,255,255,0.1) 50%, 
        rgba(255,255,255,0.25) 100%
    );
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-4px);
    box-shadow: 
        0 15px 40px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.3);
}

/* Active slide content animations */
.slider-item.active .item-content .content-brand,
.slider-item.active .item-content h1,
.slider-item.active .item-content .content-subtitle,
.slider-item.active .item-content .content-description,
.slider-item.active .item-content .content-button {
    transform: translateY(0);
    opacity: 1;
}

.slider-item.active .item-content .content-brand:after {
    width: 100px;
}

/* Enhanced Navigation */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, 
        rgba(255,255,255,0.1) 0%, 
        rgba(255,255,255,0.05) 100%
    );
    border: 2px solid rgba(255,255,255,0.15);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    font-weight: 300;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 20;
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 10px 30px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

.nav-btn:hover {
    background: linear-gradient(135deg, 
        rgba(255,255,255,0.2) 0%, 
        rgba(255,255,255,0.1) 100%
    );
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 
        0 15px 40px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.3);
}

.nav-btn.prev-btn { 
    left: 40px; 
}

.nav-btn.next-btn { 
    right: 40px; 
}

/* Enhanced Dots Navigation */
.nav-dots {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 25px;
    z-index: 20;
}

.nav-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    backdrop-filter: blur(10px);
}

.nav-dot:before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 1px solid transparent;
    border-radius: 50%;
    transition: all 0.4s ease;
}

.nav-dot.active {
    background: linear-gradient(135deg, #ffffff 0%, #e8e8e8 100%);
    transform: scale(1.4);
    box-shadow: 
        0 0 20px rgba(255,255,255,0.6),
        0 0 40px rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.8);
}

.nav-dot.active:before {
    border-color: rgba(255,255,255,0.2);
    transform: scale(1.5);
}

/* Enhanced Floating Elements */
.float-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.float-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 70%);
    border-radius: 50%;
    animation: enhanced-float 12s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(255,255,255,0.5);
}

.float-particle:nth-child(1) { 
    top: 15%; 
    left: 10%; 
    animation-delay: 0s; 
    animation-duration: 10s;
}

.float-particle:nth-child(2) { 
    top: 25%; 
    right: 15%; 
    animation-delay: 2s; 
    animation-duration: 14s;
}

.float-particle:nth-child(3) { 
    bottom: 30%; 
    left: 8%; 
    animation-delay: 4s; 
    animation-duration: 11s;
}

.float-particle:nth-child(4) { 
    bottom: 20%; 
    right: 20%; 
    animation-delay: 6s; 
    animation-duration: 13s;
}

.float-particle:nth-child(5) { 
    top: 45%; 
    left: 5%; 
    animation-delay: 1s; 
    animation-duration: 15s;
}

.float-particle:nth-child(6) { 
    top: 65%; 
    right: 12%; 
    animation-delay: 8s; 
    animation-duration: 9s;
}

@keyframes enhanced-float {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) scale(1) rotate(0deg);
        opacity: 0.4;
    }
    25% { 
        transform: translateY(-30px) translateX(20px) scale(1.3) rotate(90deg);
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-10px) translateX(-15px) scale(0.8) rotate(180deg);
        opacity: 1;
    }
    75% { 
        transform: translateY(-25px) translateX(10px) scale(1.1) rotate(270deg);
        opacity: 0.6;
    }
}

/* Responsive Enhancements */
@media (max-width: 1200px) {
    .slider-item {
        width: 78%;
    }
    
    .item-content {
        left: 50px;
        max-width: 480px;
    }
    
    .item-content h1 {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    .main-slider {
        height: 550px;
        margin-top: 30px;
    }
    
    .slider-item {
        width: 88%;
        height: 92%;
    }
    
    .slider-item.prev,
    .slider-item.next {
        transform: translateX(0) scale(0.92);
        opacity: 0.2;
        filter: brightness(0.5) blur(3px);
    }
    
    .item-content {
        left: 35px;
        max-width: 380px;
    }
    
    .item-content h1 {
        font-size: 3.2rem;
    }
    
    .item-content .content-subtitle {
        font-size: 1.3rem;
    }
    
    .item-content .content-description {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .nav-btn {
        width: 60px;
        height: 60px;
        font-size: 18px;
    }
    
    .nav-btn.prev-btn { 
        left: 25px; 
    }
    
    .nav-btn.next-btn { 
        right: 25px; 
    }
}

@media (max-width: 480px) {
    .main-slider {
        height: 500px;
        margin-top: 30px;
    }
    
    .slider-item {
        width: 92%;
    }
    
    .item-content {
        left: 25px;
        max-width: 320px;
    }
    
    .item-content h1 {
        font-size: 2.5rem;
    }
    
    .item-content .content-button {
        padding: 16px 35px;
        font-size: 0.85rem;
    }
    
    .nav-btn {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }
}
