/* فونت و استایل پایه */
.rayan-header {
  font-family: 'Vazir', sans-serif;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
  background: transparent;
  color: #fff;
  transition: background 0.4s ease, box-shadow 0.3s;
}

.rayan-header.scrolled {
  background: #000;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.rayan-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
}

.rayan-logo a {
  text-decoration: none;
  color: #f5c842;
  font-size: 1.6rem;
  font-weight: 700;
  transition: color 0.3s;
}

.rayan-logo a:hover {
  color: #fff;
}

.rayan-menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.rayan-menu li {
  margin: 0 15px;
}

.rayan-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
}

.rayan-menu a:hover {
  color: #f5c842;
}

/* Toggle */
.rayan-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.rayan-toggle span {
  height: 3px;
  width: 25px;
  background: #fff;
  margin: 4px 0;
  border-radius: 2px;
}

/* ✅ حالت موبایل */
@media (max-width: 768px) {
  .rayan-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 220px;
    height: 100vh;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right 0.3s ease;
  }

  .rayan-nav.active {
    right: 0;
  }

  .rayan-menu {
    flex-direction: column;
  }

  .rayan-menu li {
    margin: 15px 0;
  }

  .rayan-toggle {
    display: flex;
  }
}
