/* Hero Section Styles */
.hero-section {
    position: relative;
    width: 100%;
    margin-top: 0px; /* Remove any default margin if present */
    overflow: hidden;
}

/* Aspect Ratio / Height */
.hero-slider-container {
    position: relative;
    width: 100%;
    /* Usage of padding-bottom for aspect ratio is common (e.g., 16:9 = 56.25%, 21:9 ~ 42.85%)
       But for a fixed-height slider like Flipkart, explicit height is often used.
       Let's use a responsive height approach. */
    height: 480px; /* Standard desktop banner height */
}

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

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the area */
    object-position: center;
    display: block;
}

/* Navigation Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid #e0e0e0;
    color: #333;
    font-size: 1.2rem;
    width: 40px; /* Flipkart style: distinct, white box */
    height: 80px; /* Taller, rectangular button */
    border-radius: 4px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.slider-btn:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.prev-btn {
    left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.next-btn {
    right: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* Dots */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    background: rgba(0,0,0,0.3);
    padding: 5px 10px;
    border-radius: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: #fff;
    transform: scale(1.1);
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .hero-slider-container {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .hero-slider-container {
        height: 250px; /* Reduced for mobile */
    }

    .slider-btn {
        width: 30px;
        height: 60px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-slider-container {
        height: 200px; /* Standard mobile banner height */
    }
    
    .slider-btn {
        /* Usually kept visible or made smaller/transparent */
        width: 25px;
        height: 50px;
        background: rgba(255,255,255,0.8);
    }
}