/* Header & Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 15px 0;
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  opacity: 1;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
}

.logo span {
  color: #ff3050;
}

.nav-links {
  display: flex;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  background: var(--golden);
  -webkit-background-clip: text;
  /* Applies gradient to text area */
  -webkit-text-fill-color: transparent;
  /* Makes actual text transparent */
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover {
  color: #ff3050;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--golden);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu {
  display: none;
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
}

@media (max-width: 992px) {
  
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* height: calc(100vh - 70px); */
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(2px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    padding: 50px 20px;
    transition: var(--transition);
    z-index: 999;
  }

  .gradient-color {
    background: var(--golden);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
  }

  .mehroon-color {
    background: var(--deep-maroon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .nav-links.active a {
    font-size: 20px;
    background: var(--deep-maroon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* or your preferred solid color */
  }

  .nav-links li {
    margin: 15px 0;
  }

  .mobile-menu {
    display: block;
    cursor: pointer;
    font-size: 26px;
    z-index: 1001;
  }

  .mobile-menu i {
    transition: transform 0.3s ease, color 0.3s ease;
  }

  .mobile-menu i.fa-times {
    transform: rotate(180deg);
    /* adds a smooth spin effect */
  }
}


