/* public/styles/global.css */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
  margin-bottom: 2rem;
}

.logo {
  font-family: 'Jost', sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-decoration: none;
  color: inherit;
}

nav a {
  margin-left: 0.3rem;
  padding: 0.2rem 0.4rem;
  text-decoration: none;
  color: #555;
  font-weight: 400;
}

nav a:hover {
  background: rgba(100, 234, 138, 0.15);
  color: #111;
}

footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

/* Para las páginas de detalle y texto */
h1, h2, h3 {
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* Ajustes responsive muy básicos */
@media (max-width: 600px) {
  header {
    flex-direction: column;
    gap: 1rem;
  }
  nav a {
    margin: 0 0.5rem;
  }
}

/* Estilos para enlaces del footer */
footer a {
  color: inherit;          /* mismo color que el texto normal */
  text-decoration: none;   /* sin subrayado */
}

footer a:hover {
  text-decoration: underline; /* opcional, solo al pasar el mouse */
}