/* ============================================
   HERO SLIDER CON CARRUSEL
   ============================================ */

.hero-slider {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-top: 80px;
}

/* Fondo fijo de camino off-road */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/images/bg-dirt-road.jpg') center/cover no-repeat fixed;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}

/* Contenido superior */
.hero-top {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 3rem 2rem 2rem;
}

.hero-main-title {
    font-size: 4rem;
    font-weight: 900;
    color: var(--blanco-puro);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}



/* Swiper Container */
.heroSwiper {
    position: relative;
    z-index: 5;
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
}

/* Imagen de la moto (PNG transparente) */
.moto-image {
    width: 100%;
    max-width: 700px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.8)) drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
    margin-bottom: 3rem;
    position: relative;
}

/* Contenedor de la moto con sombra de contacto */
.slide-content {
    position: relative;
}

/* Sombra de contacto realista debajo de las llantas */
.slide-content::before {
    content: '';
    position: absolute;
    bottom: 180px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 50px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 30%, rgba(0, 0, 0, 0.3) 50%, transparent 70%);
    filter: blur(20px);
    z-index: 0;
}

.moto-image,
.slide-info {
    position: relative;
    z-index: 1;
}

/* Información del slide */
.slide-info {
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid var(--naranja-racing);
    max-width: 500px;
}

.slide-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--blanco-puro);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.slide-subtitle {
    font-size: 1.2rem;
    color: var(--naranja-racing);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.slide-specs {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.slide-specs span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.slide-specs i {
    color: var(--naranja-racing);
}

/* Controles de navegación personalizados */
.hero-nav-controls {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 3rem;
    z-index: 20;
}

.hero-nav-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 77, 0, 0.9);
    border: 2px solid var(--blanco-puro);
    border-radius: 50%;
    color: var(--blanco-puro);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.hero-nav-btn:hover {
    background: var(--naranja-racing-light);
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(255, 77, 0, 0.6);
}

.hero-nav-btn:active {
    transform: scale(0.95);
}

/* Indicador de progreso curvo (como Motomundo) */
.swiper-pagination {
    position: relative !important;
    width: 200px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* SVG del arco curvo */
.progress-arc {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.progress-arc path {
    fill: none;
    stroke: rgba(255, 255, 255, 0.3);
    stroke-width: 3;
}

/* Punto rojo que se mueve sobre el arco */
.swiper-pagination-bullet {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--naranja-racing);
    border: 3px solid var(--blanco-puro);
    border-radius: 50%;
    opacity: 1;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(255, 77, 0, 0.8);
    z-index: 10;
}

.swiper-pagination-bullet-active {
    background: var(--naranja-racing);
    transform: scale(1.3);
    box-shadow: 0 0 30px rgba(255, 77, 0, 1);
}

/* Posiciones del punto en el arco (6 slides) */
.swiper-pagination-bullet:nth-child(1) {
    left: 5%;
    bottom: 5px;
}

.swiper-pagination-bullet:nth-child(2) {
    left: 23%;
    bottom: 25px;
}

.swiper-pagination-bullet:nth-child(3) {
    left: 40%;
    bottom: 35px;
}

.swiper-pagination-bullet:nth-child(4) {
    left: 60%;
    bottom: 35px;
}

.swiper-pagination-bullet:nth-child(5) {
    left: 77%;
    bottom: 25px;
}

.swiper-pagination-bullet:nth-child(6) {
    left: 95%;
    bottom: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-main-title {
        font-size: 2.5rem;
    }
    
    .moto-image {
        max-width: 100%;
    }
    
    .slide-title {
        font-size: 1.8rem;
    }
    
    .slide-subtitle {
        font-size: 1rem;
    }
    
    .slide-specs {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hero-nav-controls {
        bottom: 2rem;
        gap: 2rem;
    }
    
    .hero-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .swiper-pagination {
        width: 150px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .hero-main-title {
        font-size: 2rem;
    }
    
    .slide-info {
        padding: 1.5rem;
    }
    
    .slide-title {
        font-size: 1.5rem;
    }
    
    .hero-nav-controls {
        gap: 1rem;
    }
    
    .swiper-pagination {
        width: 120px;
        height: 40px;
    }
}
