/* ==========================
   Estilos para el Carrusel de Modelos
   ========================== */
   .model-carousel-section {
    position: relative;
    border: 1px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.1);
}

.cyber-message {
    text-align: center;
    font: 600 0.9rem 'Orbitron', sans-serif;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 1rem;
    background: rgba(139, 92, 246, 0.1);
    border-bottom: 2px solid var(--accent-color);
    margin-bottom: 1rem;
    animation: text-glow 1.5s ease-in-out infinite alternate;
}

.cyberpunk-title {
    position: relative;
    text-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

.cyberpunk-title::after {
    background: linear-gradient(90deg, var(--accent-color), transparent);
    box-shadow: 0 0 15px var(--accent-color);
}

/* ==========================
   Estilos Profesionales para el Título
   ========================== */
   .model-carousel-title {
    font-family: 'Poppins', sans-serif; /* Tipografía premium */
    font-size: 1.75rem; /* Tamaño más discreto pero legible */
    font-weight: 600; /* Grosor de la fuente para un aspecto profesional */
    color: var(--text-primary); /* Color de texto principal */
    text-align: center;
    margin: 0 auto 2rem; /* Espaciado inferior ajustado */
    max-width: 1200px;
    position: relative;
    padding: 0 20px;
    text-transform: uppercase; /* Texto en mayúsculas para elegancia */
    letter-spacing: 1.5px; /* Espaciado entre letras para mayor claridad */
    background: var(--primary-gradient); /* Fondo con gradiente */
    -webkit-background-clip: text; /* Aplicar gradiente al texto */
    background-clip: text;
    color: transparent; /* Hacer el texto transparente para mostrar el gradiente */
    text-shadow: 0 2px 8px rgba(99, 102, 241, 0.3); /* Sombra sutil para profundidad */
    transition: var(--transition); /* Transición suave para efectos hover */
}

/* Efecto hover para el título */
.model-carousel-title:hover {
    text-shadow: 0 4px 12px rgba(99, 102, 241, 0.5); /* Sombra más pronunciada al pasar el cursor */
    transform: translateY(-2px); /* Efecto de elevación sutil */
}

/* Línea decorativa debajo del título */
.model-carousel-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 60px;
    height: 3px;
    background: var(--accent-color); /* Color de acento para la línea */
    transform: translateX(-50%);
    border-radius: 2px;
    opacity: 0.8;
    transition: var(--transition);
}

/* Efecto hover para la línea decorativa */
.model-carousel-title:hover::after {
    width: 80px; /* Extender la línea al pasar el cursor */
    opacity: 1;
}

.model-carousel-container {
    overflow: hidden; /* Contiene los slides dentro del contenedor */
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px;
    position: relative;
    z-index: 2;
}

.model-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    width: calc(100% + 1.5rem); /* Compensa el margen derecho del último slide */
    padding: 10px 0; /* Espacio vertical para efectos hover */
}

.model-carousel-slide {
    width: 320px;
    height: 480px;
    perspective: 1000px;
    transition: transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
    flex-shrink: 0;
    margin-right: 1.5rem;
}

.model-slide-card {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    transform-style: preserve-3d;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
    background: var(--color-dark-2);
    border: 2px solid transparent;
}

.model-slide-card:hover {
    border-color: var(--color-secondary);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
    transform: translateY(-10px);
}

.cyber-info-box {
    background: rgba(15, 15, 30, 0.95);
    border: 1px solid var(--accent-color);
    padding: 1.2rem;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.model-slide-card:hover .cyber-info-box {
    transform: translateY(0);
}

.model-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center;
    filter: saturate(0.9) contrast(1.05);
    transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.model-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.95) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.model-slide-title {
    color: var(--accent-color) !important;
    font: 600 1.3rem 'Orbitron', sans-serif;
    text-align: center;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.4s ease 0.1s;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
    padding: 1rem;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 8px;
    backdrop-filter: blur(4px);
    margin-bottom: 0.5rem;
}

.cyber-view-text {
    display: block;
    font: 400 0.8rem 'Inter', sans-serif;
    color: #fff;
    text-align: center;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.model-slide-card:hover .model-slide-overlay {
    opacity: 1;
}

.model-slide-card:hover .model-slide-title {
    transform: translateY(0);
    opacity: 1;
}

.model-carousel-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, 
      rgba(140, 92, 246, 0.1) 0%, 
      transparent 60%
    );
    z-index: 1;
}

.model-carousel-prev,
.model-carousel-next {
    color: var(--accent-color) !important;
    width: 50px !important;
    height: 50px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 50%;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.model-carousel-prev:hover,
.model-carousel-next:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: scale(1.1);
}

.model-carousel-pagination {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}




/* Responsive Design */
@media (max-width: 1400px) {
    .model-carousel-slide {
        width: 300px;
        height: 450px;
    }
}

@media (max-width: 1024px) {
    .model-carousel-section {
        border-radius: 0;
    }
    
    .model-carousel-slide {
        width: 280px;
        height: 420px;
    }
}

@media (max-width: 768px) {
    .model-carousel-title {
        font-size: 1.8rem;
    }
    
    .model-carousel-slide {
        width: 260px;
        height: 390px;
    }
}

@media (max-width: 480px) {
    .model-carousel-slide {
        width: 90%;
        height: 400px;
    }
}