/* Header styles for UrbanLowLandLounge */

.ull-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  backdrop-filter: blur(18px);
  background: linear-gradient(90deg, rgba(6, 10, 20, 0.98), rgba(6, 10, 20, 0.9)) border-box;
  border-bottom: 1px solid rgba(0, 255, 190, 0.28);
}

.ull-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.6rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.ull-logo-wrap {
  flex: 0 1 auto;
  min-width: 0;
}

.ull-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: #f9fafb;
}

.ull-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.8rem;
  background: radial-gradient(circle at 20% 20%, #45ffb2 0, #00e0ff 40%, #1b1b26 80%);
  color: #050814;
  font-family: "Orbitron", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0 12px rgba(0, 255, 190, 0.6);
}

.ull-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.ull-logo-title {
  font-family: "Orbitron", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ull-logo-subtitle {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ca3af;
}

/* Nav */

.ull-nav {
  flex: 1 1 auto;
}

.ull-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
}

.ull-nav-item {
  position: relative;
}

.ull-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  text-decoration: none;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #e5e7eb;
  transition: color 0.18s ease-out, background-color 0.18s ease-out, box-shadow 0.18s ease-out, transform 0.12s ease-out;
}

.ull-nav-link::after {
  content: "";
  position: absolute;
  inset: 0.1rem;
  border-radius: inherit;
  border: 1px solid rgba(56, 189, 248, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease-out;
}

.ull-nav-link:hover,
.ull-nav-link:focus-visible {
  background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.12), transparent 55%);
  color: #f9fafb;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.5);
}

.ull-nav-link:hover::after,
.ull-nav-link:focus-visible::after {
  opacity: 1;
}

.ull-nav-link:focus-visible {
  outline: 2px solid #22d3ee;
  outline-offset: 3px;
}

.ull-nav-cta-item {
  margin-left: 0.25rem;
}

.ull-nav-cta {
  background: linear-gradient(135deg, #22c55e, #a3e635);
  color: #022c22!important;
  box-shadow: 0 0 16px rgba(132, 204, 22, 0.65);
}

.ull-nav-cta:hover,
.ull-nav-cta:focus-visible {
  background: linear-gradient(135deg, #4ade80, #bef264);
  transform: translateY(-1px);
}

/* Mobile menu toggle */

.ull-nav-toggle {
  position: relative;
  display: none;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: radial-gradient(circle at 30% 0, rgba(56, 189, 248, 0.35), rgba(15, 23, 42, 0.98));
  cursor: pointer;
  padding: 0.45rem;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  transition: border-color 0.18s ease-out, box-shadow 0.18s ease-out, background-color 0.18s ease-out, transform 0.12s ease-out;
}

.ull-nav-toggle:hover,
.ull-nav-toggle:focus-visible {
  border-color: rgba(56, 189, 248, 0.9);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.75);
  transform: translateY(-1px);
}

.ull-nav-toggle:focus-visible {
  outline: 2px solid #22d3ee;
  outline-offset: 3px;
}

.ull-nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  transition: transform 0.18s ease-out, opacity 0.18s ease-out, translate 0.18s ease-out;
}

.ull-nav-toggle.is-active .ull-nav-toggle-bar:nth-child(1) {
  transform: rotate(42deg);
  translate: 0 4px;
}

.ull-nav-toggle.is-active .ull-nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.ull-nav-toggle.is-active .ull-nav-toggle-bar:nth-child(3) {
  transform: rotate(-42deg);
  translate: 0 -4px;
}

/* Mobile layout */

@media (max-width: 768px) {
  .ull-header-inner {
    padding-inline: 1rem;
  }

  .ull-logo-subtitle {
    display: none;
  }

  .ull-nav-toggle {
    display: inline-flex;
    flex-direction: column;
  }

  .ull-nav {
    position: fixed;
    inset: 3.4rem 0 auto 0;
    background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.18), transparent 65%), #020617;
    border-bottom: 1px solid rgba(15, 23, 42, 0.95);
    transform-origin: top;
    transform: scaleY(1);
    opacity: 1;
    transition: transform 0.18s ease-out, opacity 0.18s ease-out;
  }

  .ull-nav-list {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.6rem 1rem 0.9rem;
    gap: 0.15rem;
  }

  .ull-nav-link {
    width: 100%;
    padding-inline: 0.85rem;
  }

  .ull-nav--closed {
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
  }
}

@media (min-width: 769px) {
  .ull-nav {
    position: static;
  }

  .ull-nav-list {
    justify-content: flex-end;
  }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  .ull-header *,
  .ull-header *::before,
  .ull-header *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
