/* Estilos del sistema de diseño — Réplica fiel de andresburbano.rumbo3d.com */

:root {
  --bg: #f8fafc;
  --bg-surface: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border-subtle: rgba(15, 23, 42, 0.12);
  color-scheme: light;
}

html.dark {
  --bg: #0a0e17;
  --bg-surface: #111827;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-subtle: rgba(255, 255, 255, 0.1);
  color-scheme: dark;
}

/* Tipografía base */
body {
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: 'JetBrains Mono', monospace;
  transition: background-color 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
}

/* Indicador de navegación interactiva */
.nav-link.active .nav-indicator {
  width: 4rem !important;
  background-color: var(--text-primary) !important;
}

.nav-link.active .nav-text {
  color: var(--text-primary) !important;
  font-weight: 700;
}

/* Transición suave para todos los interactivos */
a, button {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Estilo para bloques de experiencia en hover */
.exp-card:hover .exp-bg {
  opacity: 1;
}

/* Text Selection */
::selection {
  background: rgba(148, 163, 184, 0.3);
  color: var(--text-primary);
}

/* Custom Scrollbar minimalista */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Animaciones sutiles de entrada */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Impresión para cv.html */
@media print {
  .no-print {
    display: none !important;
  }
  body {
    background: #ffffff !important;
    color: #000000 !important;
    font-family: Arial, Helvetica, sans-serif !important;
  }
}
