.nav-wrapper {
  position: fixed;
  top: 25px;
  left: 0;
  width: 100%;

  display: grid;
  grid-template-columns: 1fr auto 1fr; /*  رجعناها كده */

  align-items: center;

  z-index: 999;
  pointer-events: none;
}

/* اللوجو */
.logo {
  justify-self: start;
  pointer-events: auto;
}

/* اللوجو صورة */
.logo img {
  width: 200px; /* */
  transition: 0.3s;
  cursor: pointer;
}

/* glow */
.logo img:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 0 10px #6600ff)
          drop-shadow(0 0 20px #9b00ff);
}

/* الناف */
.nav-center {
  justify-self: center;
  pointer-events: auto;
}

/* شكل الناف */
.navbar {
  padding: 8px;

  border-radius: 50px;

  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(25px);

  border: 1px solid rgba(255,255,255,0.08);

  box-shadow: 0 10px 40px rgba(0,0,0,0.4);

  transition: transform 0.2s ease-out;
}

/* اللينكات */
.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  position: relative;

  background: rgba(255,255,255,0.05);
  padding: 5px;
  border-radius: 30px;
}


.active-bg {
  position: absolute;
  background: linear-gradient(90deg, #ff6a00, #9b00ff);
  border-radius: 30px;
  transition: all 0.4s ease;
  z-index: 0;
    top: 5px;
  height: calc(100% - 10px);
}

/* كل لينك */
.nav-links li {
  padding: 7px 14px;
  border-radius: 20px;
  cursor: pointer;
  opacity: 0.7;
  transition: 0.3s;
  font-size: 14px;
   z-index: 1;
}

/* active */
.nav-links li.active {
  color: white;
  opacity: 1;
    transition: 0.3s;

}

/* hover */
.nav-links li:hover {
  opacity: 1;
}

.nav-btn {
  justify-self: end;

    background: linear-gradient(90deg, #ff6a00, #9b00ff);
  color: white;
  box-shadow: 0 0 20px rgba(255, 106, 0, 0.5);

  border: none;
  padding: 10px 20px;
  border-radius: 25px;

  cursor: pointer;
  transition: 0.3s;
  pointer-events: auto;

  white-space: nowrap; 
}

/* hover */
.nav-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 106, 0, 0.6);
}