/* Anteco Solar statik klon - dil menüsü ve mobil menü için eklenen minimal stiller */

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  min-width: 180px;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
  padding: 0.4rem;
  display: none;
  flex-direction: column;
}
.lang-menu.open {
  display: flex;
}
.lang-menu-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.55rem 0.75rem;
  border-radius: 0.6rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1a1a1a;
  background: transparent;
  border: none;
  cursor: pointer;
}
.lang-menu-item:hover {
  background: rgba(0, 0, 0, 0.05);
}
.lang-menu-item.lang-active {
  background: rgba(132, 204, 22, 0.15);
  color: #4d7c0f;
  font-weight: 700;
}
[dir="rtl"] .lang-menu {
  right: auto;
  left: 0;
}
[dir="rtl"] .lang-menu-item {
  text-align: right;
}

.mobile-nav-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 55;
  background: #ffffff;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.14);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.mobile-nav-panel.open {
  max-height: 80vh;
  overflow-y: auto;
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.5rem 1.5rem;
  gap: 0.25rem;
}
.mobile-nav-links a {
  display: block;
  padding: 0.75rem 0;
  font-size: 1rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

@media (min-width: 1280px) {
  .mobile-nav-panel {
    display: none !important;
  }
}
