/* Homepage Slider Styles - Match Categories Menu Height */

.custom-homepage-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: #f5f5f5;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide-item.active {
    opacity: 1;
}

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

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
    z-index: 10;
    outline: none;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    transform: translateY(-50%) scale(1.1);
}

.prev-arrow {
    left: 20px;
}

.next-arrow {
    right: 20px;
}

.slider-arrow svg {
    width: 20px;
    height: 20px;
}

/* Force slider to match categories menu height exactly */
.banner-slider-wrapper .custom-homepage-slider,
.banner-slider-wrapper .slider-wrapper {
    height: 100%;
}

/* Ensure slider takes the same height as categories menu */
.hero-wrapper .banner-slider-wrapper {
    display: flex;
    align-items: stretch;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .custom-homepage-slider {
        min-height: 300px;
    }
    
    .slider-wrapper {
        min-height: 300px;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
    }
    
    .prev-arrow {
        left: 10px;
    }
    
    .next-arrow {
        right: 10px;
    }
    
    .slider-arrow svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .custom-homepage-slider {
        min-height: 250px;
    }
    
    .slider-wrapper {
        min-height: 250px;
    }
} 