/* Estilos para el contenedor principal del carrusel */
.flota {
    padding: 80px 0;
    background: #f5f5f5;
}

.container-flota {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}
.section-title-flota {
    text-align: center;
    margin-bottom: 50px;
}

.section-title-flota h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #fe0000;
}

.section-title-flota p {
    font-size: 1.1rem;
    color: #666;
}
.flota-slider {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 60px;
}

.flota-slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
}

.flota-card {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 300px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 450px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.flota-card:hover {
    transform: translateY(-10px);
}

.flota-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flota-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    z-index: 1;
}

.flota-card-city {
    position: absolute;
    bottom: 25px;
    left: 25px;
    color: #fff;
    font-size: 1.6rem;
    font-weight: bold;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.flota-card-number {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #fe0000, #c10000);
    color: #fff;
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(254, 0, 0, 0.4);
}

.flota-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #fe0000, #c10000);
    border: none;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    z-index: 10;
    font-size: 28px;
    line-height: 0;
    color: #fff;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(254, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.flota-slider-btn:hover {
    background: linear-gradient(135deg, #c10000, #fe0000);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(254, 0, 0, 0.6);
}

.flota-slider-btn.prev {
    left: 10px;
}

.flota-slider-btn.next {
    right: 10px;
}

@media (max-width: 1024px) {
    .flota-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .flota-slider {
        padding: 0 50px;
    }

    .flota-card {
        flex: 0 0 100%;
        height: 400px;
    }

    .flota-slider-btn {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }

    .flota-card-city {
        font-size: 1.3rem;
    }

    .flota-card-number {
        padding: 6px 12px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .flota-slider {
        padding: 0 40px;
    }

    .flota-card {
        height: 350px;
    }

    .section-title-flota h2 {
        font-size: 1.6rem;
    }

    .section-title-flota p {
        font-size: 1rem;
    }
}
