/* ========================================
   MEHTA PANSARI BANNER SLIDER
   Slow Continuous Scrolling Animation
   ======================================== */

.mehta-pansari-banner-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #f5f1e8;
}

.banner-slider {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f1e8 0%, #e8dcc8 100%);
}

.banner-slide {
    width: 100%;
    height: auto;
    display: none;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    position: relative;
}

.banner-slide.active {
    display: block;
    opacity: 1;
}

.banner-slide img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
    object-fit: cover;
    animation: slideInSlow 0.8s ease-in-out forwards;
}

/* Slow sliding animation */
@keyframes slideInSlow {
    0% {
        opacity: 0;
        transform: translateX(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutSlow {
    0% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-20px);
    }
}

/* Continuous slow scroll effect */
@keyframes continuousScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Dots navigation */
.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.4s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.dot.active {
    background: #d4a574;
    border-color: #d4a574;
    width: 14px;
    height: 14px;
}

.dot:hover {
    background: rgba(212, 165, 116, 0.8);
    transform: scale(1.1);
}

/* Responsive design */
@media (max-width: 768px) {
    .banner-slider {
        height: auto;
        min-height: 250px;
    }
    
    .banner-slide img {
        width: 100%;
        height: auto;
    }
    
    .banner-dots {
        bottom: 15px;
        gap: 8px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .dot.active {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 480px) {
    .banner-slider {
        min-height: 200px;
    }
    
    .banner-dots {
        bottom: 10px;
        gap: 6px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    .dot.active {
        width: 10px;
        height: 10px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .banner-slide,
    .banner-slide img,
    .dot {
        animation: none !important;
        transition: none !important;
    }
}

/* Performance optimization */
.banner-slide img {
    will-change: opacity, transform;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Print styles */
@media print {
    .mehta-pansari-banner-container {
        display: none;
    }
}
