/* Robots Carousel - Estilos independientes */

/* Robots Intro Section */
.robots-intro {
    padding: 60px 0 30px 0;
    background: #f8f9fa;
    text-align: center;
}

.robots-intro h2 {
    font-size: 2.2rem;
    font-weight: bold;
    color: #333;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.4;
}

/* Robots Slider Section */
.robots-slider {
    padding: 30px 0 80px 0;
    background: #f8f9fa;
    overflow: hidden;
}

.slider-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 80px; /* Espacio para botones */
}

.slider-track {
    display: flex;
    transition: transform 0.3s ease;
    cursor: grab;
    user-select: none;
    width: max-content;
}

.slider-track:active {
    cursor: grabbing;
}

.robot-card {
    flex: 0 0 300px;
    width: 300px;
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    margin-right: 20px;
}

.robot-card:hover {
    transform: translateY(-5px);
}

.robot-card img {
    width: 100%;
    height: 200px;
    border-radius: 15px;
    object-fit: cover;
    margin-bottom: 20px;
}

.robot-card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.robot-card h4 {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 15px;
    font-weight: 500;
}

.robot-card p {
    color: #666;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Botones de navegación */
.robots-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.robots-nav-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.robots-prev-btn {
    left: -60px;
}

.robots-next-btn {
    right: -60px;
}

/* Responsive */
@media (max-width: 768px) {
    .slider-container {
        padding: 0 60px;
    }
    
    .robot-card {
        flex: 0 0 280px;
        width: 280px;
        padding: 25px 15px;
    }
    
    .robots-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .robots-prev-btn {
        left: 5px;
    }
    
    .robots-next-btn {
        right: 5px;
    }
}