/* ===== HEADER + TABS VERDE MILITAR ===== */

/* barra superior */
.md-header {
  background-color: #2f4f2f !important; /* verde militar */
}

/* tabs (Home, About, etc) */
.md-tabs {
  background-color: #2f4f2f !important;
}

/* texto de los tabs */
.md-tabs__link {
  color: #e6efe6 !important;
  font-weight: 600;
}

/* tab activo */
.md-tabs__link--active {
  color: #ffffff !important;
  border-bottom: 2px solid #9fbf9f;
}

/* hover */
.md-tabs__link:hover {
  color: #ffffff !important;
}

/* ===== TERMINAL BLOCK (HTML) — CLEAN & AESTHETIC ===== */
pre.term {
  background: linear-gradient(180deg, #0d1117 0%, #0b1016 100%);
  padding: 0.35rem 0.75rem 0.55rem 0.75rem;
  border-radius: 10px;
  overflow-x: auto;
  margin: 0.9rem 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* elimina adornos de Material */
pre.term::before,
pre.term::after {
  display: none !important;
}

/* texto */
pre.term code {
  background: transparent !important;
  font-family: Consolas, Monaco, 'Courier New', monospace;
  font-size: 0.93rem;
  line-height: 1.38;
  color: #f0f6fc;
  display: block;
}

/* opcional: selección de texto más elegante */
pre.term ::selection {
  background: rgba(121, 192, 255, 0.25);
}

/* jerarquías */
pre.term .prompt { color: #8b949e; } /* $ */
pre.term .cmd    { color: #7ee787; font-weight: 600; } /* sudo */
pre.term .bin    { color: #79c0ff; font-weight: 600; } /* apt, git, python */
pre.term .arg    { color: #f0f6fc; } /* update, install */
pre.term .pkg    { color: #ffa657; font-weight: 600; } /* git, paquetes */
pre.term .flag   { color: #d2a8ff; } /* -m, --help, etc */
pre.term .path   { color: #a5d6ff; } /* rutas */
pre.term .note   { color: #8b949e; font-style: italic; } /* comentarios */

/* contenedor general */
.tech-grid{
  display:grid;
  gap:1.6rem;

  /* compacta el espacio vertical */
  margin: 0.6rem 0 0.8rem;

  text-align:center;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

/* 🔽 quita aire entre "## Tools" y el grid */
h2 + .tech-grid{
  margin-top: 0.4rem;
}

/* 🔽 quita aire entre el grid y el siguiente "## Setup" */
.tech-grid + h2{
  margin-top: 1rem;
}

/* tarjeta */
.tech-card{
  display:flex;
  flex-direction:column;
  min-height: 280px;
}

/* imagen */
.tech-img{
  width:100%;
  max-width:200px;
  margin:0 auto;
  border-radius:18px;
  box-shadow:0 10px 28px rgba(0,0,0,0.28);
  transition: transform .25s ease, box-shadow .25s ease;
}

/* hover */
.tech-img:hover{
  transform: translateY(-6px);
  box-shadow:0 18px 36px rgba(0,0,0,0.4);
}

/* accesibilidad */
.tech-img:focus-visible{
  transform: translateY(-6px);
  box-shadow:0 18px 36px rgba(0,0,0,0.4);
  outline: 3px solid rgba(47,79,47,0.5);
}

/* texto */
.tech-title{
  margin-top:0.6rem;
  font-weight:600;
}

.tech-desc{
  font-size:0.85rem;
  opacity:0.75;
}

/* 📱 móvil */
@media (max-width: 600px){
  .tech-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 💻 desktop */
@media (min-width: 900px){
  .tech-grid{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
