/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(12, 11, 15, 0.82);
  backdrop-filter: var(--blur-glass);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.4s var(--transition-smooth);
}

.header.scrolled {
  background: rgba(12, 11, 15, 0.95);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  padding: 0;
}

.header-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 0.6rem 2rem;
}

.nav-left {
  display: flex;
  align-items: center;
  flex: 1;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
  padding: 0.4rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold-gradient);
  transition: width 0.3s var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-primary);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  height: 130px;
  max-height: 130px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 14px rgba(230, 200, 135, 0.22));
  transition: transform 0.3s ease;
}

.brand-logo:hover {
  transform: scale(1.04);
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

.icon-btn {
  background: transparent;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.icon-btn:hover {
  color: var(--gold-primary);
  background: rgba(230, 200, 135, 0.1);
}

.badge-count {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--gold-dark);
  color: #0c0b0f;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.5rem;
}

/* Responsive Rules (Header) */
@media (max-width: 1024px) {
  .header-container {
    gap: 1.5rem;
    padding: 0.6rem 1.5rem;
  }
  
  .nav-left {
    flex: 0;
    order: 3;
  }
  
  .header-actions {
    order: 2;
    margin-left: auto;
  }

  .brand-logo {
    height: 105px;
    max-height: 105px;
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
}

@media (max-width: 640px) {
  .header-container {
    padding: 0.5rem 1rem;
    gap: 1rem;
  }
  
  .brand-logo {
    height: 85px;
    max-height: 85px;
  }
}
