/* responsive.css — Media queries para responsividad */

/* ========================================
   Desktop (≥1024px) — Estilos por defecto
   Los estilos base en styles.css cubren desktop.
   Aquí se refuerzan valores específicos de desktop.
   ======================================== */
@media (min-width: 1024px) {
  .terminal-window {
    max-width: 750px;
    margin: 0 auto;
  }
}

/* ========================================
   Tablet (768px – 1023px)
   ======================================== */
@media (max-width: 1023px) and (min-width: 768px) {
  /* Tipografía */
  h1 { font-size: var(--font-size-4xl); }
  h2 { font-size: var(--font-size-2xl); }
  h3 { font-size: var(--font-size-lg); }

  .section-title {
    font-size: var(--font-size-2xl);
    margin-bottom: 2rem;
  }

  /* Espaciado de secciones */
  section {
    padding: 4rem 0;
  }

  .section-container {
    padding: 0 2rem;
  }

  /* Hero */
  .hero-title {
    font-size: var(--font-size-4xl);
  }

  .hero-subtitle {
    font-size: var(--font-size-lg);
  }

  /* Terminal */
  .terminal-window {
    max-width: 100%;
  }

  /* Botones */
  .btn {
    padding: 0.7rem 1.5rem;
    font-size: var(--font-size-sm);
  }
}

/* ========================================
   Móvil (<768px)
   ======================================== */
@media (max-width: 767px) {
  /* Tipografía */
  h1 { font-size: var(--font-size-3xl); }
  h2 { font-size: var(--font-size-xl); }
  h3 { font-size: var(--font-size-base); }

  body {
    font-size: var(--font-size-sm);
  }

  .section-title {
    font-size: var(--font-size-xl);
    margin-bottom: 1.5rem;
  }

  /* Espaciado de secciones */
  section {
    padding: 3rem 0;
  }

  .section-container {
    padding: 0 1rem;
  }

  /* Hero */
  .hero-title {
    font-size: var(--font-size-3xl);
  }

  .hero-subtitle {
    font-size: var(--font-size-base);
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  /* Terminal */
  .terminal-window {
    max-width: 100%;
    font-size: var(--font-size-xs);
  }

  .terminal-input {
    font-size: var(--font-size-sm);
  }

  /* Botones */
  .btn {
    padding: 0.65rem 1.25rem;
    font-size: var(--font-size-sm);
  }

  /* About */
  .about-text {
    font-size: var(--font-size-sm);
  }

  /* Footer */
  .footer-content {
    padding: 0 1rem;
    text-align: center;
  }
}
