/* Simple Navbar Styles */
:root {
  --navbar-primary: #2f55ff;
  --navbar-dark: #070f1f;
  --navbar-bg: linear-gradient(135deg, rgba(4, 13, 35, 0.95), rgba(11, 31, 66, 0.95));
}

.simple-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--navbar-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.simple-navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand img {
  width: 120px;
  object-fit: contain;
}

.brand-text h1 {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin: 0;
  line-height: 1.2;
}

.brand-text small {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.simple-navbar.scrolled .brand-text h1 {
  color: var(--navbar-dark);
}

.simple-navbar.scrolled .brand-text small {
  color: rgba(7, 15, 31, 0.6);
}

/* Desktop Menu */
.desktop-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: white;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: white;
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.simple-navbar.scrolled .nav-links a {
  color: var(--navbar-dark);
}

.simple-navbar.scrolled .nav-links a::after {
  background: var(--navbar-primary);
}

/* Right Actions */
.navbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language Switcher */
.lang-switch {
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 3px;
}

.lang-btn {
  padding: 5px 10px;
  border-radius: 17px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.lang-btn.active {
  background: white;
  color: var(--navbar-dark);
}

.simple-navbar.scrolled .lang-switch {
  background: rgba(47, 85, 255, 0.1);
}

.simple-navbar.scrolled .lang-btn {
  color: var(--navbar-dark);
}

.simple-navbar.scrolled .lang-btn.active {
  background: var(--navbar-primary);
  color: white;
}

/* Buttons */
.btn {
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: white;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.8);
  color: white;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--navbar-primary);
  color: white;
  border: 2px solid var(--navbar-primary);
  box-shadow: 0 2px 8px rgba(47, 85, 255, 0.3);
}

.btn-primary:hover {
  background: #1e40c7;
  border-color: #1e40c7;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(47, 85, 255, 0.4);
  color: white;
}

.simple-navbar.scrolled .btn-outline {
  border-color: var(--navbar-primary);
  color: var(--navbar-primary);
  background: rgba(47, 85, 255, 0.05);
}

.simple-navbar.scrolled .btn-outline:hover {
  background: var(--navbar-primary);
  color: white;
  border-color: var(--navbar-primary);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.4rem;
  padding: 8px;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.simple-navbar.scrolled .mobile-toggle {
  color: var(--navbar-dark);
}

.simple-navbar.scrolled .mobile-toggle:hover {
  background: rgba(47, 85, 255, 0.1);
}

/* Simple Mobile Dropdown */
.mobile-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid #e0e0e0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.mobile-dropdown.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-dropdown ul {
  list-style: none;
  margin: 0;
  padding: 1rem 0;
}

.mobile-dropdown a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--navbar-dark);
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
}

.mobile-dropdown a:hover,
.mobile-dropdown a.active {
  background: #f8f9fa;
  color: var(--navbar-primary);
}

.mobile-dropdown .mobile-actions {
  padding: 1rem 1.5rem;
  border-top: 1px solid #e0e0e0;
}

.mobile-lang {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.mobile-lang .lang-btn {
  flex: 1;
  text-align: center;
  padding: 8px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  color: var(--navbar-dark);
  background: white;
  font-weight: 600;
}

.mobile-lang .lang-btn.active {
  background: var(--navbar-primary);
  color: white;
  border-color: var(--navbar-primary);
  box-shadow: 0 2px 6px rgba(47, 85, 255, 0.3);
}

.mobile-buttons {
  display: flex;
  gap: 0.75rem;
}

.mobile-buttons .btn {
  flex: 1;
  text-align: center;
  padding: 12px;
  font-weight: 600;
}

.mobile-buttons .btn-outline {
  border: 2px solid var(--navbar-primary);
  color: var(--navbar-primary);
  background: white;
}

.mobile-buttons .btn-outline:hover {
  background: var(--navbar-primary);
  color: white;
}

.mobile-buttons .btn-primary {
  background: var(--navbar-primary);
  color: white;
  border: 2px solid var(--navbar-primary);
  box-shadow: 0 2px 8px rgba(47, 85, 255, 0.3);
}

/* Content spacing to account for fixed navbar */
body {
  padding-top: 0;
}

main {
  margin-top: 70px;
  min-height: calc(100vh - 70px);
  position: relative;
  z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .desktop-menu,
  .navbar-right {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .brand-text {
    display: none;
  }

  .navbar-content {
    height: 60px;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  main {
    margin-top: 60px;
    min-height: calc(100vh - 60px);
  }
}