/* Dropdown menu styles for small screens */
@media (max-width: 700px) {
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    padding: 0.4rem 0.2rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    width: auto;
    text-align: left;
    position: absolute;
    right: 0.5rem;
    top: 2.2rem;
    z-index: 101;
  }
  .dropdown-label {
    font-size: 1.1rem;
    color: rgb(59, 136, 255);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
  }
  .dropdown-arrow {
    font-size: 0.8rem;
    color: rgb(59, 136, 255);
    margin-left: 0.2rem;
    display: inline-block;
    vertical-align: middle;
  }
  .dropdown-menu {
    display: none !important;
    flex-direction: column;
    gap: 0.7rem;
    background: #1a1a1a;
    padding: 0.7rem 0.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: absolute;
    top: 48px;
    left: 0.5rem;
    width: 160px;
    z-index: 100;
    align-items: flex-start;
  }
  .dropdown-menu.show {
    display: flex;
  }
  nav ul {
    position: static;
    width: auto;
    background: none;
    box-shadow: none;
    padding: 0;
  }
  nav {
    position: relative;
  }
}
@media (min-width: 701px) {
  .menu-toggle {
    display: none;
  }
  .dropdown-menu {
    display: flex !important;
    flex-direction: row;
    position: static;
    background: none;
    box-shadow: none;
    width: auto;
    padding: 0;
  }
}
@media (max-width: 1100px) {
  header {
    padding: 0.7rem 1rem;
  }
  .logo {
    font-size: 1.2rem;
    gap: 0.4rem;
  }
  nav ul {
    gap: 1rem;
  }
}
@media (max-width: 800px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.7rem 0.5rem;
  }
  .logo {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
    margin-left: 0;
  }
  nav {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0.5rem;
  }
  nav ul {
    flex-direction: column;
    gap: 0.7rem;
    width: 100%;
    align-items: flex-start;
    padding: 0.5rem 0 0 0;
  }
  .auth-buttons {
    gap: 0.5rem;
  }
}
@media (max-width: 700px) {
  header {
    padding: 0.7rem 0.5rem;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
  }
  .logo {
    font-size: 1.1rem;
    gap: 0.3rem;
    justify-content: flex-start;
    align-items: center;
    width: auto;
    display: flex;
    margin-left: 0;
    text-align: left;
    margin-bottom: 0;
  }
  .header-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 2.4rem;
  }
  @media (max-width: 700px) {
    .header-row {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      margin-bottom: 0.5rem;
    }
    .logo {
      margin-bottom: 0;
    }
    .menu-toggle {
      position: static;
      margin-left: auto;
      margin-bottom: 0;
    }
  }
  .logo img {
    height: 28px;
  }
  nav ul {
    flex-direction: column;
    gap: 0.7rem;
    padding: 0.5rem 0 0 0;
    width: 100%;
    align-items: flex-start;
  }
  nav {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0.5rem;
  }
  .auth-buttons {
    gap: 0.5rem;
  }
}
header {
  position: fixed;
  width: 100%;
  top: 0;
  background: #1a1a1a;
  padding: 1rem 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.lang-container {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#lang-dropdown {
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-family: 'Helvetica Neue', sans-serif;
}

/* Logo container (link) */
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 1.6rem;
  letter-spacing: 1px;
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}


nav a {
  color: rgb(59, 136, 255);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  font-size: 1.05rem;
}
nav a:visited,
nav a:focus,
nav a:active {
  color: rgb(59, 136, 255);
}
nav a:hover {
  color: #00ffff;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* Auth buttons container */
.auth-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
}
