/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f9f9f9;
}

/* Header principal */
.header {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

/* Logo */
.logo img {
  height: 50px;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

/* Menú de escritorio */
.nav-menu .menu-list {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-menu .menu-list a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s ease;
}

.nav-menu .menu-list a:hover,
.nav-menu .menu-list a.active {
  color: #2d6aed;
}

/* Hamburger (menú móvil) */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background-color: #333;
  transition: 0.3s;
  border-radius: 3px;
}

/* Animación del botón hamburguesa */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Menú móvil */
.mobile-menu {
  position: fixed;
  top: 80px;
  left: -100%;
  width: 100%;
  height: calc(100vh - 80px);
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: left 0.4s ease;
  z-index: 999;
}

.mobile-menu.open {
  left: 0;
}

.mobile-menu ul {
  list-style: none;
  text-align: center;
  gap: 30px;
  display: flex;
  flex-direction: column;
}

.mobile-menu ul a {
  color: #333;
  font-size: 1.5rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.mobile-menu ul a:hover {
  color: #2d6aed;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .container {
    justify-content: space-between;
  }
}

@media (min-width: 769px) {
  .mobile-menu {
    display: none;
  }
}