﻿/* ============================================
   اسلایدر
   ============================================ */

.simple-slider {
    width: 100%;
    overflow: hidden;
    background: #000;
    position: relative;
}

    .simple-slider .simple-swiper {
        width: 100%;
    }

    .simple-slider .simple-slide {
        position: relative;
        width: 100%;
        overflow: hidden;
        background: #000;
    }

    /* ============================================
   مدیریت تصاویر
   ============================================ */

    .simple-slider .slide-image {
        display: block;
        width: 100%;
        height: auto;
        object-fit: cover;
        object-position: center;
    }

    /* تصویر دسکتاپ - پیش‌فرض */
    .simple-slider .desktop-image {
        aspect-ratio: 16 / 6.5;
        display: block;
    }

    /* تصویر موبایل - مخفی در دسکتاپ */
    .simple-slider .mobile-image {
        aspect-ratio: 4 / 5;
        display: none;
    }

/* ============================================
   Breakpoints اصلی
   ============================================ */

/* موبایل (تا 767px) */
@media (max-width: 767px) {
    .simple-slider .desktop-image {
        display: none !important;
    }

    .simple-slider .mobile-image {
        display: block !important;
        aspect-ratio: 4 / 5;
        object-fit: cover;
        object-position: center 30%;
    }
}

/* تبلت و میانی (768px تا 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .simple-slider .desktop-image {
        aspect-ratio: 16 / 6;
        object-fit: cover;
        object-position: center;
    }

    .simple-slider .mobile-image {
        display: none !important;
    }
}

/* دسکتاپ کوچک (992px تا 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .simple-slider .desktop-image {
        aspect-ratio: 16 / 6;
    }

    .simple-slider .mobile-image {
        display: none !important;
    }
}

/* دسکتاپ بزرگ (1200px به بالا) */
@media (min-width: 1200px) {
    .simple-slider .desktop-image {
        aspect-ratio: 16 / 5.8;
    }

    .simple-slider .mobile-image {
        display: none !important;
    }
}

/* ============================================
   محتوای روی اسلایدر
   ============================================ */

.simple-slider .simple-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
    padding: 0 30px;
    pointer-events: none;
}

.simple-slider .simple-text {
    max-width: 600px;
}

    .simple-slider .simple-text h1 {
        font-size: 45px;
        line-height: 55px;
        color: #fff;
        text-shadow: 0 2px 15px rgba(0,0,0,0.7);
        margin: 0;
    }

    .simple-slider .simple-text h6 {
        font-size: 17px;
        color: #fff;
        opacity: 0.95;
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        gap: 10px;
        text-shadow: 0 1px 10px rgba(0,0,0,0.5);
    }

        .simple-slider .simple-text h6 img {
            width: 28px;
            display: inline-block;
        }

/* ============================================
   ریسپانسیو محتوا
   ============================================ */

/* تبلت */
@media (max-width: 991px) {
    .simple-slider .simple-text h1 {
        font-size: 32px;
        line-height: 40px;
    }

    .simple-slider .simple-text {
        max-width: 500px;
    }
}

/* موبایل */
@media (max-width: 767px) {
    .simple-slider .simple-content {
        padding: 0 20px;
        align-items: flex-end;
        padding-bottom: 80px;
    }

    .simple-slider .simple-text {
        max-width: 100%;
    }

        .simple-slider .simple-text h1 {
            font-size: 22px;
            line-height: 30px;
        }

        .simple-slider .simple-text h6 {
            font-size: 14px;
            margin-bottom: 8px;
        }

            .simple-slider .simple-text h6 img {
                width: 20px;
            }
}

/* موبایل خیلی کوچک */
@media (max-width: 480px) {
    .simple-slider .simple-content {
        padding-bottom: 60px;
    }

    .simple-slider .simple-text h1 {
        font-size: 18px;
        line-height: 26px;
    }

    .simple-slider .simple-text h6 {
        font-size: 12px;
    }
}

/* ============================================
   دکمه‌های ناوبری
   ============================================ */

.simple-slider .swiper-button-next,
.simple-slider .swiper-button-prev {
    width: 45px !important;
    height: 45px !important;
    background: rgba(255,255,255,0.12) !important;
    border-radius: 50% !important;
    color: #fff !important;
    pointer-events: auto !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

    .simple-slider .swiper-button-next:hover,
    .simple-slider .swiper-button-prev:hover {
        background: rgba(255,255,255,0.25) !important;
        transform: scale(1.05);
    }

    .simple-slider .swiper-button-next::after,
    .simple-slider .swiper-button-prev::after {
        font-size: 16px !important;
        font-weight: bold;
    }

@media (max-width: 767px) {
    .simple-slider .swiper-button-next,
    .simple-slider .swiper-button-prev {
        display: none !important;
    }
}

/* ============================================
   Pagination
   ============================================ */

.simple-slider .swiper-pagination {
    bottom: 25px !important;
}

.simple-slider .swiper-pagination-bullet {
    background: rgba(255,255,255,0.4) !important;
    opacity: 1 !important;
    width: 10px;
    height: 10px;
    transition: all 0.3s ease;
}

.simple-slider .swiper-pagination-bullet-active {
    background: #fff !important;
    width: 35px !important;
    border-radius: 6px !important;
}

@media (max-width: 767px) {
    .simple-slider .swiper-pagination {
        bottom: 20px !important;
    }

    .simple-slider .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }

    .simple-slider .swiper-pagination-bullet-active {
        width: 25px !important;
    }
}
/* ============================================
   اسلایدر با دو عکس مجزا (دسکتاپ و موبایل)
   ============================================ */

/*.simple-slider {
    width: 100%;
    overflow: hidden;
    background: #000;
    position: relative;
}

    .simple-slider .simple-swiper {
        width: 100%;
    }

    .simple-slider .simple-slide {
        position: relative;
        width: 100%;
        overflow: hidden;
        background: #000;
    }*/

    /* تصویر اصلی - بدون کادر و با حفظ نسبت */
    /*.simple-slider .slide-image {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 6;*/ /* نسبت پیش‌فرض دسکتاپ */
        /*object-fit: cover;
        object-position: center;
    }*/

    /* محتوای روی اسلایدر */
    /*.simple-slider .simple-content {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        z-index: 2;
        padding: 0 30px;
        pointer-events: none;
    }

    .simple-slider .simple-text h1 {
        font-size: 45px;
        line-height: 55px;
        color: #fff;
        text-shadow: 0 2px 15px rgba(0,0,0,0.6);
        margin: 0;
    }

    .simple-slider .simple-text h6 {
        font-size: 17px;
        color: #fff;
        opacity: 0.9;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .simple-slider .simple-text h6 img {
            width: 28px;
            display: inline-block;
        }*/

/* ============================================
   ریسپانسیو کامل
   ============================================ */

/* تبلت و موبایل بزرگ */
/*@media (max-width: 991px) {
    .simple-slider .slide-image {
        aspect-ratio: 16 / 7;
    }

    .simple-slider .simple-text h1 {
        font-size: 32px;
        line-height: 40px;
    }
}*/

/* موبایل - عکس پورتریت */
/*@media (max-width: 767px) {
    .simple-slider .slide-image {
        aspect-ratio: 4 / 5;*/ /* نسبت عکس موبایل */
        /*object-fit: cover;
        object-position: center 30%;*/ /* تمرکز روی قسمت بالای عکس */
    /*}

    .simple-slider .simple-text h1 {
        font-size: 24px;
        line-height: 32px;
    }

    .simple-slider .simple-text h6 {
        font-size: 14px;
    }

        .simple-slider .simple-text h6 img {
            width: 20px;
        }

    .simple-slider .simple-content {
        padding: 0 15px;
        align-items: flex-end;*/ /* متن پایین بیاد برای موبایل */
        /*padding-bottom: 60px;
    }
}*/

/* موبایل خیلی کوچک */
/*@media (max-width: 480px) {
    .simple-slider .slide-image {
        aspect-ratio: 3 / 4;
    }

    .simple-slider .simple-text h1 {
        font-size: 18px;
        line-height: 26px;
    }

    .simple-slider .simple-text h6 {
        font-size: 12px;
    }
}*/

/* دسکتاپ بزرگ */
/*@media (min-width: 1367px) {
    .simple-slider .slide-image {
        aspect-ratio: 16 / 5.5;
    }

    .simple-slider .simple-text h1 {
        font-size: 65px;
        line-height: 75px;
    }
}*/

/* ============================================
   دکمه‌های ناوبری
   ============================================ */

/*.simple-slider .swiper-button-next,
.simple-slider .swiper-button-prev {
    width: 45px !important;
    height: 45px !important;
    background: rgba(255,255,255,0.15) !important;
    border-radius: 50% !important;
    color: #fff !important;
    pointer-events: auto !important;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

    .simple-slider .swiper-button-next:hover,
    .simple-slider .swiper-button-prev:hover {
        background: rgba(255,255,255,0.3) !important;
    }

    .simple-slider .swiper-button-next::after,
    .simple-slider .swiper-button-prev::after {
        font-size: 16px !important;
    }

@media (max-width: 767px) {
    .simple-slider .swiper-button-next,
    .simple-slider .swiper-button-prev {
        display: none !important;
    }
}*/

/* ============================================
   Pagination
   ============================================ */

/*.simple-slider .swiper-pagination {
    bottom: 20px !important;
}

.simple-slider .swiper-pagination-bullet {
    background: rgba(255,255,255,0.4) !important;
    opacity: 1 !important;
    width: 10px;
    height: 10px;
}

.simple-slider .swiper-pagination-bullet-active {
    background: #fff !important;
    width: 30px !important;
    border-radius: 5px !important;
}

@media (max-width: 767px) {
    .simple-slider .swiper-pagination {
        bottom: 15px !important;
    }

    .simple-slider .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }

    .simple-slider .swiper-pagination-bullet-active {
        width: 20px !important;
    }
}*/
