:root {
  --primary-color: #967b4c;
  --background-color: #ffffff;
  --text-color: #000000;
  --secondary-text-color: #333333;
  --section-bg-color: #f5f5f5;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --border-color: #ddd;
  --card-bg-color: #ffffff;
  --link-hover-color: #846a40;
  --red-color: #ff5252;
  --white: #ffffff;
  --black: #000000;
}

html[data-theme="dark"] {
  --primary-color: #d1b483;
  --background-color: #121212;
  --text-color: #ffffff;
  --secondary-text-color: #b0b0b0;
  --section-bg-color: #1a1a1a;
  --shadow-color: rgba(0, 0, 0, 0.5);
  --border-color: #333;
  --card-bg-color: #1f1f1f;
  --link-hover-color: #e5c890;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body {
  font-family: "Tajawal", sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  direction: rtl;
  text-align: right;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  background-color: var(--card-bg-color);
  color: var(--text-color);
  padding: 1rem 2rem;
  box-shadow: var(--shadow-color) 0 2px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  width: 120px;
  height: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-grow: 1;
  justify-content: center;
  flex-wrap: wrap;
}

nav a {
  color: var(--secondary-text-color);
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

nav a:hover {
  color: var(--primary-color);
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  right: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-switch {
  cursor: pointer;
  font-size: 1.2rem;
}

.cart-icon {
  position: relative;
  cursor: pointer;
  font-size: 1.5rem;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: var(--red-color);
  color: var(--white);
  border-radius: 50%;
  padding: 0.1rem 0.4rem;
  font-size: 0.7rem;
  min-width: 1.2rem;
  text-align: center;
  border: 2px solid var(--background-color);
}

main {
  flex: 1;
  padding: 2rem;
}

.hero {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 3rem;
  text-align: center;
  border-radius: 10px;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.2rem;
}

.products-section {
  display: grid;
  grid-template-columns: 1fr 4fr;
  gap: 2rem;
}

.sidebar {
  background-color: var(--card-bg-color);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: var(--shadow-color) 0 2px 4px;
  height: fit-content;
}

.search-bar {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  background-color: var(--background-color);
  color: var(--text-color);
}

.categories h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.categories ul {
  list-style: none;
}

.categories li {
  padding: 0.5rem 0;
  cursor: pointer;
  color: var(--secondary-text-color);
}

.categories li:hover {
  color: var(--primary-color);
}

.categories li.active {
  color: var(--primary-color);
  font-weight: bold;
}

.products-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background-color: var(--card-bg-color);
  border-radius: 10px;
  box-shadow: var(--shadow-color) 0 4px 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.product-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.product-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.view-details-btn {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 0.7rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.view-details-btn:hover {
  background-color: var(--link-hover-color);
}


.add-variation-to-cart {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 0.7rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.add-to-cart-main-btn {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 0.7rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: background-color 0.3s ease;
}


.pagination {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  list-style: none;
  gap: 0.5rem;
}

.pagination li a {
  display: block;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  text-decoration: none;
  color: var(--secondary-text-color);
  transition: all 0.3s ease;
}

.pagination li.active a {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.pagination li a:hover:not(.active) {
  background-color: var(--section-bg-color);
}

.pagination li.disabled a {
  color: #ccc;
  cursor: not-allowed;
  background-color: var(--section-bg-color);
}

/* Modal (Cart & Checkout) */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* خلفية داكنة */
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s, opacity 0.3s ease;
  z-index: 1000;
}

.modal.open {
  visibility: visible;
  opacity: 1;
}

.cart-content {
  position: fixed;
  top: 0;
  right: -400px;
  /* إخفاء السلة في البداية */
  width: 400px;
  height: 100%;
  background-color: var(--card-bg-color);
  box-shadow: var(--shadow-color) -4px 0 15px;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  transition: transform 0.3s ease;
  z-index: 1001;
}

.modal.open .cart-content {
  transform: translateX(-400px);
  /* إظهار السلة عند فتحها */
}

.close-btn {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1002;
}

/* تصميم أيقونة السلة العائمة */
.floating-cart-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--primary-color);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: var(--shadow-color) 0 4px 8px;
  z-index: 999;
  transition: transform 0.2s ease, background-color 0.3s ease;
}

.floating-cart-icon:hover {
  transform: translateY(-3px);
  background-color: var(--link-hover-color);
}

.floating-cart-count {
  top: -5px;
  right: -5px;
  background-color: var(--red-color);
  border: 2px solid var(--primary-color);
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.cart-header h2 {
  color: var(--primary-color);
}

.cart-list {
  flex: 1;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.cart-item-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 5px;
}

.item-details {
  flex: 1;
}

.item-title {
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.item-price {
  font-weight: 700;
  color: var(--primary-color);
}

.item-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quantity-btn {
  background-color: var(--section-bg-color);
  border: 1px solid var(--border-color);
  width: 30px;
  height: 30px;
  cursor: pointer;
  border-radius: 50%;
}

.item-quantity {
  width: 40px;
  text-align: center;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  background-color: var(--background-color);
  color: var(--text-color);
}

.remove-btn {
  background-color: var(--red-color);
  color: var(--white);
  border: none;
  padding: 0.3rem 0.6rem;
  border-radius: 5px;
  cursor: pointer;
}

.cart-summary {
  padding-top: 1rem;
  border-top: 2px solid var(--primary-color);
}

.total-price {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.checkout-btn {
  width: 100%;
  padding: 1rem;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.checkout-btn:hover {
  background-color: var(--link-hover-color);
}

/* قواعد مودال إتمام الشراء، بقيت كما هي */
.checkout-content {
  width: 600px;
  height: auto;
  border-radius: 10px;
  padding: 2rem;
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  background-color: var(--card-bg-color);
}

.checkout-form label {
  display: block;
  margin-top: 1rem;
  font-weight: 500;
}

.checkout-form input,
.checkout-form select {
  width: 100%;
  padding: 0.7rem;
  margin-top: 0.5rem;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  background-color: var(--background-color);
  color: var(--text-color);
}

.checkout-form button {
  margin-top: 2rem;
}

.shipping-details {
  margin-top: 1.5rem;
  background-color: var(--section-bg-color);
  padding: 1rem;
  border-radius: 5px;
  border: 1px dashed var(--primary-color);
}

.shipping-details p {
  margin-bottom: 0.5rem;
}

.down-payment-warning {
  color: var(--red-color);
  font-weight: bold;
  text-align: center;
  margin-top: 1rem;
}

@keyframes animate {
  0% {
    transform: translateY(0) scale(0);
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    transform: translateY(-1000px) scale(1);
    opacity: 0;
  }
}

/* ------------------------------------- */
/* تصميم تفاصيل المنتج الجديد والمُحسّن  */
/* ------------------------------------- */

.product-details-content {
  background-color: var(--card-bg-color);
  width: 80%;
  /* عرض مناسب لشاشات الكمبيوتر */
  max-width: 900px;
  /* لا يزيد عن 900px */
  border-radius: 10px;
  padding: 2rem;
  box-shadow: var(--shadow-color) 0 4px 8px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-height: 95vh;
  overflow-y: auto;
}

.product-details-container {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.product-images-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-details-image {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: var(--shadow-color) 0 4px 8px;
}

.product-images-gallery {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding-bottom: 10px;
  direction: ltr;
}

.product-image-thumbnail {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  /* لمنع الصور من الانكماش */
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s ease, transform 0.2s ease;
}

.product-image-thumbnail:hover,
.product-image-thumbnail.active {
  border-color: var(--primary-color);
  transform: scale(1.05);
}


.product-details-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.product-details-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.product-details-description {
  margin-top: 1.5rem;
}

.product-details-description h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.product-details-description p {
  font-size: 1rem;
  line-height: 1.6;
}

.product-variations {
  margin-top: 1.5rem;
}

.product-variations h4 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.variation-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.variation-option {
  background-color: var(--section-bg-color);
  color: var(--secondary-text-color);
  padding: 0.6rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
}

.product-details-actions {
  margin-top: 2rem;
}

.add-to-cart-details {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 1rem 2rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 500;
  transition: background-color 0.3s ease;
  width: 100%;
}

.add-to-cart-details:hover {
  background-color: var(--link-hover-color);
}

/* ------------------------------------ */
/* Media Queries              */
/* ------------------------------------ */
@media (max-width: 992px) {
  header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  nav {
    flex-direction: column;
    gap: 0.5rem;
  }

  .products-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  main {
    padding: 1rem;
  }

  .hero {
    padding: 2rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .products-container {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .product-details-content {
    width: 95%;
    padding: 1.5rem;
  }

  .product-details-container {
    flex-direction: column;
    /* ترتيب عمودي */
    gap: 1.5rem;
  }

  .product-details-image {
    max-height: 250px;
    /* تقليل حجم الصورة الرئيسية */
  }

  .product-images-gallery {
    justify-content: center;
  }

  .product-image-thumbnail {
    width: 60px;
    /* تصغير الصور المصغرة */
    height: 60px;
  }

  .product-details-title {
    font-size: 1.6rem;
  }

  .product-details-price {
    font-size: 1.5rem;
  }

  .product-details-description p {
    font-size: 0.9rem;
  }

  .add-to-cart-details {
    padding: 0.8rem 1rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .product-details-content {
    padding: 1rem;
  }

  .product-details-image {
    max-height: 100%;
  }

  .product-image-thumbnail {
    width: 50px;
    height: 50px;
  }

  .product-details-title {
    font-size: 1.4rem;
  }

  .product-details-price {
    font-size: 1.3rem;
  }
}

/* تصميم قائمة المنتجات الفرعية */
.product-variations {
  margin-top: 2rem;
}

.product-variations h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.variation-options {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.variation-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: var(--section-bg-color);
  box-shadow: var(--shadow-color) 0 2px 4px;
}

.variation-info {
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--text-color);
}

.variation-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quantity-btn {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-color);
  transition: background-color 0.3s ease;
}

.quantity-btn:hover {
  background-color: var(--border-color);
}

.sub-quantity {
  font-weight: bold;
  min-width: 20px;
  text-align: center;
}

.add-to-cart-sub {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.add-to-cart-sub:hover {
  background-color: var(--link-hover-color);
}

/* تعديل لتجاوب الشاشات الصغيرة */
@media (max-width: 768px) {
  .variation-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .variation-actions {
    width: 100%;
    justify-content: space-between;
    gap: 0.5rem;
  }

  .add-to-cart-sub {
    width: 100%;
    text-align: center;
  }
}


/* تعديل لتجاوب الشاشات الصغيرة */
@media (max-width: 768px) {
  .cart-content {
    width: 95%;
    /* عرض السلة على الهاتف */
    right: -95%;
  }

  .modal.open .cart-content {
    transform: translateX(-95%);
  }

  .floating-cart-icon {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    bottom: 15px;
    right: 15px;
  }
}

/* قواعد إتمام الشراء: استعادة ظهورها كصندوق منبثق في المنتصف */
.checkout-content {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: auto;
  border-radius: 10px;
  padding: 2rem;
  background-color: var(--card-bg-color);
  box-shadow: var(--shadow-color) 0 4px 15px;
  z-index: 1002;
}

/* جعل مودال إتمام الشراء متجاوبًا على الشاشات الصغيرة */
@media (max-width: 768px) {
  .checkout-content {
    width: 95%;
    /* جعل العرض مناسبًا للشاشات الصغيرة */
    padding: 1rem;
  }
}

/* Spinner for loading indicator */
.loading-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  font-size: 0.9rem;
  color: var(--secondary-text-color);
}

/* Custom Selectbox styling */
.custom-select {
  position: relative;
  width: 100%;
  margin-bottom: 1rem;
  z-index: 1001;
}

.select-selected {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  padding: 0.75rem 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-color);
}

.select-items {
  position: absolute;
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-top: none;
  max-height: 200px;
  overflow-y: auto;
  /* Enable scrolling */
  width: 100%;
  z-index: 99;
  border-radius: 0 0 5px 5px;
  box-shadow: var(--shadow-color) 0 4px 15px;
}

.select-items li {
  padding: 0.75rem 1rem;
  cursor: pointer;
  list-style-type: none;
  color: var(--text-color);
}

.select-items li:hover {
  background-color: var(--section-bg-color);
}

.select-hide {
  display: none;
}


/* تصميم حقل العربون وملخص الطلب */
.form-group.down-payment-group {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px dashed var(--border-color);
  border-radius: 8px;
  background-color: var(--section-bg-color);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.down-payment-group label {
  font-weight: bold;
  color: var(--primary-color);
}

.order-summary {
  margin-top: 1.5rem;
  border-top: 2px solid var(--border-color);
  padding-top: 1.5rem;
}

.order-summary p {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.order-summary p:last-child {
  font-weight: bold;
  font-size: 1.3rem;
  color: var(--primary-color);
}

.contact-section {
  background-color: var(--section-bg-color);
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.contact-section h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-align: center;
}

#tsparticles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* Contact Section */
.contact-section {
  text-align: center;
}

.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.contact-content {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-card {
  background-color: var(--card-bg-color);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow-color) 0 4px 15px;
  text-align: center;
  flex: 1 1 300px;
  max-width: 350px;
}

.contact-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.contact-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.contact-card p {
  color: var(--secondary-text-color);
}

footer {
  background-color: var(--section-bg-color);
  color: var(--secondary-text-color);
  padding: 2rem 0;
  text-align: center;
  margin-top: 3rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* In style.css */

/* Hide the hamburger menu by default on large screens */
.hamburger-menu {
  display: none;
  cursor: pointer;
  z-index: 100;
  padding: 10px;
}

.hamburger-menu span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 5px 0;
  transition: all 0.3s ease-in-out;
}

/* Style the navigation menu for mobile */
.nav-menu {
  /* Hide the menu by default on mobile */
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  background-color: var(--card-bg-color);
  box-shadow: 0 4px 8px var(--shadow-color);
  z-index: 50;
  padding: 1rem 0;
  text-align: center;
}

/* Show the menu when it has the 'active' class */
.nav-menu.active {
  display: flex;
}

.nav-menu a {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

/* Adjust the header actions for better mobile layout */
header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  flex-direction: row;
}

/* Media Query to control behavior on smaller screens */
@media (max-width: 768px) {

  /* Show the hamburger menu icon */
  .hamburger-menu {
    display: block;
  }

  /* Hide the default navigation on small screens */
  nav {
    display: none;
  }
}





/*... باقي كود CSS ...*/

/* إخفاء قائمة الكمبيوتر الأفقية بشكل افتراضي */
.desktop-nav-menu {
  display: none;
}

/*... باقي كود CSS ...*/

/* قم بتعديل هذا الجزء من كود CSS */
/* Mobile First: Hide the hamburger menu and show the desktop nav on large screens */
@media (min-width: 768px) {

  /* إخفاء قائمة الهمبرغر وقائمة الموبايل على الشاشات الكبيرة */
  .hamburger-menu,
  .nav-menu {
    display: none;
  }

  /* إظهار قائمة الكمبيوتر وجعلها أفقية */
  .desktop-nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    /* المسافة بين الروابط */
    font-size: 1rem;
    position: static;
    background-color: transparent;
    box-shadow: none;
  }

  .desktop-nav-menu a {
    color: var(--text-color);
    padding: 0;
  }

  .desktop-nav-menu a:hover {
    color: var(--primary-color);
  }
}