@keyframes slideDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* إعدادات الهيدر */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: transparent;
    transition: all 0.5s ease-in-out;
    animation: slideDown 0.6s ease;
   
}

/* الخلفية البيضاء المتحركة */
.main-header::before {
    content: "";
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
 
    z-index: -1;
}

/* عند التمرير للأسفل */
.main-header.header--scrolled {
     background: #ffffff!important;
    transition: top 0.5s ease-in-out;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* تحريك الخلفية البيضاء للأسفل */
.main-header.header--scrolled::before {
    top: 0;
}

/* ✅ إعدادات القوائم داخل الهيدر */
.main-header.header--scrolled .bricks-nav-menu a {
    color: #fff; /* في البداية أبيض */
    transition: color 0.3s ease;
}

.main-header.header--scrolled .brxa-wrap span  {
    color: #000!important; /* في البداية أبيض */
    transition: color 0.3s ease;
}

/* ✅ عند التمرير للأسفل تصبح سوداء */
.main-header.header--scrolled .bricks-nav-menu a,
.main-header.header--scrolled .bricks-nav-menu button {
    color: #000!important;
}
.main-header.header--scrolled .bricks-nav-menu .sub-menu .menu-item {
    background: #ffffff !important;
}


/* إعداد اللوجو */
.site-logo {
    max-height: 60px;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease;
}

/* في البداية: اللوجو الفاتح ظاهر والداكن مخفي */
.light-logo {
    opacity: 1;
}
.dark-logo {
    opacity: 0;
    position: absolute;
   
}

/* عند التمرير للأسفل (عند إضافة الكلاس header--scrolled على الهيدر) */
.main-header.header--scrolled .light-logo {
    opacity: 0;
    transform: translateY(-10px);
}

.main-header.header--scrolled .dark-logo {
    opacity: 1;
    transform: translateY(0);
}



#preloader {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #0e062b;
}
#preloader img{
    object-fit: contain;
}
.curtain-strips {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* خلف الصورة */
  display: flex;
  /* يمكن إضافة ستايل الشرائح هنا */
}

.curtain-strips div {
  flex: 1;
  background: #ffff; /* لون الشرائح */
  margin: 0 2px; /* مسافة بين الشرائح */
 
}

#status {
  position: relative;
  z-index: 2; /* فوق الشرائح */
  max-width: 150px;
  max-height: 150px;
}

