/* ========================================== */
/* استایل‌های پایه و اسلایدر قدیمی           */
/* ========================================== */
.simple-slider {
    position: relative;
}
.swiper-container {
    position: relative;
    overflow: hidden;
}
.swiper-button-prev,
.swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}
.swiper-button-prev {
    left: 10px;
}
.swiper-button-next {
    right: 10px;
}
.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 20px;
    font-weight: bold;
}

/* ========================================== */
/* ویدیو تامبنیل‌ها                           */
/* ========================================== */
.video-thumbnail {
    cursor: pointer;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: 8px;
    overflow: hidden;
}
.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.6);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0.8;
    transition: opacity 0.2s;
    pointer-events: none;
}
.video-thumbnail:hover .play-icon {
    opacity: 1;
    background: rgba(0,0,0,0.8);
}

/* ========================================== */
/* فونت‌ها                                    */
/* ========================================== */
@font-face {
    font-family: 'PVazir';
    src: url('fonts/Vazir-Regular-FD.woff2') format('woff2'),
         url('fonts/Vazir-Regular-FD.woff')  format('woff'),
         url('fonts/Vazir-Regular-FD.eot')   format('eot'),
         url('fonts/Vazir-Regular-FD.ttf')   format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'PVazirB';
    src: url('fonts/Vazir-Bold-FD.woff2') format('woff2'),
         url('fonts/Vazir-Bold-FD.woff')  format('woff'),
         url('fonts/Vazir-Bold-FD.eot')   format('eot'),
         url('fonts/Vazir-Bold-FD.ttf')   format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'EVazir';
    src: url('fonts/Vazir-Regular.woff2') format('woff2'),
         url('fonts/Vazir-Regular.woff')  format('woff'),
         url('fonts/Vazir-Regular.eot')   format('eot'),
         url('fonts/Vazir-Regular.ttf')   format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'EVazirB';
    src: url('fonts/Vazir-Bold.woff2') format('woff2'),
         url('fonts/Vazir-Bold.woff')  format('woff'),
         url('fonts/Vazir-Bold.eot')   format('eot'),
         url('fonts/Vazir-Bold.ttf')   format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'EVazir', 'PVazir', sans-serif;
    line-height: 1.6;
}
h1, h2, h3, h4, .bold-text {
    font-family: 'EVazirB', 'PVazirB', sans-serif;
    font-weight: bold;
}

/* ========================================== */
/* اسلایدر جدید (اصلاح‌شده)                  */
/* ========================================== */
.my-brand-slider {
    width: 100%;
    padding: 30px 0;
    background: #f8f9fa;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}
.my-brand-slider .swiper-wrapper {
    display: flex;
    align-items: center;
}
.my-brand-slider .swiper-slide {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.my-brand-slider .slider-img {
    max-width: 100%;
    height: 200px;
    width: auto;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: transform 0.5s ease, filter 0.5s ease, opacity 0.5s ease, box-shadow 0.5s ease;

    /* ✅ حالت پیش‌فرض: همه اسلایدها سیاه‌سفید و کوچک (غیر از فعال) */
    filter: grayscale(75%) brightness(0.75);
    transform: scale(0.85);
    opacity: 0.55;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* ✅ فقط اسلاید فعال (مرکزی) رنگی و بزرگ شود */
.my-brand-slider .swiper-slide-active .slider-img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.1);
    opacity: 1;
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

/* ⚠️ کلیه استایل‌های prev/next قبلی را حذف کنید (نیاز نیست) */

