/* =================================================================
   ESTILOS GLOBALES Y DE DISEÑO PARA EL PORTAFOLIO
   ================================================================= */

/* --- FUENTES Y CUERPO PRINCIPAL --- */
body { 
    font-family: 'Inter', sans-serif; 
    background-color: #FFFFFF; /* Fondo principal blanco por defecto */
    color: #1F2937; /* Color de texto oscuro por defecto */
}

.font-display {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
}

/* --- PALETA DE COLORES --- */
.text-green-accent { color: #16A34A; }
.text-green-light { color: #34D399; }
.bg-green-accent { background-color: #16A34A; }
.bg-green-dark { background-color: #052e16; }
.bg-black-section { background-color: #0D0D0D; }
.border-green-accent { border-color: #16A34A; }

/* --- NAVEGACIÓN --- */
.nav-link {
    color: #4B5563;
    transition: color 0.3s ease;
    font-weight: 500;
}
.nav-link:hover { color: #16A34A; }

.nav-link.active {
    color: #16A34A; /* Color verde de acento */
    font-weight: 700;  /* Texto en negrita */
}


/* --- TARJETAS (CARDS) --- */
.dark-card {
    background-color: #1A1A1A;
    border: 1px solid #2b2b2b;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.dark-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(22, 163, 74, 0.1);
}

.project-card {
    background-color: #064e3b;
    border: 1px solid #065f46;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(52, 211, 153, 0.15);
}

/* --- LÍNEA DE TIEMPO (TIMELINE) --- */
.timeline-item::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 12px;
    bottom: 0;
    width: 2px;
    background-color: #E5E7EB; /* Línea para fondo claro */
    height: calc(100% - 12px);
}
.timeline-item.dark::before {
    background-color: #374151; /* Línea para fondo oscuro */
}
.timeline-item:last-child::before { display: none; }

.timeline-dot {
    position: absolute;
    left: 0;
    top: 12px;
    height: 24px;
    width: 24px;
    background-color: #16A34A;
    border-radius: 50%;
    border: 4px solid #F9FAFB; /* Borde para fondo claro */
}
.timeline-dot.dark {
    border-color: #0D0D0D; /* Borde para fondo oscuro */
    background-color: #34D399;
}


/* --- ESTILOS PARA PÁGINAS DE REPORTES --- */
.report-content h1, .report-content h2, .report-content h3, .report-content h4 {
    font-weight: 700;
    color: #FFFFFF;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}
.report-content h2 { font-size: 1.875rem; border-bottom: 1px solid #374151; padding-bottom: 0.25rem; }
.report-content h3 { font-size: 1.5rem; color: #34D399; }
.report-content h4 { font-size: 1.25rem; }
.report-content p, .report-content li {
    font-size: 1.125rem;
    line-height: 1.75;
    color: #D1D5DB;
    text-align: justify;
}
.report-content ul {
    list-style-position: inside;
    list-style-type: disc;
    padding-left: 1rem;
}
.report-content code.inline-code {
    background-color: #2b2b2b;
    color: #d4d4d4;
    padding: 0.2em 0.4em;
    border-radius: 4px;
    font-family: monospace;
}
.report-content pre {
    background-color: #1E1E1E;
    color: #d4d4d4;
    padding: 1em;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
}
