/* ========================
   HEADER ROOT
======================== */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;

  background: rgba(10, 16, 26, 0.85);
  backdrop-filter: blur(10px);

  border-bottom: 1px solid rgba(212, 183, 95, 0.15);

  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}


/* ========================
   INNER LAYOUT
======================== */
.header-inner {
  max-width: 1200px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0.75rem 1rem;
  gap: 1rem;
}


/* ========================
   LOGO
======================== */
.header-logo {
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  color: #d4b75f;

  letter-spacing: 0.5px;

  text-shadow: 0 0 8px rgba(212, 183, 95, 0.15);
}


/* ========================
   NAV (DESKTOP)
======================== */
.header-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}


/* ========================
   LINKS (RS STYLE)
======================== */
/* ========================
   LINKS (DEFAULT = GREY)
======================== */
.header-link {
  position: relative;

  text-decoration: none !important;
  font-size: 0.85rem;

  color: rgba(200, 210, 220, 0.65); /* soft grey */
  transition: color 0.2s ease, opacity 0.2s ease;
}


/* ========================
   HOVER → GOLD
======================== */
.header-link:hover {
  color: #d4b75f;
}


/* ========================
   GOLD UNDERLINE
======================== */
.header-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;

  width: 100%;
  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(212, 183, 95, 0.9),
    transparent
  );

  opacity: 0;
  transition: opacity 0.2s ease;
}

.header-link:hover::after {
  opacity: 1;
}
.header-link.active {
  color: #d4b75f;
}

.header-link.active::after {
  opacity: 1;
}


/* ========================
   MOBILE TOGGLE
======================== */
.menu-toggle {
  display: none;

  background: none;
  border: none;

  color: #d4b75f;
  font-size: 1.4rem;

  cursor: pointer;

  transition: opacity 0.2s ease;
}

.menu-toggle:hover {
  opacity: 1;
}


/* ========================
   MOBILE NAV
======================== */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  .header-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;

    background: rgba(10, 16, 26, 0.97);
    backdrop-filter: blur(12px);

    border-top: 1px solid rgba(212, 183, 95, 0.2);

    display: flex;
    flex-direction: column;

    max-height: 0;
    overflow: hidden;

    transition: max-height 0.25s ease;
  }

  .header-nav.open {
    max-height: 320px;
  }

  .header-link {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgba(212, 183, 95, 0.08);

    font-size: 0.9rem;
  }

  /* remove underline on mobile (cleaner) */
  .header-link::after {
    display: none;
  }

  /* subtle dropdown shadow */
  .header-nav.open {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  }
}
