body {
  padding-top: 60px;
  background-color: var(--color-bg);
}

/* NAVBAR BASE */
.navbar {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  background: rgba(20, 20, 30, 0.85); /* fondo semitransparente profesional */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--font-text);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

/* BORDER SUPERIOR GRADIENTE */
.navbar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0.7;
}

/* CONTAINER */
.nav-container {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}

/* LOGO */
.nav-logo {
  font-family: var(--font-title);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: #A8BFFF; /* morado-azulado moderno */
  text-decoration: none;
  letter-spacing: 1px;
  z-index: 2;
}


/* Animación para cambiar el título */
.nav-logo.fade-out {
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.15s ease;
}

.nav-logo.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.15s ease;
}


/* MENU */
.nav-menu {
  display: flex;
  gap: var(--space-6);
  list-style: none;
}

.nav-item {}

.nav-link {
  height: 100%;
  width: 100%;
  color: #E5E5FF; /* blanco-azulado suave */
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: #88D7FF; /* cian suave para resaltar */
  text-shadow: 0 0 10px #88D7FF, 0 0 20px #88D7FF;
  transform: scale(1.05);
}

/* HAMBURGUESA */
.nav-toggle {
  display: none;
  font-size: var(--text-2xl);
  color: #A8BFFF; /* mismo color que el logo */
  cursor: pointer;
  transition: transform 0.3s;
}

.nav-toggle:hover {
  transform: scale(1.1);
}

/* RESPONSIVE */
@media screen and (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 60px;
    right: -100%;
    width: 65%;
    height: calc(100vh - 60px);
    flex-direction: column;
    gap: var(--space-4);
    padding: var(--space-6) 20px;
    transition: all 0.7s ease;
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.5);
    background: rgba(20, 20, 30);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .nav-logo {
    font-size: 1rem; /* o 1.125rem */
    white-space: nowrap; /* evita que salte a la siguiente línea */
    overflow: hidden;
    text-overflow: ellipsis; /* si no cabe, muestra ... */
  }

  .nav-menu li {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.3s ease;
  }

  .nav-menu.active li {
    opacity: 1;
    transform: translateX(0);
    transition-delay: calc(0.05s * var(--i));
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-toggle {
    display: block;
  }


  
}


@media screen and (max-width: 768px) {
  
}
