/* =========================
TOPBAR  AR
========================= */
#topbar-ar {
  position: relative;
  height: 44px;
  background: #f5f5f5;
  top: env(safe-area-inset-top, 0px);
  z-index: 996;
}

.topbar-inner-ar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#topbar-ar a,
#topbar-ar span,
#topbar-ar i {
  height: 44px;
  display: inline-flex;
  align-items: center;
}

.topbar-left-ar a {
  margin-right: 12px;
}

#topbar-ar .social-links a {
  color: var(--color-3);
  padding: 4px 12px;
  border-left: 1px solid #e8e8e8;
  font-size: 15px;
  transition: 0.3s;
}

#topbar-ar .social-links a:first-child {
  border-left: 0;
}

#topbar-ar .social-links a:hover {
  color: var(--color-2);
}

/* =========================
HEADER  AR
========================= */
#header-ar {
  position: sticky;
  top: 0;
  height: 70px;
  background: #225278;
  z-index: 997;
}

.header-inner-ar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO (RIGHT) */
.logo-ar {
margin-left: auto; 
}

.logo-ar img {
  height: 50px;
  display: block;
}


.menu-ar {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
}

.menu-ar > li {
  position: relative;
}

.menu-ar a {
  color: #fff;
  font-weight: 600;
  padding: 18px 0;
  display: block;
  line-height: 1;
  text-decoration: none;
}

.menu-ar a:hover {
  color: var(--color-2);
}

/* =========================
SUB MENU
========================= */
.sub-ar {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 220px;
  background: var(--color-1);
  list-style: none;
  padding: 10px 0;
  display: none;
  box-shadow: 0 0 30px rgba(127, 137, 161, 0.25);
  z-index: 9999;
}

.sub-ar a {
  padding: 8px 16px;
  color: #fff;
}

.sub-ar a:hover {
  background-color: var(--color-10);
}

.has-sub:hover > .sub-ar {
  display: block;
}

/* =========================
HAMBURGER BUTTON
========================= */
.menu-toggle-ar {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
}

.menu-toggle-ar span {
  display: block;
  height: 3px;
  width: 100%;
  background: #ffffff;
  margin: 5px 0;
  border-radius: 2px;
}

/* =========================
MOBILE
========================= */
@media (max-width: 992px) {

  /* Hamburger solda */
  .menu-toggle-ar {
    display: block;
    order: 1;
  }



  /* Menü gizli */
  .nav-ar {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background: #225278;
    padding: 20px;
  }

  /* Menü açik hali */
  .nav-ar.active {
    display: block;
  }

  .menu-ar {
    flex-direction: column;
    gap: 15px;
  }

  .sub-ar {
    position: static;
    box-shadow: none;
  }

}
