/* Estilos generales */
body {
  font-family: 'Lato', sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  color: #561d25;
  background-color: #d4e79e;
}

/* Cabecera */
header {
  background-color: #264653;
  padding: 1rem 0;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-title a {
  color: #d4e79e;
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  white-space: nowrap;
}

/* Menú en una línea */
.main-nav {
  width: 100%;
  margin-top: 1rem;
}

.nav-list.single-line {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.nav-list.single-line li {
  flex: 0 0 auto;
  white-space: nowrap;
}

.nav-list.single-line a {
  color: #d4e79e;
  text-decoration: none;
  font-weight: 700;
  padding: 0.5rem 0.8rem;
  display: block;
  transition: background-color 0.3s;
}

.nav-list.single-line a:hover,
.nav-list.single-line a.active {
  background-color: #561d25;
  border-radius: 4px;
}

/* Contenido */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.content-section {
  padding: 2rem 0;
}

/* Footer */
footer {
  background-color: #264653;
  color: #d4e79e;
  padding: 1.5rem 0;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-list.single-line {
    justify-content: flex-start;
  }
  
  .hamburger {
    display: block;
    background: none;
    border: none;
    color: #d4e79e;
    font-size: 1.5rem;
    position: absolute;
    right: 1rem;
    top: 1rem;
    cursor: pointer;
  }
  
  .nav-list {
    display: none;
  }
  
  .nav-list.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #264653;
    z-index: 100;
  }
}