/* header.css */

/* Contenedor del header */
#header-container {
  width: 100%;
  background-color: #1c1c1c; /* fondo oscuro */
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Branding */
.branding {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  padding: 1rem 2rem;
}

.branding img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.branding h1 {
  font-size: 1.5rem;
  margin: 0;
}

/* Menú toggle para móviles */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  margin-left: auto;
}

/* Menú de navegación */
.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0 2rem;
}

.nav-menu ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-menu a:hover {
  color: #f39c12; /* efecto hover */
}

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #1c1c1c;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
  }
}