/**
 * ============================================
 * 🦸 Hero Slider - Wasalni
 * سلايدر احترافي للهيرو
 * ============================================
 */

/* === الحاوية الرئيسية === */
.wasalni-hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 0 0 30px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* === إطار داخلي === */
.wasalni-hero-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, rgba(255,107,53,0.1) 0%, transparent 20%),
        linear-gradient(270deg, rgba(247,147,30,0.1) 0%, transparent 20%);
    z-index: 1;
    pointer-events: none;
}

/* === السلايدر === */
.hero-slider {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: scale(1.05);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide:first-child {
    position: relative;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.hero-slide img {
    width: 100%;
    height: auto;
    display: block;
}

/* === تأثير الظل على الصورة === */
.hero-slide::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
    pointer-events: none;
}

/* === نقاط التنقل === */
.hero-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 20px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
}

.hero-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: #FF6B35;
    border-radius: 50%;
    transition: all 0.4s ease;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.hero-dot.active {
    background: transparent;
    width: 35px;
    border-radius: 20px;
}

.hero-dot.active::before {
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

/* === أزرار التنقل === */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 5px 20px rgba(0, 0, 0, 0.2),
        0 0 0 3px rgba(255, 107, 53, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #FF6B35;
    font-size: 1.3rem;
}

.hero-nav:hover {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    color: white;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 
        0 10px 30px rgba(255, 107, 53, 0.4),
        0 0 0 5px rgba(255, 107, 53, 0.2);
}

.hero-nav:active {
    transform: translateY(-50%) scale(1.05);
}

.hero-nav.prev {
    right: 25px;
}

.hero-nav.next {
    left: 25px;
}

/* === تأثير الحركة للأيقونة === */
.hero-nav i {
    transition: transform 0.3s ease;
}

.hero-nav.prev:hover i {
    transform: translateX(3px);
}

.hero-nav.next:hover i {
    transform: translateX(-3px);
}

/* === قسم البحث === */
.wasalni-search-section {
    background: linear-gradient(180deg, #fff5f0 0%, #ffffff 100%);
    padding: 2rem 0;
    position: relative;
}

.wasalni-search-section::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    border-radius: 2px;
}

/* === شريط التقدم === */
.hero-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.hero-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #FF6B35, #F7931E);
    width: 0%;
    transition: width 0.1s linear;
}

/* === موبايل === */
@media (max-width: 768px) {
    .wasalni-hero-slider {
        border-radius: 0 0 20px 20px;
    }
    
    .hero-nav {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
    
    .hero-nav.prev {
        right: 12px;
    }
    
    .hero-nav.next {
        left: 12px;
    }
    
    .hero-dots {
        bottom: 15px;
        padding: 8px 15px;
        gap: 10px;
    }
    
    .hero-dot {
        width: 10px;
        height: 10px;
    }
    
    .hero-dot.active {
        width: 28px;
    }
}

/* === تابلت === */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-nav {
        width: 50px;
        height: 50px;
    }
}
