/* ===== ESTILOS GENERALES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fa;
    color: #333;
    display: flex;
    min-height: 100vh;
    line-height: 1.6;
}

/* ===== MENÚ VERTICAL ===== */
.menu-vertical {
    width: 280px;
    background: #2c3e50;
    padding: 30px 20px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 3px 0 15px rgba(0, 0, 0, 0.1);
}

.logo {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #3498db;
}

.logo h1 {
    color: #ffffff;
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 600;
}

.slogan {
    color: #3498db;
    font-style: italic;
    font-size: 16px;
}

/* Navegación vertical */
.nav-vertical ul {
    list-style: none;
}

.nav-vertical li {
    margin-bottom: 15px;
}

.nav-vertical a {
    display: block;
    color: #ecf0f1;
    text-decoration: none;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.nav-vertical a:hover {
    background: #3498db;
    color: white;
    border-left-color: #1abc9c;
}

.nav-vertical a.activo {
    background: #3498db;
    color: white;
    border-left-color: #1abc9c;
}

/* ===== CONTENIDO PRINCIPAL ===== */
.contenido-principal {
    flex: 1;
    margin-left: 280px;
    padding: 30px;
    min-height: 100vh;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    color: white;
    padding: 50px 30px;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 600;
}

.hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Sección de contenido */
.seccion-contenido {
    background: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #eaeaea;
}

.seccion-contenido h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #3498db;
    font-size: 28px;
    font-weight: 600;
}

.seccion-contenido p {
    margin-bottom: 20px;
    font-size: 17px;
    color: #555;
}

/* Características */
.caracteristicas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.caracteristica {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-top: 4px solid #3498db;
    transition: transform 0.3s ease;
}

.caracteristica:hover {
    transform: translateY(-5px);
}

.caracteristica h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 600;
}

/* Estilos para portafolio */
.servicios {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.servicio {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #1abc9c;
}

.servicio h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 24px;
    font-weight: 600;
}

.servicio ul {
    margin-left: 20px;
    margin-top: 10px;
}

.servicio li {
    margin-bottom: 8px;
    font-size: 16px;
    color: #555;
}

.juegos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.juego {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eaeaea;
    transition: all 0.3s ease;
}

.juego:hover {
    border-color: #3498db;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.1);
}

.juego h4 {
    color: #3498db;
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 600;
}

/* Estilos para equipo */
.equipo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.miembro {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    border-top: 4px solid #3498db;
    transition: all 0.3s ease;
}

.miembro:hover {
    transform: translateY(-5px);
}

.miembro h3 {
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 22px;
    font-weight: 600;
}

.cargo {
    color: #3498db;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 16px;
}

/* Estilos para contacto */
.formulario-contacto {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-top: 25px;
}

.campo-formulario {
    margin-bottom: 20px;
}

.campo-formulario label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 16px;
}

.campo-formulario input,
.campo-formulario textarea,
.campo-formulario select {
    width: 100%;
    padding: 12px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    color: #333;
    transition: all 0.3s;
}

.campo-formulario input:focus,
.campo-formulario textarea:focus,
.campo-formulario select:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.campo-formulario textarea {
    min-height: 150px;
    resize: vertical;
}

.boton {
    background: #3498db;
    color: white;
    border: none;
    padding: 15px 35px;
    font-size: 18px;
    border-radius: 6px;
    cursor: pointer;
    display: block;
    margin: 30px auto 0;
    font-weight: 600;
    transition: all 0.3s;
}

.boton:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.mensaje-exito,
.mensaje-error {
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 25px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}

.mensaje-exito {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.mensaje-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.informacion-contacto {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid #ddd;
}

.informacion-contacto h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
}

.informacion-contacto p {
    font-size: 16px;
    margin-bottom: 10px;
    color: #555;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 25px;
    margin-top: 40px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .menu-vertical {
        width: 240px;
    }
    
    .contenido-principal {
        margin-left: 240px;
        padding: 25px;
    }
}

@media (max-width: 768px) {
    body {
        flex-direction: column;
    }
    
    .menu-vertical {
        position: relative;
        width: 100%;
        height: auto;
        padding: 20px;
    }
    
    .contenido-principal {
        margin-left: 0;
        padding: 20px;
    }
    
    .nav-vertical ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .nav-vertical li {
        margin-bottom: 0;
        flex: 1;
        min-width: 140px;
    }
    
    .nav-vertical a {
        padding: 12px 15px;
        font-size: 16px;
    }
    
    .hero {
        padding: 35px 20px;
    }
    
    .hero h2 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .seccion-contenido {
        padding: 20px;
    }
    
    .caracteristicas,
    .equipo {
        grid-template-columns: 1fr;
    }
    
    .formulario-contacto {
        padding: 20px;
    }
    
    .boton {
        padding: 12px 25px;
        font-size: 16px;
    }
}