/* Header styles for Scooter Ride Hub Lounge */

.srh-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background:
    radial-gradient(circle at top left, rgba(228, 178, 96, 0.16), transparent 60%),
    linear-gradient(to bottom, rgba(5, 6, 10, 0.96), rgba(5, 6, 10, 0.94));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.srh-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-3);
  padding-bottom: var(--space-3);
  gap: var(--space-6);
}

.srh-header__brand {
  display: flex;
  align-items: center;
}

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

.srh-header__logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0%, rgba(228, 178, 96, 0.6), transparent 55%),
    rgba(12, 14, 22, 0.96);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(228, 178, 96, 0.55);
}

.srh-header__logo-icon {
  font-size: 1rem;
  color: var(--color-primary-strong);
}

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

.srh-header__brand-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.srh-header__brand-subtitle {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* Navigation */

.srh-header__nav {
  display: flex;
  align-items: center;
}

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

.srh-header__nav-link {
  position: relative;
  font-size: 0.875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  padding: 0.35rem 0;
}

.srh-header__nav-link::after {
  height: 2px;
}

.srh-header__nav-link:hover,
.srh-header__nav-link:focus-visible {
  color: var(--color-primary-strong);
}

.srh-header__nav-link--cta {
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(228, 178, 96, 0.7);
  background: radial-gradient(circle at top, rgba(228, 178, 96, 0.18), transparent 65%);
}

.srh-header__nav-link--cta::after {
  display: none;
}

.srh-header__nav-link--cta:hover,
.srh-header__nav-link--cta:focus-visible {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-strong));
  color: #050507;
  box-shadow: var(--shadow-soft);
}

/* Mobile nav toggle */

.srh-header__nav-toggle {
  display: none;
  align-items: center;
  gap: var(--space-2);
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background-color: rgba(5, 6, 10, 0.9);
  color: var(--color-text-soft);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.srh-header__nav-toggle-box {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.srh-header__nav-toggle-line {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--color-text);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.srh-header__nav-toggle[aria-expanded="true"] .srh-header__nav-toggle-line:first-child {
  transform: translateY(3px) rotate(45deg);
}

.srh-header__nav-toggle[aria-expanded="true"] .srh-header__nav-toggle-line:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.srh-header__nav-toggle[aria-expanded="true"] .srh-header__nav-toggle-text::before {
  content: "Bezárás";
}

.srh-header__nav-toggle-text::before {
  content: "Menü";
}

/* Responsive */

@media (max-width: 900px) {
  .srh-header__inner {
    padding-top: var(--space-2);
    padding-bottom: var(--space-2);
  }

  .srh-header__nav-toggle {
    display: inline-flex;
  }

  .srh-header__nav {
    position: fixed;
    inset: 64px 0 auto 0;
    background: linear-gradient(to bottom, rgba(5, 6, 10, 0.98), rgba(5, 6, 10, 0.98));
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-base), opacity var(--transition-base);
  }

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

  .srh-header__nav-link--cta {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .srh-header__nav--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 540px) {
  .srh-header__brand-subtitle {
    display: none;
  }
}

/* Utility class applied to body when mobile nav is open */

body.srh-nav-open {
  overflow: hidden;
}