/* Header styles for BEE BOPS MUSIC LTD */

.bb-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(5, 6, 10, 0.96), rgba(5, 6, 10, 0.92));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bb-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-3);
  gap: var(--space-4);
}

/* Brand */
.bb-header__brand {
  display: flex;
  align-items: center;
}

.bb-header__logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}

.bb-header__logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 20% 0%, rgba(255, 51, 102, 0.8), transparent 55%),
              radial-gradient(circle at 80% 100%, rgba(46, 204, 113, 0.7), transparent 55%),
              linear-gradient(145deg, #05060a, #111623);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.bb-header__logo-wave {
  display: block;
  width: 3px;
  border-radius: var(--radius-full);
  background: linear-gradient(to top, rgba(255, 255, 255, 0.1), #ff3366);
  margin-inline: 1px;
  height: 60%;
}

.bb-header__logo-wave--1 { height: 40%; }
.bb-header__logo-wave--2 { height: 80%; }
.bb-header__logo-wave--3 { height: 55%; }

.bb-header__brand-text {
  display: flex;
  flex-direction: column;
}

.bb-header__brand-name {
  font-family: var(--font-heading);
  font-size: var(--font-size-md);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bb-header__brand-tagline {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

/* Nav */
.bb-header__nav {
  display: flex;
}

.bb-header__nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  list-style: none;
  margin: 0;
  padding: 0;
}

.bb-header__nav-link {
  position: relative;
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  text-transform: none;
}

.bb-header__nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 0;
  height: 2px;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-strong));
  transition: width var(--transition-normal);
}

.bb-header__nav-link:hover,
.bb-header__nav-link:focus-visible {
  color: var(--color-text);
}

.bb-header__nav-link:hover::after,
.bb-header__nav-link:focus-visible::after {
  width: 100%;
}

.bb-header__nav-item--cta {
  margin-left: var(--space-2);
}

.bb-header__nav-link--cta {
  font-size: var(--font-size-xs);
}

.bb-header__nav-icon {
  display: inline-flex;
}

.bb-header__nav-icon .fa-arrow-right {
  font-size: 0.7rem;
}

/* Mobile toggle */
.bb-header__toggle {
  display: none;
  align-items: center;
  gap: var(--space-2);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(11, 14, 22, 0.9);
  color: var(--color-text);
  cursor: pointer;
}

.bb-header__toggle-box {
  width: 1.25rem;
  height: 1.05rem;
  position: relative;
}

.bb-header__toggle-bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: var(--radius-full);
  background: var(--color-text);
  transition: transform var(--transition-normal), opacity var(--transition-normal), top var(--transition-normal), bottom var(--transition-normal);
}

.bb-header__toggle-bar--top { top: 0; }
.bb-header__toggle-bar--middle { top: 50%; transform: translateY(-50%); }
.bb-header__toggle-bar--bottom { bottom: 0; }

.bb-header__toggle-text {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Toggle active state */
.bb-header__toggle[aria-expanded="true"] .bb-header__toggle-bar--top {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.bb-header__toggle[aria-expanded="true"] .bb-header__toggle-bar--middle {
  opacity: 0;
}

.bb-header__toggle[aria-expanded="true"] .bb-header__toggle-bar--bottom {
  bottom: auto;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

/* Responsive */
@media (max-width: 960px) {
  .bb-header__inner {
    padding-block: var(--space-3);
  }

  .bb-header__toggle {
    display: inline-flex;
  }

  .bb-header__nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: radial-gradient(circle at top, rgba(255, 51, 102, 0.16), transparent 65%),
                linear-gradient(to bottom, #05060a, #0b0e16);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform-origin: top;
    transform: scaleY(0.96);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition-normal), transform var(--transition-normal), visibility var(--transition-normal);
  }

  .bb-header__nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
    padding: var(--space-4);
  }

  .bb-header__nav-item--cta {
    width: 100%;
    margin-left: 0;
    margin-top: var(--space-2);
  }

  .bb-header__nav-item--cta .bb-header__nav-link--cta {
    width: 100%;
    justify-content: center;
  }

  .bb-header--menu-open .bb-header__nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scaleY(1);
  }
}

@media (max-width: 640px) {
  .bb-header__brand-name {
    font-size: var(--font-size-sm);
  }

  .bb-header__brand-tagline {
    display: none;
  }
}
