/* =========================
   HEADER STYLING
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(218, 185, 0, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 2rem;
}

/* Brand */
.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-logo {
    width: 50px;
    height: auto;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
}


.brand-name {
  font-size: 1.4rem;
  font-weight: 700;

  /* Metallic gold gradient */
  background: linear-gradient(
    to bottom,
    #ffd700 0%,      /* bright gold top */
    #ffec8b 20%,     /* lighter highlight */
    #b38d31 50%,     /* mid-tone gold */
    #ffec8b 80%,     /* lighter highlight */
    #ffd700 100%     /* bright gold bottom */
  );

  /* Clip gradient to text */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  background-clip: text;
  text-fill-color: transparent;

  letter-spacing: -0.02em;
}

.brand-tagline {
  font-size: 0.8rem;
  color: var(--muted-foreground, #b3b3b3);
  font-weight: 400;
}

/* Navigation */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--muted-foreground, #d5d5d5);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: var(--primary, #dab900);
}

.main-nav a.active {
  color: var(--primary, #dab900);
}

.main-nav a.active::after,
.main-nav a:hover::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary, #dab900);
  transition: width 0.3s ease;
}

/* Mobile Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  gap: 4px;
  padding: 6px;
}

.menu-bar {
  width: 22px;
  height: 2px;
  background: var(--foreground, #fff);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* =========================
   Responsive Header
========================= */
@media (max-width: 900px) {
  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(15, 15, 15, 0.98);
    border-left: 1px solid rgba(218, 185, 0, 0.2);
    border-bottom: 1px solid rgba(218, 185, 0, 0.2);
    padding: 2rem;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1.25rem;
  }

  .menu-toggle {
    display: flex;
  }

  .brand-tagline {
    display: none;
  }
}

/* Hamburger animation when active */
.menu-toggle.active .menu-bar:nth-child(1) {
  transform: rotate(45deg) translateY(6px);
}

.menu-toggle.active .menu-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .menu-bar:nth-child(3) {
  transform: rotate(-45deg) translateY(-6px);
}
