/* Hamburger Menü - Genel */
.hamburger-nav {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
}

/* İkon */
.hamburger-icon {
  width: 30px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
.hamburger-icon span {
  height: 4px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Menü */
.hamburger-menu {
  position: fixed;
  top: 60px;
  left: 20px;
  background: #111;
  border: 1px solid #444;
  border-radius: 12px;
  padding: 10px 0;
  list-style: none;
  display: none;
  flex-direction: column;
  min-width: 160px;
}
.hamburger-menu li {
  padding: 8px 20px;
}
.hamburger-menu li a {
  color: #3ea6ff;
  text-decoration: none;
  font-size: 16px;
}
.hamburger-menu li a:hover {
  text-decoration: underline;
}

/* Açıkken stil değişikliği */
.hamburger-icon.open span:nth-child(1) {
  transform: rotate(45deg) translateY(9px);
}
.hamburger-icon.open span:nth-child(2) {
  opacity: 0;
}
.hamburger-icon.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-9px);
}

.hamburger-menu.show {
  display: flex;
  animation: fadeInMenu 0.3s ease-out;
}

@keyframes fadeInMenu {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
/* Menü içi switch alanı */
.menu-switch {
  padding: 8px 20px;
}

/* Switch toggle */
.switch-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: #3ea6ff;
  cursor: pointer;
  width: 100%;
}

/* Switch görünümü */
.switch-label input {
  display: none;
}

.slider {
  width: 40px;
  height: 20px;
  background: #555;
  border-radius: 20px;
  position: relative;
  transition: 0.3s;
}

.slider::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 2px;
  left: 2px;
  background: white;
  border-radius: 50%;
  transition: 0.3s;
}

input:checked + .slider {
  background: #3ea6ff;
}

input:checked + .slider::before {
  transform: translateX(20px);
}
