/* 🎞️ PREMIUM NATIVE BOOTSTRAP CAROUSEL - EXACT 1550x500 DIMENSIONS */

.slider-container-wrapper {
    width: 100%;
    position: relative;
    height: auto;
    aspect-ratio: 1550 / 500; /* Maintains exact 1550x500 proportion at any screen size */
    background: #000;
    overflow: hidden;
}

.carousel-inner, .carousel-item {
    height: 100%;
}

.carousel-item img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

.slider-cinematic-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4); /* Perfect cinematic fade */
    z-index: 5;
}

.slider-content-layer {
    z-index: 10;
}

.slider-content-layer h1 {
    font-size: 3rem;
    line-height: 1.1;
}

.slider-content-layer p {
    font-size: 1.2rem;
}

.btn-premium-hero {
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.3s;
    text-decoration: none !important;
    display: inline-block;
}

/* Custom Navigation Buttons (Removes White/Grey Side Bars) */
.custom-carousel-btn {
    width: 8% !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    opacity: 0.9;
    z-index: 20;
}

.custom-carousel-btn:hover, .custom-carousel-btn:focus, .custom-carousel-btn:active {
    background: transparent !important;
    opacity: 1;
    outline: none !important;
}

/* Custom Bootstrap Indicators */
.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 6px;
    border: 2px solid transparent;
}

.carousel-indicators .active {
    background-color: #ff9933;
    border: 2px solid white;
    transform: scale(1.2);
}

/* Responsive Handling: Font scaling and layout for smaller screens */
@media (max-width: 767px) {
    .slider-content-layer h1 {
        font-size: 1.5rem;
        margin-bottom: 5px !important;
    }

    .slider-content-layer p {
        font-size: 0.8rem;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 5px !important;
    }
    
    .btn-premium-hero {
        padding: 6px 15px;
        font-size: 11px;
    }
}

@media (max-width: 500px) {
    /* At 1550x500 on small phones, the slider is very thin. We hide the text to keep it looking clean. */
    .slider-content-layer p {
        display: none !important;
    }
    .slider-content-layer h1 {
        font-size: 1.2rem;
    }
}


