/**
 * =========================================
 * HEADER STYLES
 * =========================================
 *
 * @format
 */

@import url(./base.css);

/* =========================================
   HEADER CONTAINER
========================================= */

.header-area {
  position: sticky;
  padding: 12px 0;
  transition: all 0.3s ease;
  top: 0;
  z-index: 999;
}

/* =========================================
   HEADER LAYOUT
========================================= */

.header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 20px;
  margin: 1px;
  border-radius: 16px;
  background: rgba(15, 20, 40, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    0 0 30px rgba(0, 140, 255, 0.15),
    inset 0 0 20px rgba(255, 255, 255, 0.05);
}

/* =========================================
   HEADER GLOW EFFECT
========================================= */

.header::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    rgba(255, 170, 0, 0.3),
    rgba(0, 170, 255, 0.3),
    transparent
  );
  filter: blur(14px);
  opacity: 0.6;
  z-index: -1;
}

/* =========================================
   LOGO
========================================= */

.signature {
  width: 100px;
  height: auto;
  margin-right: 10px;
}

/* =========================================
   NAVIGATION MENU
========================================= */

.header ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.header ul li a {
  display: inline-block;
  position: relative;
  text-transform: capitalize;
  font-weight: 500;
  color: var(--soft-gray-light);
  font-size: 1rem;
  transition: color 0.3s ease;
}

.header ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--royal-yellow-base),
    var(--deep-saffron-base)
  );
  transition: width 0.4s ease;
  border-radius: 2px;
}

.header ul li a:hover,
.header ul li a.active {
  color: var(--off-white-light);
}

.header ul li a:hover::after,
.header ul li a.active::after {
  width: 100%;
}

.header ul li a:hover {
  transform: scale(1.05);
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

/* =========================================
   MOBILE MENU ICON
========================================= */

.header .menu_icon {
  display: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--off-white-light);
}

/* =========================================
   RESPONSIVE STYLES
========================================= */

@media (max-width: 992px) {
  .header-area {
    padding: 18px 0;
  }
  .signature {
    width: 85px;
    margin-right: 8px;
  }
  .header ul {
    gap: 1.5rem;
  }
  .header ul li a {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .header-area {
    padding: 16px 0;
  }
  .header {
    gap: 10px;
    justify-content: space-between;
  }
  .signature {
    width: 78px;
    margin-right: 6px;
  }
  .header ul {
    display: none;
  }
  .header .menu_icon {
    display: block;
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .header-area {
    padding: 14px 0;
  }
  .signature {
    width: 70px;
  }
  .header .menu_icon {
    font-size: 19px;
  }
}
