
/* RESET BÁSICO - Normaliza estilos del navegador */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variables de color (Identidad)*/
:root {
    --color-bg: #0f0f12; /* Negro suave */
    --color-primary: #7c3aed; /* Morado */
    --color-secundary: #22c55e; /* Verde */
    --color-text: #e5e7eb; /* Texto claro */
    --color-muted: #9ca3af; /* Texto secundario */
}


/* Estilos Generales */
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
}


/* Contenedor Global */
.container {
    
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}


/* Header */
header {
    padding: 3rem 0 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

header h1 {
    font-size: 2.5rem;
    color: var(--color-primary);
}

header p {
    color: var(--color-muted);
    margin-top: 0.5rem;
}


/* Navegación */
nav {
    background-color: rgba(255, 255, 255, 0.02);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    padding: 1rem 0;
}

nav a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
}

nav a:hover {
    color: var(--color-primary);
}


/* Contenido Principal */
main {
    padding: 3rem 0;
}

section {
    margin-bottom: 1.0rem;
}

section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-secundary);
}

section p, section li {
    color: var(--color-text);
}

section ul {
    margin-left: 1.2rem;
}


/* Footer */
footer{
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
    font-size: 0.9rem;
    color: var(--color-muted);
}


/* NAV RESPONSIVE */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-toggle {
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 1.8rem;
    cursor: pointer;
    display: none;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}


/* Responsive General */

/* Tablets */
@media (max-width: 768px) {
    body {
    font-size: 0.95rem;
    }


    header {
    padding: 2rem 0 1.5rem;
    }


    header h1 {
    font-size: 1.6rem;
    }


    section h2 {
    font-size: 1.3rem;
    }


    .container {
    width: 92%;
    }
    
}



/* Móviles */
@media (max-width: 480px){
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        margin-top: 1rem;
    }


}

