/* إعدادات أساسية */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Tajawal", sans-serif;
}

/* إعدادات القائمة على الكمبيوتر */
@media (min-width: 1025px) {
    .navbar {
        padding: 15px 0;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(8px);
    }

        .navbar .nav-links li {
            margin: 0 15px;
        }

        .navbar .nav-links a {
            font-size: 1rem;
            font-weight: bold;
            color: white;
            transition: 0.3s;
        }

    .logo img {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        border: 3px solid white;
    }
}


.navbar .container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* الشعار */
.logo img {
    width: 80px; /* أكبر */
    height: 80px;
    border-radius: 50%; /* دائري */
    border: 3px solid white;
    object-fit: cover;
}

/* القوائم */
nav {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #ffd700;
}


/* قسم البطل */
.hero {
    height: 100vh;
    background: url('background.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding-top: 100px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}





/* أنيميشن */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* المقدمة بالفيديو - حجم أصغر */
.video-hero {
    position: relative;
    height: 60vh; /* كان 40vh، الآن أكبر */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6); /* الحاجز الأسود الشفاف */
    z-index: -1;
}


/* الفيديو */
.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* النص */
.hero-content {
    color: white;
    padding: 0 20px;
    animation: fadeInUp 1.2s ease-in-out;
}

.hero-content h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    text-shadow: 0 3px 6px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #f0f0f0;
  margin-bottom: 40px;
}

.hero-content .btn {
    background: #ffcc00;
    color: black;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    margin-top: 30px; /* مسافة فوق الزر */
}

.hero-content .btn:hover {
    background: white;
    transform: scale(1.05);
}

.departments {
    padding: 60px 20px;
    text-align: center;
    color: white;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 10px;
}

.section-desc {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #ffffff;
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* صف أول 4 */
    gap: 25px;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    margin-bottom: 10px;
}

.card h3 {
    font-size: 1rem;
    text-align: center;
}

/* الصف الثاني: 3 عناصر */
.grid a:nth-child(n+5) {
    grid-column: span 1;
}

.grid-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    justify-content: center; /* يجعل المحتوى في المنتصف */
    max-width: 700px; /* تحكم بعرض الصف الأول */
    margin: auto; /* مركز أفقياً */
}

.grid-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    justify-content: center; /* مركز أفقياً */
    max-width: 525px; /* عرض أقل من الأول لأنه 3 عناصر */
    margin: 20px auto 0 auto; /* مسافة فوق وتوسيط */
}


.grid-top {
    max-width: 960px; /* زيدته شوي */
}

.grid-bottom {
    max-width: 720px; /* زيدته شوي */
}

/* زيادة حجم البطاقات */
.card {
    background: #ffffff; /* أبيض ناصع */
    color: #333333; /* نص داكن للوضوح */
    box-shadow: 0 0 10px rgba(0,0,0,0.1); /* ظل خفيف لإبراز الكارد */
}


/* تكبير الصورة قليلاً */
.card img {
    width: 100px; /* زيادة الحجم */
    height: 100px;
    border-radius: 50%;
    border: 3px solid #ffffff; /* زيادة سمك الإطار */
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

/* تكبير ونمط ظل عند hover */
.card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.6);
}

.card:hover img {
    transform: scale(1.1);
}

/* تكبير النص العنوان */
.card h3 {
    font-size: 1.2rem; /* زيادة حجم الخط */
    text-align: center;
    transition: color 0.3s ease;
}

.card:hover h3 {
    color: #ffd700; /* لون ذهبي عند hover */
}
/* الخلفية العامة - رصاصي فاتح */
body {
    background-color: #5f5f5f; /* لون رصاصي فاتح أنيق (Tailwind slate-300 تقريبا) */
}

/* خلفية الكاردز - أسود شفاف أكثر */
.card {
    background: rgba(0, 0, 0, 0.0); /* أسود مع شفافية 50% */
    color: #f0f0f0; /* نص فاتح */
    padding: 25px;
    border-radius: 15px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* عند hover */
.card:hover {
    background: rgba(0, 0, 0, 0.7); /* أسود شفاف أقل شفافية عند hover */
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.6);
}
.about-us {
    background: #383737;
    padding: 60px 20px;
    color: white;
    text-align: center;
}

.management-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    max-width: 800px;
    margin: 30px auto 0 auto;
}

.manager-card {
    background: rgba(0, 0, 0, 0.5);
    padding: 25px 20px;
    border-radius: 15px;
    width: 250px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    text-align: center;
    color: #f0f0f0;
}

.manager-card img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff;
    margin-bottom: 15px;
}

.manager-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.manager-card .position {
    font-size: 1.1rem;
    color: #dcdcdc;
}
.manager-card {
    background: rgba(0, 0, 0, 0.5); /* أسود شفاف */
    padding: 25px 20px;
    border-radius: 15px;
    width: 250px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    text-align: center;
    color: #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.manager-card img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.manager-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.manager-card .position {
    font-size: 1.1rem;
    color: #dcdcdc;
}

/* تأثير الهفر */
.manager-card:hover {
    background: rgba(0, 0, 0, 0.7); /* أغمق قليلاً عند الوقوف */
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.6);
}

.manager-card:hover img {
    transform: scale(1.1);
}

.manager-card:hover h3 {
    color: #ffd700; /* ذهبي عند الهفر */
}
.company-info-card {
    background: rgba(0, 0, 0, 0.6); /* أسود شفاف */
    border-radius: 25px;
    border: 3px solid white; /* الحدود البيضاء */
    padding: 50px 30px 40px 30px;
    text-align: center;
    color: #f0f0f0;
    max-width: 800px; /* أكبر حجم */
    margin: 40px auto 0 auto; /* مسافة من الأعلى */
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

/* الشعار */
.company-logo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 5px solid white; /* إطار أبيض للشعار */
    object-fit: cover;
    margin-top: -120px; /* يجعله يطفو للأعلى */
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

/* العنوان */
.company-info-card h2 {
    margin-top: 20px;
    font-size: 2rem;
    color: #ffd700; /* ذهبي */
}

/* النص */
.company-info-card p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-top: 15px;
    color: #e0e0e0;
}
.footer {
  background-color: #ffffff; /* نفس لون الخلفية العامة أو أي لون تفضله */
  color: #000000;
  text-align: center;
  padding: 15px 0;
  font-size: 0.9rem;
  margin-top: 40px;
  user-select: none;
}
.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}
/* نفس ستايل الكاردز لكن نضيف margin-top للفصل بين الأقسام */
.info-section {
  padding: 60px 20px;
  text-align: center;
  color: white;
  margin-top: 60px; /* فاصلة من الأقسام فوق */
}

.info-section .section-title {
  font-size: 2rem;
  margin-bottom: 10px;
}

.info-section .section-desc {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #ccc;
}

.info-section1 {
  padding: 60px 20px;
  background-color: #383737;
  text-align: center;
  color: white;
  margin-top: 60px; /* فاصلة من الأقسام فوق */
}

.info-section1 .section-title {
  font-size: 2rem;
  margin-bottom: 10px;
}

.info-section1 .section-desc {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #ccc;
}

/* نستخدم نفس شبكة الكاردز */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 900px;
  margin: auto;
}

/* نستخدم نفس ستايل الكاردز الموجود سابقاً */
.info-grid .card {
  background: rgba(0, 0, 0, 0.5); /* خلفية أسود شفاف */
  padding: 25px;
  border-radius: 15px;
  text-decoration: none;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.info-grid .card:hover {
  background: rgba(255, 255, 255, 0.2); /* خلفية صفراء شفافة عند الهوفر */
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.6);
}

.info-grid .card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid #ffffff; /* لون ذهبي للإطار */
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.info-grid .card:hover img {
  transform: scale(1.1);
}

.info-grid .card h3 {
  font-size: 1.2rem;
  text-align: center;
  transition: color 0.3s ease;
}

.info-grid .card:hover h3 {
  color: #ffffff;
}



.main-title {
  font-size: 2.5rem;
  color: #ffd700; /* لون ذهبي */
  text-align: center;
  margin: 40px 0 30px 0;
  font-weight: 700;
  font-family: 'Tajawal', sans-serif;
  text-shadow: 0 2px 5px rgba(0,0,0,0.6);
}
.product-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 بطاقات في الصف */
  gap: 25px;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 40px;
}

.product-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
  width: 270px; /* أكبر من السابق */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
}

.product-card img {
  width: 100%;
  height: 270px; /* أكبر */
  object-fit: cover;
  border-bottom: 1px solid #ddd;
  border-radius: 15px 15px 0 0;
}

.product-info {
  padding: 15px;
  width: 100%;
  text-align: center;
  font-family: 'Tajawal', sans-serif;
  color: #333;
  background: rgba(255, 255, 255, 0.5); /* شفافية 50% */
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
}

.product-info span {
  display: block;
}

  #sectionTitle {
  font-size: 3rem;         /* حجم كبير */
  text-align: center;      /* تمركز أفقي */
  margin-bottom: 30px;     /* مسافة تحت العنوان */
  color: #ffd700;          /* لون ذهبي جميل */
  font-weight: bold;
  width: 100%;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 بطاقات في الصف */
  gap: 25px;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 40px;
}

.product-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
  width: 270px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
}

.product-card img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  border-bottom: 1px solid #ddd;
  border-radius: 15px 15px 0 0;
}

.product-info {
  padding: 15px;
  width: 100%;
  text-align: center;
  font-family: 'Tajawal', sans-serif;
  color: #333;
  background: rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
}

.product-info span {
  display: block;
}
.productSection {
  background: rgba(255, 255, 255, 0.5); /* شفافية 50% */
  border: 2px solid white; /* حدود بيضاء */
  border-radius: 25px;
  padding: 30px 25px 40px;
  width: 90%;
  max-width: 1200px;
  box-sizing: border-box;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.mall-logo {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid white;
  margin: 0 auto 25px;
  display: block;
}

.section-title {
  font-family: 'Tajawal', sans-serif;
  font-size: 2.6rem;
  color: #000;
  margin-bottom: 35px;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 منتجات في الصف */
  gap: 25px;
  justify-items: center;
}

.product-card {
  background: transparent; /* لا خلفية للمنتج */
  border-radius: 15px;
  width: 270px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-card img {
  width: 100%;
  height: 270px;
  border-radius: 15px;
  object-fit: cover;
  border: 2px solid white; /* حدود خفيفة للصور */
}

.product-info {
  margin-top: 12px;
  font-family: 'Tajawal', sans-serif;
  font-weight: 600;
  color: #000;
  background: rgba(255, 255, 255, 0.4); /* خلفية شفافة تحت النص */
  border-radius: 12px;
  padding: 10px 15px;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  font-size: 16px;
}
.products-container {
  background: rgba(255, 255, 255, 0.5); /* شفافية 50% */
  border: 2px solid white; /* حدود بيضاء */
  border-radius: 25px;
  padding: 30px 25px 40px;
  width: 90%;
  max-width: 1200px;
  box-sizing: border-box;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.mall-logo {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid white;
  margin: 0 auto 25px;
  display: block;
}

.section-title {
  font-family: 'Tajawal', sans-serif;
  font-size: 2.6rem;
  color: #000;
  margin-bottom: 35px;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 منتجات في الصف */
  gap: 25px;
  justify-items: center;
}

.product-card {
  background: transparent; /* لا خلفية للمنتج */
  border-radius: 15px;
  width: 270px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-card img {
  width: 100%;
  height: 270px;
  border-radius: 15px;
  object-fit: cover;
  border: 2px solid white; /* حدود خفيفة للصور */
}

.product-info {
  margin-top: 12px;
  font-family: 'Tajawal', sans-serif;
  font-weight: 600;
  color: #000;
  background: rgba(255, 255, 255, 0.4); /* خلفية شفافة تحت النص */
  border-radius: 12px;
  padding: 10px 15px;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  font-size: 16px;
}
.section-title-text {
    text-align: center;
    color: white;
    font-size: 36px;
    font-weight: bold;
    margin: 30px 0;
}

html {
    scroll-behavior: smooth; /* تمرير سلس لكل الروابط */
}

.section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

    .section.show {
        opacity: 1;
        transform: translateY(0);
    }
.buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.btn-map, .btn-fb {
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    color: #fff;
    transition: 0.3s;
    font-size: 0.9em;
}

.btn-map {
    background-color: #4caf50;
}

.btn-map:hover {
    background-color: #388e3c;
}

.btn-fb {
    background-color: #1877f2;
}

.btn-fb:hover {
    background-color: #0f5bb5;
}