/* BOTÓN HAMBURGUESA */
.menu-btn {
  width: 30px;
  height: 20px;
  margin-left: auto;
  position: relative; /* 🔥 ya no fixed */
  cursor: pointer;
  z-index: 2000;
}

.menu-btn span {
  position: absolute;
  width: 100%;
  height: 3px;
  background: black;
  left: 0;
  transition: 0.3s;
}

.menu-btn span:nth-child(1) { top: 0; }
.menu-btn span:nth-child(2) { top: 8px; }
.menu-btn span:nth-child(3) { top: 16px; }

/* ANIMACIÓN A CRUZ */
.menu-btn.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 8px;
}

.menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 8px;
}

/* MENÚ */
.menu {
  position: fixed;
  top: 0;
  left: 0; /* cambiamos esto */
  width: 100%;
  height: 100vh;

  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(1px);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  opacity: 0;
  pointer-events: none;

  transition: opacity 0.4s ease;
  z-index: 1050;
}

.menu.active {
  opacity: 1;
  pointer-events: auto;
}

.menu ul {
  list-style: none;
  text-align: center;
}

.menu ul li {
  font-size: 28px;
  margin: 20px 0;
  cursor: pointer;
  color: white;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.4s;
}
.menu ul li a {
  color: white;
  text-decoration: none;
}

.menu ul li a:visited {
  color: white;
}

.menu ul li a:hover {
  color: #ddd; /* hover más suave */
}

.menu.active ul li {
  opacity: 1;
  transform: translateY(0);
}

.social {
  margin-top: 40px;
}

.social i {
  margin: 0 10px;
  cursor: pointer;
}

.social img {
  width: 30px;
  margin: 0 12px;
  cursor: pointer;
  transition: 0.3s;

  filter: brightness(0) invert(1); /* 🔥 los vuelve blancos */
}

.social img:hover {
  transform: scale(1.2);
}

.social a:hover img {
  transform: scale(1.2);
  opacity: 0.8;
}



.social a {
  text-decoration: none !important;
}