/* Logo Styles */
.logo-link {
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}

.site-logo-img {
  height: 50px;
  width: auto;
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  line-height: 1;
  color: #fff; /* Force white in header */
  text-transform: uppercase;
  position: relative;
  top: 1px;
}

/* Language Switcher */
.language-switcher {
  position: relative;
  margin-left: 10px;
  display: flex;
  align-items: center;
}

.lang-toggle {
  background: none;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}

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

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--bg-white);
  min-width: 160px;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 1001;
}

/* Show on hover of container */
.language-switcher:hover .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown li {
  display: block;
  margin: 0;
}

.lang-dropdown a {
  display: block;
  padding: 8px 16px;
  color: var(--text-dark);
  font-size: 0.9rem;
  transition: background 0.2s;
}

.lang-dropdown a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-link-red);
}

/* Add pseudo-element bridge to prevent menu from closing when moving mouse from icon to menu */
.language-switcher::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 10px; /* Gap bridge */
}
