/**
 * Full Width Slider Styles
 * السلايدر بعرض الشاشة الكامل
 */

/* إزالة أي padding أو margin من السلايدر */
.banner-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 0 !important;
}

/* السلايد يأخذ العرض الكامل */
.banner-carousel .slide-item {
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
}

/* الصورة تغطي العرض الكامل */
.banner-carousel .slide-item .image-layer {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat;
}

/* التأكد من أن container-fluid يأخذ العرض الكامل */
.banner-section .container-fluid {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

/* المحتوى داخل السلايدر */
.banner-carousel .content-box {
    position: relative;
    z-index: 10;
    padding: 0 50px;
}

/* للشاشات الصغيرة */
@media (max-width: 768px) {
    .banner-carousel .content-box {
        padding: 0 20px;
    }
}

/* إزالة أي overflow */
.banner-section,
.banner-carousel,
.slide-item {
    overflow: hidden;
}

/* التأكد من أن owl-carousel يأخذ العرض الكامل */
.banner-section .owl-carousel,
.banner-section .owl-stage-outer,
.banner-section .owl-stage {
    width: 100% !important;
}

/* ارتفاع السلايدر 100vh */
.banner-carousel .slide-item {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
}

/* للأجهزة المحمولة */
@media (max-width: 991px) {
    .banner-carousel .slide-item {
        min-height: 60vh;
        height: 60vh;
    }
}

@media (max-width: 576px) {
    .banner-carousel .slide-item {
        min-height: 50vh;
        height: 50vh;
    }
}

/* تحسين عرض الأسهم في الشاشات الكبيرة */
@media (min-width: 1920px) {
    .banner-section .owl-theme .owl-nav .owl-prev {
        left: 100px;
    }

    .banner-section .owl-theme .owl-nav .owl-next {
        right: 100px;
    }
}

/* overlay خفيف للسلايدر (اختياري) */
.banner-carousel .slide-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.05);
    /* تعتيم خفيف جداً */
    z-index: 1;
}

/* المحتوى فوق الـ overlay */
.banner-carousel .slide-item .container-fluid {
    position: relative;
    z-index: 2;
}

/* إذا كان فيه wrapper خارجي */
.boxed_wrapper {
    overflow-x: hidden;
}