/* التنسيقات المدمجة للنافبار  */

/* التنسيقات العامة */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
  }

  /* النافبار */
  header {
    margin-bottom: 0 !important;
    background-color: #ffffff;
    z-index: 999;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    height: 70px;
  }

  header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: auto;
    padding: 0 30px;
    height: 100%;
  }

  /* الشعار */
  header .logo {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    min-width: 120px;
  }

  header .logo img {
    height: 55px;
    object-fit: contain;
  }

  /* القوائم */
  header nav {
    width: 100%;
  }

  header nav ul {
    display: flex;
    flex-wrap: nowrap;
    list-style: none;
    gap: 20px;
    padding: 0;
    margin: 0;
    align-items: center;
    justify-content: center;
  }

  header nav a {
    white-space: nowrap;
    text-decoration: none;
    color: #000;
    font-weight: 500;
    padding: 10px 6px;
    font-size: 15px;
    position: relative;
    transition: color 0.3s ease;
  }

  header nav a:hover {
    color: #B23048;
    transform: scale(1.05);
  }

  header nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: #B23048;
    transition: width 0.3s ease-in-out;
  }

  header nav a:hover::after {
    width: 100%;
  }

  /* زر العضوية */
  .membership-btn {
    background: #a50044;
    color: white !important;
    border-radius: 20px;
    display: inline-block;
    min-width: 120px;
    height: 35px;
    text-align: center;
    line-height: 35px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }

  .membership-btn:hover {
    background-color: #8e1f35 !important;
    transform: scale(1.05);
  }

  /* أيقونة البحث */
  .search-icon {
    color: #a50044;
    transition: transform 0.3s ease, color 0.3s ease;
  }

  .search-icon:hover {
    transform: scale(1.2);
    color: #8e1f35 !important;
  }

  /* زر العضوية و الشعار */
  header .membership {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-width: 120px;
  }

  header .membership-left {
    justify-content: flex-start;
  }

  header .logo-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-width: 120px;
  }
