/* Reset y fuentes */
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  padding: 2rem 0;
}

/* Header */
header {
  background: #1e1e2f;
  color: #fff;
  padding: 3rem 0;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 2.8rem;
}

header p {
  margin-top: 0.5rem;
  font-size: 1.2rem;
}

header .badges {
  margin-top: 1rem;
}

header .badges img {
  margin: 0.2rem;
}

/* Secciones */
section {
  padding: 3rem 0;
}

section h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #1e1e2f;
}

/* Proyectos */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.project-card h3 {
  margin-top: 0;
  color: #1e1e2f;
}

.project-card a {
  display: inline-block;
  margin-top: 1rem;
  text-decoration: none;
  color: #fff;
  background: #3498db;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background 0.3s;
}

.project-card a:hover {
  background: #2980b9;
}

/* GitHub Stats */
#stats .stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

#stats img {
  max-width: 100%;
  border-radius: 10px;
}

/* Contacto */
#contact ul {
  list-style: none;
  padding: 0;
  text-align: center;
}

#contact li {
  margin: 0.5rem 0;
}

#contact a {
  color: #3498db;
  text-decoration: none;
}

#contact a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background: #1e1e2f;
  color: #fff;
  text-align: center;
  padding: 1.5rem 0;
  margin-top: 3rem;
}
