/* === Ortak Menü Stili === */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  margin-bottom: 60px;
  position: relative;
}

.logo {
  font-size: 1.3rem;
  font-weight: 600;
  color: #00c8ff;
  letter-spacing: 0.5px;
}

#menu-toggle {
  display: none;
}

.menu-icon {
  width: 32px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.menu-icon span {
  height: 3px;
  background: #00c8ff;
  border-radius: 3px;
  transition: 0.3s;
}

/* --- Menü --- */
.menu {
  position: absolute;
  top: 60px;
  right: 0;
  background: rgba(4, 8, 13, 0.96);
  border: 1px solid rgba(0,200,255,0.35);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  min-width: 200px;
  backdrop-filter: blur(10px);
  z-index: 100;

  /* Animasyon ekleme */
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: all 0.35s ease;
}

/* Açıldığında yumuşak animasyon */
#menu-toggle:checked + .menu-icon + .menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.menu a {
  color: #eef6ff;
  text-decoration: none;
  padding: 10px 0;
  font-size: 0.95rem;
  opacity: 0.9;
  transition: color 0.2s, opacity 0.2s;
}

.menu a:hover {
  color: #00c8ff;
  opacity: 1;
}

/* Menü ikon animasyonu (X dönüşümü) */
#menu-toggle:checked + .menu-icon span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
#menu-toggle:checked + .menu-icon span:nth-child(2) {
  opacity: 0;
}
#menu-toggle:checked + .menu-icon span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Aktif sayfa bağlantısı */
.menu a.active{
  color: #66e3ff;
  text-shadow: 0 0 12px rgba(0,200,255,0.35);
}
