/* Exhibition Watch Page - Tailwind Enhancement CSS */
/* این فایل فقط استایل‌های اضافی رو داره که Tailwind نداره */

/* انیمیشن‌های سفارشی */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* کلاس‌های کمکی */
.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-shimmer {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* بهبود نمایش در RTL */
[dir="rtl"] .transform.hover\:-translate-y-1:hover {
    transform: translateY(-0.25rem);
}

[dir="rtl"] .group:hover .group-hover\:translate-x-1 {
    transform: translateX(-0.25rem);
}

/* افکت‌های Glassmorphism */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* بهبود نمایش در صفحات نمایشگاهی */
body.exhibition-page {
    min-height: 100vh;
}

body.exhibition-page .top-video {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    background-attachment: fixed;
}

/* افکت hover برای کارت‌ها */
.card-hover-effect {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover-effect:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Badge پالس */
.badge-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* بهبود نمایش عکس‌های محصول */
.product-image-container {
    position: relative;
    overflow: hidden;
}

.product-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.product-image-container:hover::after {
    left: 100%;
}

/* Progress bar انیمیشن */
@keyframes progress {
    0% {
        width: 0%;
    }
    100% {
        width: var(--progress-width, 60%);
    }
}

.progress-animated {
    animation: progress 1s ease-out forwards;
}

/* بهبود نمایش فونت فارسی */
body.exhibition-page {
    font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* بهبود نمایش در Dark Mode */
@media (prefers-color-scheme: dark) {
    body.exhibition-page .bg-white {
        background-color: #1f2937;
        color: #f9fafb;
    }
}

/* ریسپانسیو */
@media (max-width: 768px) {
    body.exhibition-page .top-video {
        padding: 1rem;
    }
    
    .glass-effect,
    .glass-dark {
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }
}

/* بهبود نمایش دکمه‌ها */
button:focus,
a:focus {
    outline: 2px solid #818cf8;
    outline-offset: 2px;
}

/* افکت loading */
.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* بهبود نمایش SVG Icons */
svg {
    flex-shrink: 0;
}

/* Tooltip برای محصولات */
.tooltip {
    position: relative;
}

.tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
}

.tooltip:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
}

/* بهبود نمایش scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

