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

.site-header {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);

  width: calc(100% - 10px);
  max-width: 1100px;

  z-index: 1000;
  border-radius: var(--radius-large);
  overflow: visible;

  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.55),
    rgba(255,255,255,0.25)
  );

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: none;
}


/* =========================================================
   MOBILE HEADER
========================================================= */

@media (max-width: 768px) {
  .site-header {
    position: sticky;
    top: 0;
    left: 0;
    transform: none;

    width: 100%;
    max-width: 100%;

    border-radius: 0;
  }
}


/* =========================================================
   NAV INNER
========================================================= */

.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}


/* =========================================================
   BRAND
========================================================= */

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  height: 75px;
  width: auto;
  display: block;
}

.brand-text {
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--white);
  letter-spacing: 0.5px;
}


/* =========================================================
   NAV LINKS
========================================================= */

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  position: relative;
  color: var(--blue-deep);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;

  width: 0;
  height: 2px;

  background: var(--green-accent);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.menu-toggle {
  display: none;
  font-size: 1.6rem;
  line-height: 1;
  color: white;
  cursor: pointer;
}


/* =========================================================
   MOBILE NAV
========================================================= */

@media (max-width: 768px) {

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 1002;
    color: var(--blue-deep);
  }

  .brand img {
    height: 60px;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 12px;
    right: 12px;

    width: auto;

    flex-direction: column;
    align-items: center;
    gap: 14px;

    padding: 18px 20px;

    background: rgba(30, 79, 163, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border-radius: 16px;

    box-shadow: 0 20px 40px rgba(0,0,0,0.3);

    z-index: 1001;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px) scale(0.98);

    transition:
      opacity 0.25s ease,
      transform 0.25s ease,
      visibility 0.25s ease;
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .nav-links a {
    color: rgba(255,255,255,0.95);
    font-size: 1.05rem;
  }

  .nav-links a:hover {
    color: #ffffff;
  }

  .nav-links a::after {
    background: rgba(255,255,255,0.75);
  }
}