/* Dil Seçim Butonu */
.language-button {
  background-color: var(--dark-color);
  border: none;
  border-radius: 4px;
  color: white;
  padding: 8px 15px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-left: auto;
}

.language-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.globe-icon {
  margin-right: 5px;
}

/* Arka plan karartma */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
}

/* Dil Dropdown */
.language-dropdown {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 400px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: none;
}

.dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
}

.dropdown-header h3 {
  margin: 0;
  font-size: 18px;
  color: #333;
}

.close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
}

.language-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 20px;
}

.lang-option {
  background-color: #f5f5f5;
  border: none;
  border-radius: 5px;
  padding: 12px;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s;
}

.lang-option:hover {
  background-color: #e5e5e5;
}

.lang-option.active {
  background-color: #4c7bf3;
  color: white;
}

/* Header container için flex ayarı */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}