/*Estilos generales del carrusel*/
.carousel-component {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 600px;
    overflow: hidden;
}
/*Estilos de lo que se sobrepone a las imágenes*/
.carousel-viewport {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}



.carousel-overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;

    background: linear-gradient(90deg, rgba(0, 25, 50, 0.85) 0%, rgba(0, 25, 50, 0.4) 100%);

    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 8%;
    box-sizing: border-box;
    pointer-events: none;
}

/*Estilos de las imágenes del carrousel*/
.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
/*Estilos para los botones del carrousel*/
.hero-buttons a {
    pointer-events: auto;
}


.hero-title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 3.8rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
    white-space:pre-line;
}

.hero-subtitle {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 650px;
    line-height: 1.5;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 4rem;
}

.btn-orange {
    background-color: #ef6e00;
    color: #ffffff !important;
    padding: 0.9rem 2.2rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-orange:hover {
    background-color: #d66200;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: #ffffff !important;
    padding: 0.9rem 2.2rem;
    font-size: 1.05rem;
    font-weight: 600;
    border: 2px solid #ffffff;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    align-content: center;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.hero-divider {
    width: 180px;
    height: 4px;
    background-color: #ef6e00;
    margin-bottom: 1.5rem;
}

.hero-features {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
}

.hero-features .bullet {
    color: #ef6e00;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    margin-top: 1.5rem;
    padding: 10px 22px;
    background-color: rgba(0, 0, 0, 0.35);
    border-left: 3px solid #ef6e00;
    color: rgba(255, 255, 255, 0.95);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
}

.carousel-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.carousel-dot.active {
    background: #ef6e00;
    transform: scale(1.25);
}

.carousel-dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.75);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 25, 50, 0.4);
    color: #ffffff;
    border: none;
    font-size: 1.8rem;
    width: 50px;
    height: 50px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

/*Media querys para el manejo de pantallas más pequeñas*/

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .carousel-overlay-content {
        padding: 0 6%;
    }

    .hero-features {
        flex-wrap: wrap;
    }

    .hero-features .bullet {
        display: none;
    }
}

@media (max-width: 768px) {
    
    .carousel-component, 
    .carousel-content, 
    .slide-content {
        margin-top: 80px !important;  
        padding-bottom: 20px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important; 
        height: 100% !important;
        box-sizing: border-box !important;
        padding-left: 20px !important; 
        padding-right: 20px !important;
    }

    .carousel-caption h1, 
    .carousel-content h1, 
    .slide-content h1,
    .carousel-section h1 {
        font-size: 1.6rem !important;   
        line-height: 1.25 !important;    
        margin-top: 0 !important;
        margin-bottom: 10px !important; 
    }

    .carousel-caption p, 
    .carousel-content p, 
    .slide-content p {
        font-size: 0.95rem !important; 
        line-height: 1.35 !important;
        margin-bottom: 12px !important; 
    }

    .hero-divider {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 60px !important;          
        height: 4px !important;          
        margin: 10px 0 !important;       
        position: relative !important;   
        clear: both !important;
    }

    .carousel-buttons, 
    .hero-buttons-container, 
    .hero-buttons {
        margin-bottom: 12px !important; 
        padding-bottom: 0 !important;
    }

    .carousel-buttons .btn, 
    .hero-buttons-container a {
        margin-bottom: 0 !important; 
    }
}