/* کانتینر اصلی هنری */
.ExtraImageSlide {
    position: relative;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    padding: 2px;
    /*box-shadow: 0 25px 45px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);*/
    /*animation: floatIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);*/
}

/* عنوان هنری */
.ExtraImageSlide .masterpiece-title {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.ExtraImageSlide .masterpiece-title h1 {
    font-size: 3rem;
    background: linear-gradient(135deg, #ffe6b0, #ffb347, #ff6b6b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: 2px;
    font-weight: 800;
}

.ExtraImageSlide .masterpiece-title p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-top: 10px;
    font-style: italic;
}

.ExtraImageSlide .masterpiece-title::after {
    content: '✦';
    font-size: 2rem;
    color: #ffb347;
    opacity: 0.6;
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
}

/* محفظه اسلایدر اصلی */
.ExtraImageSlide .ExtraSlider-container {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    cursor: pointer;
}

.ExtraImageSlide .ExtraSlider {
    position: relative;
    width: 100%;
    height: 550px;
    overflow: hidden;
}

.ExtraImageSlide .ExtraSlides-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.ExtraImageSlide .ExtraSlide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.05);
    filter: blur(5px);
}

.ExtraImageSlide .ExtraSlide.active {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
    z-index: 10;
}

.ExtraImageSlide .ExtraSlide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay هنری روی تصاویر */
.ExtraImageSlide .ExtraSlide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.3) 100%);
    border-radius: 20px;
    z-index: 1;
    pointer-events: none;
}

/* کپشن‌های هنری */
.ExtraImageSlide .art-caption {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    z-index: 20;
    color: white;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.ExtraImageSlide .ExtraSlide.active .art-caption {
    transform: translateY(0);
    opacity: 1;
}

.ExtraImageSlide .art-caption h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #fff, #ffd89b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ExtraImageSlide .art-caption p {
    font-size: 1rem;
    opacity: 0.9;
}

/* دکمه‌های ناوبری اختصاصی */
.ExtraImageSlide .nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 30;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    opacity: 0;
}

.ExtraSlider-container:hover .nav-btn {
    opacity: 1;
}

.ExtraImageSlide .nav-btn:hover {
    background: rgba(255, 107, 107, 0.8);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
}

.ExtraImageSlide .nav-btn.prev {
    left: 20px;
}

.ExtraImageSlide .nav-btn.next {
    right: 20px;
}

.ExtraImageSlide .nav-btn i {
    font-size: 1.8rem;
    color: white;
}

/* دایره‌های ایندیکاتور اختصاصی */
.ExtraImageSlide .custom-indicators {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    z-index: 20;
}

.ExtraImageSlide .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
}

.ExtraImageSlide .indicator::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    opacity: 0;
    transition: all 0.3s;
}

.ExtraImageSlide .indicator:hover::before {
    opacity: 1;
}

.ExtraImageSlide .indicator.active {
    background: #ff6b6b;
    transform: scale(1.3);
    box-shadow: 0 0 15px #ff6b6b;
}

/* Thumbnail gallery منحصربفرد */
.ExtraImageSlide .thumb-gallery {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 3px;
    flex-wrap: wrap;
    padding: 10px;
}

.ExtraImageSlide .thumb-item {
    width: 90px;
    height: 70px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid transparent;
    filter: grayscale(0.5);
    opacity: 0.5;
}

.ExtraImageSlide .thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s;
}

.ExtraImageSlide .thumb-item:hover {
    transform: translateY(-5px) scale(1.05);
    filter: grayscale(0);
    border-color: rgba(255, 107, 107, 0.6);
}

.ExtraImageSlide .thumb-item.active-thumb {
    filter: grayscale(0);
    border: 1px solid #ff6b6b;
    transform: scale(1.08);
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.6);
    opacity: 1;
}

/* Badge شمارنده هنری */
.ExtraImageSlide .art-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 30;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    padding: 8px 15px;
    border-radius: 30px;
    color: white;
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

/* Progress bar خودکار */
.ExtraImageSlide .auto-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #ffb347);
    width: 0%;
    z-index: 30;
    transition: width 0.1s linear;
    border-radius: 0 0 0 20px;
}

/* دکمه کنترل پخش خودکار */
.ExtraImageSlide .auto-play-btn {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 30;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.2rem;
}

.ExtraImageSlide .auto-play-btn:hover {
    background: #ff6b6b;
    transform: scale(1.1);
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .ExtraSlider {
        height: 350px;
    }

    .art-caption h3 {
        font-size: 1.2rem;
    }

    .art-caption p {
        font-size: 0.8rem;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
    }

    .nav-btn i {
        font-size: 1.2rem;
    }

    .thumb-item {
        width: 60px;
        height: 50px;
    }

    .masterpiece-title h1 {
        font-size: 1.8rem;
    }
}

/* حالت لودینگ */
.loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.5rem;
    z-index: 100;
}

/* بهبود اسکرول و افکت‌های اضافی */
.ExtraSlide {
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), filter 0.7s ease;
}

.ExtraImageSlide .thumb-item {
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* جلوه نور در هاور thumbnail */
.ExtraImageSlide .thumb-item:hover img {
    filter: brightness(1.1);
}

/* ریسپانسیو پیشرفته */
@media (max-width: 480px) {
    .ExtraImageSlide {
        padding: 10px;
    }

    .thumb-item {
        width: 50px;
        height: 45px;
    }

    .art-caption {
        bottom: 15px;
        left: 15px;
        right: 15px;
    }
}

@keyframes floatIn {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* انیمیشن ورود اسلایدها */
@keyframes ExtraSlideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

