[hidden] {
  display: none !important;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}

/* خلفية ثابتة بصورة واحدة صافية جداً وبدون أي أنيميشن */
.bg-slider {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background-color: #160d12;
}

.bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
  image-rendering: -webkit-optimize-contrast;
}

/* طبقة خفيفة جداً للحفاظ على وضوح الصورة 100% مع سهولة قراءة النص */
.bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: none;
}

/* الهيدر */
.site-header {
  padding: 36px 0 22px;
  text-align: center;
  color: var(--text-light);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* شريط البحث والأقسام الثابت عند التمرير */
.controls-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 0;
  background: rgba(24, 12, 19, 0.75);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* المحتوى الرئيسي */
.main-content {
  padding-top: 28px;
  padding-bottom: 90px;
}

.menu-sections {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* الفوتر */
.site-footer {
  background: rgba(15, 7, 12, 0.9);
  color: var(--text-light);
  padding: 28px 0 100px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}