/**
 * Navigation Styles
 *
 * Contains:
 * - Nav element styles
 * - Nav container
 * - Logo styles
 * - Nav links
 * - Mobile menu button (including all states and animations)
 */

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--gray-200);
}

/* WordPress Admin Bar Adjustment */
.admin-bar nav {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar nav {
    top: 46px;
  }
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo Styles */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--gray-900);
}

.logo img {
  width: 40px;
  height: 40px;
}

.logo span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
}

/* Nav Links */
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a:not(.btn) {
  text-decoration: none;
  color: var(--gray-700);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:not(.btn):hover {
  color: var(--purple-primary);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
  position: relative;
}

.mobile-menu-btn span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--purple-primary);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: absolute;
}

.mobile-menu-btn span:nth-child(1) {
  top: 12px;
}

.mobile-menu-btn span:nth-child(2) {
  top: 20px;
}

.mobile-menu-btn span:nth-child(3) {
  top: 28px;
}

.mobile-menu-btn.active span {
  background: var(--purple-primary);
}

.mobile-menu-btn.active span:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.mobile-menu-btn.active span:nth-child(3) {
  top: 20px;
  transform: rotate(-45deg);
}
