/* Estilos para la sección inicio */
/* Archivo: inicio.css */

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden; /* Previene scroll horizontal en toda la página */
}

/* Estilos para la sección inicio - Toma toda la pantalla */
.section.inicio {
    width: 100%;
    height: 100vh;
    background: transparent;
    position: relative;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    z-index: 1;
}



/* Estilos para el slider */
.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    max-width: 100%; /* Asegura que no se salga del contenedor padre */
    z-index: 10; /* Asegura que esté por encima del fondo */
    opacity: 1; /* VISIBLE: Slider ahora es visible */
    visibility: visible; /* VISIBLE: Slider ahora es visible */
}

.slides-wrapper {
    display: flex;
    width: 300%; /* 3 slides */
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

/* Estilos base para todos los slides */
.slide {
    width: 33.333%; /* Cada slide ocupa 1/3 del contenedor */
    height: 100%;
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Previene que el contenido se salga */
    z-index: 5; /* Asegura que esté por encima del fondo */
}

/* Contenedores de contenido - Toman todo el espacio del slide padre */
.magicbox,
.carrito,
.pizarra {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 6; /* Asegura que esté por encima del fondo */
}

/* Navegación del slider */
.slider-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

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

/* Indicadores del slider */
.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.6);
}


