/* ========== HEADER ========== */
.header {
  position: relative;
  height: 100vh;
  min-height: 600px;
  width: 100%;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}




nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  padding: .5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: top 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  background-color: transparent;

}

/* Opaque background when scrolled */
nav.scrolled {
  background-color: rgba(0, 0, 0, 0.85); /* Or match your design */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);

}

/* Hide nav when scrolling down */
nav.nav--hidden {
  top: -100px; /* adjust to your nav height */
}
#logo-txt{
   background: linear-gradient(
    90deg,
    #cfd8dc,
    #e0e0e0,
    #f5f5f5,
    #c0c0c0,
    #dcdcdc,
    #b0b0b0
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 1px;

}

.nav__header {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

.nav__logo img {
  height: 4rem;
}

.nav__menu__btn {
  font-size: 2rem;
  color: white;
  cursor: pointer;
  display: none;
}

/* Nav links */
.nav__links {
  display: flex;
  align-items: center;
  justify-content: end;
  list-style: none;
  gap: 2rem;
  width:100%;


}

.nav__links a {
  color: #ffffff;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
   white-space: nowrap; /* Prevent text from wrapping */
  text-decoration: none;
  display: inline-block;
}

.nav__links .nav__logo {
  display: none;
}
.nav__links a {
  color: #fbfdff;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav__links a:hover {
  color: #ffffff; /* Brighter on hover */
  text-shadow: 0 0 8px #58b1ff, 0 0 16px #58b1ff; /* Subtle blue glow */
}

/* Mobile Menu */
@media (max-width: 768px) {
  .nav__menu__btn {
    display: block;
  }

  .nav__links {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.85);
  padding: 0;
  gap: 1.5rem;
  z-index: -1;
  display: flex;

  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s ease;
}

.nav__links.show {
  padding: 2rem 0;
  max-height: 500px; /* enough to fit all links */
}


  .nav__links .nav__logo {
    display: none;
  }
}


.nav__menu__btn i {
  font-size: 1.8rem;
  color: #fff;
  transition: transform 0.3s ease;
}

.nav__links.show ~ .nav__menu__btn i {
  transform: rotate(180deg);
}
