/* New Simple Hero Slider - 50% Screen Height */
.hero-slider {
    width: 100%;
    height: 50vh;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.hero-slider .carousel,
.hero-slider .carousel-inner {
    height: 50vh;
}

/* Ensure content below slider is visible and properly positioned */
#content {
    position: relative;
    margin-top: 0;
}

.home-layout-wrapper {
    position: relative;
}

.hero-slider .carousel-item {
    height: 50vh;
    display: none;
}

.hero-slider .carousel-item.active {
    display: block;
}

.hero-slide {
    width: 100%;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-slide-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-slide-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.hero-slide-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.hero-slide .container {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* push content to the right */
    height: 100%;
}

.hero-content {
    text-align: right; /* align text to the right */
    color: white;
    z-index: 10;
    position: relative;
    max-width: 560px;
    padding-right: 24px; /* breathing room from edge/menu */
}

.hero-content h1 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fed700;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero-content h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content h2 strong {
    color: #fed700;
}

.hero-content .price {
    font-size: 56px;
    font-weight: 800;
    margin: 20px 0;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.btn-hero {
    background: white;
    color: #333;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-hero:hover {
    background: #fed700;
    color: #333;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

/* Indicators - Bottom Position */
.hero-slider .carousel-indicators {
    bottom: 50px !important;
    top: auto !important;
    margin: 0;
    z-index: 15;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.hero-slider .carousel-indicators button {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 0 5px;
    opacity: 1;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 0;
}

.hero-slider .carousel-indicators button:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.hero-slider .carousel-indicators button.active {
    background-color: #fed700;
    opacity: 1;
    width: 50px;
}

/* Responsive - 50% Height on All Devices */
@media (max-width: 768px) {
    .hero-slider,
    .hero-slider .carousel,
    .hero-slider .carousel-inner,
    .hero-slider .carousel-item,
    .hero-slide {
        height: 50vh;
    }
    
    .hero-slide .container { justify-content: center; }
    .hero-content { text-align: center; padding-right: 0; }
    .hero-content h2 {
        font-size: 32px;
    }
    
    .hero-content .price {
        font-size: 40px;
    }
    
    .btn-hero {
        padding: 12px 30px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-slider,
    .hero-slider .carousel,
    .hero-slider .carousel-inner,
    .hero-slider .carousel-item,
    .hero-slide {
        height: 50vh;
    }
    
    .hero-content h2 {
        font-size: 24px;
    }
    
    .hero-content .price {
        font-size: 32px;
    }
    
    .btn-hero {
        padding: 10px 25px;
        font-size: 14px;
    }
}
