/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333333;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    /* Si quieres agregar una imagen sutil de fondo cyber (opcional), descomenta:
    background-image: url('bg-light.jpg'); // Una imagen clara y tenue
    background-size: cover;
    background-attachment: fixed;
    */
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Arte ASCII en header como watermark */
.ascii {
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0.2;
    font-family: 'Courier New', monospace;
    font-size: 10px;
    color: #666666;
    z-index: 999;
    pointer-events: none;
}

header {
    background: #f8f9fa;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #dee2e6;
}

.navegacion ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.navegacion li {
    margin: 0 15px;
}

.navegacion a {
    display: block;
    color: #007bff;
    text-decoration: none;
    padding: 15px 20px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    border-radius: 5px;
}

.navegacion a:hover {
    background: #e9ecef;
    border-color: #007bff;
    box-shadow: 0 2px 5px rgba(0, 123, 255, 0.2);
    transform: translateY(-2px);
    color: #0056b3;
}

main {
    margin-top: 80px; /* Espacio para navegacion + ascii */
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
}

section {
    margin-bottom: 40px;
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
}

#intro {
    text-align: center; /* Centrado como solicitaste */
}

h1, h2, h3 {
    font-family: 'Orbitron', monospace;
    color: #007bff;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.5em;
}

h2 {
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
    font-size: 1.8em;
}

.tarjeta {
    background: #f8f9fa;
    margin: 20px 0;
    padding: 20px;
    border-left: 4px solid #007bff;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.tarjeta:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.15);
    border-left-color: #0056b3;
}

.tarjeta h3 {
    color: #007bff;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.tarjeta p {
    margin-bottom: 12px;
}

.tarjeta strong {
    color: #495057;
}

.tarjeta i {
    margin-right: 8px;
    color: #007bff;
}

/* Iconos específicos para prevención (verde suave) */
.tarjeta i.fa-shield-alt {
    color: #28a745;
}

footer {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    color: #007bff;
    margin-top: 40px;
    border-top: 1px solid #dee2e6;
    font-family: 'Orbitron', monospace;
}

/* Responsive */
@media (max-width: 768px) {
    .navegacion ul {
        flex-direction: column;
    }
    
    .navegacion li {
        margin: 5px 0;
    }
    
    main {
        padding: 10px;
        margin-top: 100px;
    }
    
    h1 {
        font-size: 2em;
    }
    
    .ascii {
        font-size: 8px;
        right: 5px;
        top: 5px;
    }
}
