/* ===== Main Banner - البانر الرئيسي ===== */

.main-banner {
    width: 100%;
    max-width: 1400px;
    margin: 20px auto 30px;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}

.banner-track {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease;
}

.banner-image {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
}

/* الصورة النشطة */
.banner-image.show {
    pointer-events: auto;
}

.banner-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    display: block;
    border-radius: 15px;
    background: #ffffff;
}

/* أزرار التنقل */
.banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    padding: 0;
}

.banner-nav svg {
    width: 50px;
    height: 90px;
    color: #333;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: block;
}

.banner-nav:hover svg {
    color: #000;
}

.banner-nav.right {
    right: 20px;
}

.banner-nav.left {
    left: 20px;
}

/* النقاط */
.banner-indicators {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.banner-dot:hover {
    background: rgba(255, 255, 255, 0.9);
}

.banner-dot.current {
    background: white;
    width: 28px;
    border-radius: 5px;
}

/* للشاشات المتوسطة */
@media (max-width: 992px) {
    .banner-image img {
        max-height: 400px;
    }
    
    .banner-nav svg {
        width: 40px;
        height: 70px;
    }
    
    .banner-nav.right {
        right: 15px;
    }
    
    .banner-nav.left {
        left: 15px;
    }
}

/* للشاشات الصغيرة */
@media (max-width: 768px) {
    .main-banner {
        margin-top: 80px;
        margin-bottom: 20px;
        padding: 0 15px;
    }
    
    .banner-image {
        min-width: 100%;
        width: 100%;
        flex-shrink: 0;
    }
    
    .banner-image img {
        width: 100%;
        height: auto;
        object-fit: contain;
        border-radius: 10px;
        background: #ffffff;
    }
    
    .banner-nav svg {
        width: 35px;
        height: 60px;
    }
    
    .banner-nav.right {
        right: 10px;
    }
    
    .banner-nav.left {
        left: 10px;
    }
    
    .banner-indicators {
        bottom: 18px;
        gap: 8px;
    }
    
    .banner-dot {
        width: 8px;
        height: 8px;
    }
    
    .banner-dot.current {
        width: 22px;
    }
}

/* للشاشات الصغيرة جداً */
@media (max-width: 480px) {
    .main-banner {
        margin-top: 75px;
        margin-bottom: 15px;
        padding: 0 10px;
    }
    
    .banner-image {
        min-width: 100%;
        width: 100%;
        flex-shrink: 0;
    }
    
    .banner-image img {
        width: 100%;
        height: auto;
        object-fit: contain;
        border-radius: 8px;
        background: #ffffff;
    }
    
    .banner-nav svg {
        width: 30px;
        height: 50px;
    }
    
    .banner-nav.right {
        right: 8px;
    }
    
    .banner-nav.left {
        left: 8px;
    }
}
