/* ===========================
   الإعدادات العامة
   =========================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  padding-top: 90px;
  margin: 0;
  font-family: "Tajawal", sans-serif;
  background: #ffffff;
  direction: rtl;
}

/* ===========================
   عرض الصفحة + الهوامش
   =========================== */

.page-container {
  max-width: 1200px;      /* عرض المحتوى */
  margin: 0 auto;         /* توسيط الصفحة */
  padding: 0 25px;        /* هوامش يمين ويسار */
}

/* ===========================
   الهيدر الثابت
   =========================== */

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  z-index: 999;
  background: rgba(5, 8, 22, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 15px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  animation: headerFade 0.8s ease-out;
}

@keyframes headerFade {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.site-header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 40px;
}

.logo a {
  color: #fff;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: bold;
}

/* ===========================
   القائمة (ديسكتوب)
   =========================== */

.main-nav ul {
  display: flex;
  gap: 25px;
  list-style: none;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  position: relative;
  transition: 0.3s;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 2px;
  background: #6d63ff;
  transition: 0.3s;
}

.main-nav a:hover {
  color: #cfcfff;
}

.main-nav a:hover::after {
  width: 100%;
}

/* ===========================
   زر القائمة للجوال
   =========================== */

.mobile-menu-btn {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #fff;
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  .main-nav {
    display: none;
  }
}

/* ===========================
   القائمة الجانبية للجوال
   =========================== */

.mobile-sidebar {
  position: fixed;
  top: 0;
  right: -260px;
  width: 260px;
  height: 100%;
  background: #050816;
  color: #fff;
  padding: 20px;
  transition: 0.3s;
  z-index: 1001;
}

.mobile-sidebar ul {
  list-style: none;
  margin-top: 40px;
}

.mobile-sidebar li {
  margin-bottom: 20px;
}

.mobile-sidebar a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
}

.close-btn {
  font-size: 24px;
  cursor: pointer;
  text-align: left;
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  display: none;
  z-index: 1000;
}

/* ===========================
   الفوتر
   =========================== */

.site-footer {
  background: #050816;
  color: #fff;
  padding: 40px 0 20px;
  margin-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-logo h2 {
  margin-bottom: 10px;
  font-size: 1.6rem;
}

.footer-logo p {
  color: #ccc;
  line-height: 1.7;
}

.footer-links h3,
.footer-contact h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #6d63ff;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #aaa;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}

/* ===========================
   HERO (ستايل CapCut)
   =========================== */

.hero-capcut {
  width: 100%;
  padding: 120px 20px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
}

.hero-inner h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 15px;
  color: #111;
}

.hero-inner p {
  font-size: 20px;
  color: #555;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.btn-primary {
  background: #000;
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  border: none;
  font-size: 16px;
  cursor: pointer;
  transition: 0.2s;
}
