/**
 * Iris Navigation Component Styles
 * Purple gradient theme with responsive design
 */

/* Navigation Bar */
.iris-nav {
  background: #1f1f1f;
  border-bottom: 2px solid #2a2a2a;
  padding: 15px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.nav-spacer {
  flex: 1;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Logo Section */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.nav-logo:hover {
  opacity: 0.8;
}

.nav-logo img {
  height: 45px;
  width: auto;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #5f4b8b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation Link */
.nav-link {
  color: #999;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #fff;
  background: rgba(102, 126, 234, 0.15);
}

.nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, #667eea 0%, #5f4b8b 100%);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Auth Button */
.btn-auth {
  background: transparent;
  border: 2px solid #667eea;
  color: #667eea;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.btn-auth:hover {
  background: linear-gradient(135deg, #667eea 0%, #5f4b8b 100%);
  color: white;
  border-color: #5f4b8b;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Hamburger Menu Button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  transition: all 0.3s ease;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background: #667eea;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger:hover span {
  background: #5f4b8b;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-spacer {
    flex: 1;
  }

  .nav-right {
    position: fixed;
    top: 77px;
    right: -100%;
    width: 250px;
    height: calc(100vh - 77px);
    background: #1f1f1f;
    border-left: 2px solid #2a2a2a;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 20px 0;
    transition: right 0.3s ease;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.3);
  }

  .nav-right.active {
    right: 0;
  }

  .nav-link {
    padding: 15px 20px;
    border-radius: 0;
    text-align: left;
    border-bottom: 1px solid #2a2a2a;
  }

  .btn-auth {
    margin: 10px 20px;
    padding: 12px 20px;
    font-size: 1rem;
    width: calc(100% - 40px);
  }

  .logo-text {
    display: none;
  }

  .nav-logo img {
    height: 35px;
  }
}
