/* ======================================
   إعدادات عامة وأساسية
====================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(135deg, #1d1c1b 0%, #2a2927 100%);
  min-height: 100vh;
  color: #fff;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 80%, rgba(3, 119, 168, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 174, 248, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

h1,
h2,
h3,
p,
a {
  font-family: 'Noto Kufi Arabic', sans-serif;
}

/* ======================================
   التنقل والتخطيط العام
====================================== */
<<<<<<< HEAD
=======
nav {
  position: relative;
  z-index: 1000;
}
>>>>>>> 3db68a77a5d008e0a9d28a3ed2b27c7969829313

.All {
  margin-top: 100px;
  padding: 0 20px;
}

/* ======================================
   القسم الأول - عرض العناصر
====================================== */
.sec1 {
  width: 90%;
  max-width: 1200px;
  margin: 100px auto;
  padding: 0 20px;
}

.Cont {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  justify-content: center;
  padding: 20px 0;
}

.itemCard {
  background: linear-gradient(135deg, #4682b4 0%, #5a9fd4 100%);
  padding: 25px;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.itemCard:hover {
  background: linear-gradient(135deg, #333 0%, #555 100%);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  border-color: #018383;
}

.itemCard img {
  width: 60px;
  height: 60px;
  pointer-events: none;
  transition: transform 0.3s ease;
}

.itemCard:hover img {
  transform: scale(1.1);
}

.Clothname {
  text-align: center;
  color: white;
  font-weight: 500;
  font-size: 16px;
}

/* ======================================
   القسم الثاني - العناصر المحددة
====================================== */
.sec2 {
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 100px auto;
}

.sec2 h2 {
  text-align: center;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.Selected {
  margin-top: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.clothingSelected {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.itemSelected {
  background: linear-gradient(135deg, #018383 0%, #02a0a0 100%);
  border-radius: 10px;
  padding: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(1, 131, 131, 0.3);
  border: 2px solid transparent;
}

.itemSelected:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(1, 131, 131, 0.4);
  border-color: #fff;
}

.itemSelected img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  pointer-events: none;
  transition: transform 0.3s ease;
}

.itemSelected:hover img {
  transform: scale(1.05);
}

.itemC {
  background: linear-gradient(135deg, #018383 0%, #02a0a0 100%);
  border-radius: 10px;
  padding: 10px;
  margin-top: 10px;
  color: white;
  box-shadow: 0 8px 25px rgba(1, 131, 131, 0.3);
  transition: all 0.3s ease;
}

.itemC:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(1, 131, 131, 0.4);
}

/* ======================================
   جدول المعلومات
====================================== */
.info-table {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  direction: ltr;
  gap: 15px;
}

.table {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  color: #bbb;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.table:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.table img {
  height: 35px;
  pointer-events: none;
  margin-left: 15px;
}

/* ======================================
   صورة العنصر المحدد
====================================== */
.itemImage {
  width: 300px;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, rgba(1, 131, 131, 0.3) 0%, rgba(1, 131, 131, 0.6) 100%);
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  border: 3px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.itemImage:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
  border-color: #018383;
}

.itemImage img {
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  transition: transform 0.3s ease;
}

.itemImage:hover img {
  transform: scale(1.05);
}

/* ======================================
   مجموعات الملابس (Kits)
====================================== */
.Kits h2 {
  text-align: center;
  color: white;
  margin: 100px auto 50px;
  font-size: 2.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.lvl h3 {
  margin: 50px auto 30px;
  color: white;
  text-align: center;
  font-size: 1.8rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.kitsContainer {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: column;
  padding: 0 20px;
}

.kitRow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  width: 100%;
  justify-content: center;
  margin-bottom: 50px;
}

.kitsCard {
  width: 100%;
  max-width: 280px;
  height: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #018383 0%, #02a0a0 100%);
  border-radius: 25px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 15px 35px rgba(1, 131, 131, 0.3);
  border: 3px solid transparent;
  margin: 0 auto;
}

.kitsCard:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px rgba(1, 131, 131, 0.4);
  border-color: #fff;
}

.kitsCard img {
  width: 250%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: transform 0.3s ease;
}

.kitsCard:hover img {
  transform: scale(1.1);
}

.kitsCard i {
  position: absolute;
  font-size: 24px;
  color: gold;
  top: 15px;
  right: 15px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.kitsCard:hover i {
  transform: scale(1.2);
}

.kits {
  display: none;
}

/* ======================================
   استعلامات الوسائط - الشاشات المتوسطة
====================================== */
@media only screen and (max-width: 900px) {
  .itemImage {
    width: 250px;
    height: 350px;
  }

  .Cont {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
  }
}

@media only screen and (max-width: 800px) {
  .sec1 {
    width: 95%;
    padding: 0 10px;
  }

  .itemImage {
    width: 200px;
    height: 400px;
    background-color: #0183837a;
  }

  .Kits h2 {
    font-size: 2rem;
  }

  .lvl h3 {
    font-size: 1.5rem;
  }
}

/* ======================================
   استعلامات الوسائط - الشاشات الصغيرة
====================================== */
@media only screen and (max-width: 700px) {
  .All {
    margin-top: 80px;
    padding: 0 15px;
  }

  .sec1 {
    margin: 50px auto;
  }

  .sec2 {
    margin: 50px auto;
  }

  .lvl h3 {
    margin: 30px auto;
    text-align: center;
    font-size: 1.4rem;
  }

  .kitRow {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .kitsCard {
    max-width: 200px;
    height: 200px;
  }

  .Cont {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
  }

  .itemCard {
    padding: 20px;
  }

  .itemCard img {
    width: 50px;
    height: 50px;
  }
}

@media only screen and (max-width: 500px) {
  .lvl h3 {
    margin: 20px auto;
    font-size: 1.3rem;
  }

  .kitRow {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .kitsCard {
    max-width: 280px;
    height: 250px;
  }

  .itemSelected img {
    width: 70px;
    height: 70px;
  }

  .itemImage {
    width: 120px;
    height: 400px;
    background-color: #0183837a;
  }

  .Cont {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
  }

  .itemCard {
    padding: 15px;
  }

  .itemCard img {
    width: 45px;
    height: 45px;
  }

  .Clothname {
    font-size: 14px;
  }

  .Kits h2 {
    font-size: 1.8rem;
    margin: 50px auto 30px;
  }

  .clothingSelected {
    gap: 10px;
  }

  .itemSelected,
  .itemC {
    padding: 12px;
  }

  .table {
    padding: 12px;
    margin-bottom: 15px;
  }
}

@media only screen and (max-width: 450px) {
  .All {
    padding: 0 10px;
  }

  .kitsCard {
    max-width: 260px;
    height: 220px;
  }

  .itemImage {
    width: 160px;
    height: 250px;
  }

  .Cont {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .itemCard {
    padding: 12px;
  }

  .itemCard img {
    width: 40px;
    height: 40px;
  }

  .Clothname {
    font-size: 13px;
  }

  .itemSelected img {
    width: 60px;
    height: 60px;
  }

  .sec2 h2 {
    font-size: 1.5rem;
  }

  .Kits h2 {
    font-size: 1.6rem;
  }

  .lvl h3 {
    font-size: 1.2rem;
  }
}

/* ======================================
   تحسينات إضافية للتفاعل
====================================== */
@media (prefers-reduced-motion: no-preference) {

  .itemCard,
  .itemSelected,
  .kitsCard,
  .itemImage {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
}

/* تحسين الأداء للشاشات عالية الدقة */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 2dppx) {

  .itemCard,
  .itemSelected,
  .kitsCard,
  .itemImage {
    transform: translateZ(0);
  }
}