/* ================= NAVBAR ================= */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: #000;
  z-index: 1000;

    padding-left: 0%;
    padding-right: 0%;

    /* border-bottom-left-radius: 70px;
    border-bottom-right-radius: 70px; */
}


/* ================= NAVBAR LOAD ANIMATION ================= */
/* Hidden ONLY during preload */
body.nav-preload .navbar {
  opacity: 0;
  transform: translateY(-32px);
}

/* Smooth animation */
.navbar {
  transition:
    opacity 1.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}


/* Container */
.nav-container {
  max-width: 100%;
  margin: 0 auto;
  padding-left: 7%;
  padding-right: 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo img {
  height: auto;
  width: 100px;
  display: block;
}

/* ================= NAV LINKS ================= */
.nav-links {
  display: flex;
  align-items: center;

}

.nav-links a {
  margin-left: 28px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 350;
  color: #fff;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: gray;
  font-weight: 500;
  opacity: 1;
}

/* ================= SOCIAL ICONS ================= */
.nav-social {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-social a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-social img.icon {
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Individual tuning (feel free to tweak) */
.icon.x          { width: 30px; height: 30px; }
.icon.linkedin   { width: 25px; height: 25px; }
.icon.github     { width:32px; height: 32px; }
.icon.instagram  { width: 34px; height: 34px; }

.nav-social a:hover img {
  opacity: 1;
  transform: translateY(-1px);
}

/* Desktop only */
.desktop-social {
  margin-left: 40px;
}

/* Mobile social hidden by default */
.mobile-social {
  display: none;
  margin-top: 28px;
}

/* ================= HAMBURGER ================= */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 2px;
  background: #fff;
}

/* ================= TABLET & MOBILE ================= */
@media (max-width: 1023px) {

  .hamburger {
    display: flex;
  }

  .desktop-social {
    display: none;
  }

  .logo img {
  height: auto;
  width: 70px;
  display: block;
}

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #111;
    flex-direction: column;
    align-items: center;
    display: none;
  }

  .nav-links a {
    margin: 0;
    padding: 15px ;
    width: 100%;
    text-align: center;
    font-size: 18px;
    border-top: 1px solid #222;
  }

  
  .nav-links.show {
    display: flex;
  }

  .mobile-social {
    display: flex;
    justify-content: center;
    gap: 1px;

  }

  /* Slightly larger icons on mobile */
.icon.x          { width: 40px; height: 40px; }
.icon.linkedin   { width: 30px; height: 30px; }
.icon.github     { width:42px; height: 42px; }
.icon.instagram  { width: 44px; height: 44px; }
}



/* ================= NAVBAR LOAD ANIMATION ================= */
.navbar {
  opacity: 0;
  transform: translateY(-20px);
  animation: navbarFadeIn 1s ease-out 0.2s forwards;
}

@keyframes navbarFadeIn {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  60% {
    opacity: 0.7;
    transform: translateY(-8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


