/* ===== CUSTOM NAVBAR STYLES ===== */

/* Hamburger Button Styles */
.sidebar-toggle-btn {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 15px;
  z-index: 1003;
}

.sidebar-toggle-btn:hover {
  background: rgba(0, 212, 255, 0.1);
}

.sidebar-toggle-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.3);
}

.toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  background: #374151;
  margin: 4px 0;
  transition: all 0.3s ease;
  border-radius: 1px;
}

.sidebar-toggle-btn.active .toggle-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  background: #00d4ff;
}

.sidebar-toggle-btn.active .toggle-line:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.sidebar-toggle-btn.active .toggle-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
  background: #00d4ff;
}

.custom-navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sidebar-border);
  height: 64px;
  padding: 0 1rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  display: flex;
  align-items: center;
}



/* Brand/Logo */
.custom-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem;
  color: #1f2937;
  position: relative;
}

.brand-text {
  z-index: 2;
  position: relative;
}

.brand-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #3b82f6, #8b5cf6);
  filter: blur(20px);
  opacity: 0.3;
  z-index: 1;
}

.brand-short { display: none; }
.brand-full { display: inline; }
@media (max-width: 768px) {
  .brand-full { display: none; }
  .brand-short { display: inline; }
}

/* Navigation Links */
.custom-nav {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 15px;
}

.nav-item {
  list-style: none;
}

.custom-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  color: #6b7280;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.9rem;
  border: 1px solid transparent;
}

.custom-nav-link:hover {
  background: #f3f4f6;
  color: #3b82f6;
  text-decoration: none;
  border-color: #e5e7eb;
}

.nav-icon {
  font-size: 1rem;
}

/* Custom Register Button */
.register-link {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  position: relative;
  overflow: hidden;
}

.register-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.register-link:hover {
  background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
  color: white;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
  transform: translateY(-2px);
}

.register-link:hover::before {
  left: 100%;
}

.register-link:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(102, 126, 234, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
  .sidebar-toggle-btn {
    display: block;
  }
  
  .custom-navbar {
    padding: 0.5rem;
  }
  
  .brand-text {
    font-size: 1rem;
  }
  
  .custom-nav-link span {
    display: none;
  }
  
  .custom-nav-link {
    padding: 8px 10px;
    font-size: 0.85rem;
    min-width: 36px;
    min-height: 36px;
    border-radius: 6px;
    margin: 0 2px;
  }
  
  .register-link, .login-link {
    font-size: 0.85rem;
    padding: 8px 10px;
    min-width: 36px;
    min-height: 36px;
    border-radius: 6px;
  }
  
  .custom-nav {
    gap: 4px;
  }
  
  .navbar-brand.custom-brand {
    margin-right: auto !important;
    order: 1;
  }
  
  .navbar-nav {
    flex-direction: row !important;
  }
}

/* İçerik için navbar yüksekliği kadar padding */
.navbar-spacer {
  padding-top: 64px;
}
@media (max-width: 768px) {
  .navbar-spacer {
    padding-top: 56px;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .custom-navbar {
    background: rgba(31, 41, 55, 0.95);
    border-bottom-color: #374151;
  }
  
  .custom-brand {
    color: #f9fafb;
  }
  
  .sidebar-toggle-btn {
    background: rgba(31, 41, 55, 0.5);
  }
  
  .sidebar-toggle-btn:hover {
    background: rgba(96, 165, 250, 0.1);
  }
  
  .toggle-line {
    background: #d1d5db;
  }
  
  .sidebar-toggle-btn.active .toggle-line {
    background: #60a5fa;
  }
  
  .custom-nav-link {
    color: #d1d5db;
  }
  
  .custom-nav-link:hover {
    background: #374151;
    color: #60a5fa;
    border-color: #4b5563;
  }
  
  .register-link {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  }
  
  .register-link:hover {
    background: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%);
  }
} 