/* NAVBAR */
.navbar {
  background-color: #ffffff15;
  color: #fff;
  padding: 20px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Container */
.containernav {
  max-width: 1280px;
  margin: auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
}
.logo > span {
  color: white;
  font-weight: bold;
  text-shadow: 0px 0px 1px #d63384;
}
.logo > span > strong {
  color: #d63384;
}

/* Nav desktop */
.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: #f0f0f0;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}
.nav-links a:hover {
  color: #d63384;
}

/* CTA */
.btn-cta {
  background-color: #d63384;
  color: white;
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.btn-cta:hover {
  background-color: #c084fc;
}

/* Menu button */
.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}
.menu-btn span {
  width: 26px;
  height: 3px;
  background-color: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Animación de hamburguesa -> X */
.menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Nav mobile */
.nav-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  height: 100vh;
  background-color: #1e1e2f;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: right 0.4s ease;
  z-index: 1000;
}
.nav-mobile ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  height: 100vh;
  padding-left: 30px;
  padding-top: 80px;
}
.nav-mobile a {
  color: #f0f0f0;
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}
.nav-mobile a:hover {
  color: #d63384;
}
.nav-mobile.show {
  right: 0;
}
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 900;
}
.overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Nav mobile */
.nav-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  height: 100vh;
  background-color: #1e1e2f;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: right 0.4s ease;
  z-index: 1000;
}
.nav-mobile.show {
  right: 0;
}
.botoncerrar{
  
  background: none;
  border: none;
  color: white;
  position: absolute;
  top: 10px;
  cursor: pointer;
  font-size: 20px;
  right: 10px;
}


/* Responsive */
@media (max-width: 1150px) {
  .nav-desktop {
    display: none;
  }
  .menu-btn {
    display: flex;
  }
  .btn-cta{
    display: none;
  }
}