/* === RESET & BASE STYLES === */
* {
    box-sizing: border-box;
}

/* === CONTAINER LAYOUT === */
.container-fluid {
    width: 100%;
    padding: 0 15px;
}

.banner-wrapper {
    max-width: 1280px;
    margin: 10px auto;
    background: none;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
}

/* === GRID LAYOUT === */
.banner-grid {
    display: grid;
    gap: 12px;
    height: 320px;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.main-banner {
    grid-column: 1;
    grid-row: 1 / 3;
    height: 100%;
    overflow: hidden;
}

.side-banner-1 {
    grid-column: 2;
    grid-row: 1;
    height: 100%;
    overflow: hidden;
}

.side-banner-2 {
    grid-column: 2;
    grid-row: 2;
    height: 100%;
    overflow: hidden;
}

/* === SLIDER CONTAINER === */
.slider-column {
    position: relative;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    touch-action: pan-x pinch-zoom;
}

.main-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #f8f9fa;
    touch-action: pan-x pinch-zoom;
}

.slide-container {
    display: flex;
    width: 100%;
    height: 100%;
    will-change: transform;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* === SLIDE STYLES === */
.slide {
    min-width: 100%;
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
    user-drag: none;
    -webkit-user-drag: none;
}

.slide:hover img {
    transform: scale(1.05);
}

.slide a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/* === NAVIGATION CONTROLS === */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    backdrop-filter: blur(10px);
    font-size: 16px;
}

.main-slider:hover .slider-nav {
    opacity: 1;
}

.slider-nav:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 15px;
}

.slider-nav.next {
    right: 15px;
}

/* === PAGINATION DOTS === */
.pagination-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 16px;
    height: 3px;
    border-radius: 1.5px;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    animation: none !important;
      
}

.dot.active {
    background: #ff6b35;
    width: 24px;
    transform: scale(1);
}

.dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.6);
}

/* === SIDE IMAGES === */
.image-box {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.image-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.image-box:hover img {
    transform: scale(1.08);
}

.image-box a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/* === FOCUS STATES === */
.slider-nav:focus,
.dot:focus,
.slide a:focus,
.image-box a:focus {
    outline: 2px solid #ff6b35;
    outline-offset: 2px;
}

/* === MOBILE RESPONSIVE === */
@media (max-width: 575px) {
    .banner-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        height: clamp(120px, 30vw, 220px);
    }
    
    .main-banner {
        grid-column: 1;
        grid-row: 1;
        height: clamp(120px, 30vw, 280px);
    }
    
    .side-banner-1,
    .side-banner-2 {
        display: none !important;
    }
    
    .slider-nav {
        opacity: 0;
        pointer-events: none;
    }
    
    .touch-nav-visible .slider-nav {
        opacity: 0.7;
        pointer-events: auto;
    }
}

@media (max-width: 480px) {
    .banner-wrapper {
        margin: 15px auto;
    }
    
    .pagination-dots {
        bottom: 8px;
    }
    
    .dot {
        width: 14px;
        height: 2.5px;
    }
    
    .dot.active {
        width: 20px;
    }
    
    .slider-nav {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .banner-wrapper {
        margin: 10px auto;
    }
    
    .pagination-dots {
        bottom: 6px;
    }
    
    .dot {
        width: 12px;
        height: 2px;
        border-radius: 1px;
    }
    
    .dot.active {
        width: 18px;
    }
}   