/* --- Bawou System Core: The Golden Soul --- */
/* الخطوة الأولى: استيراد الخط الرسمي للمنظومة */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;700;800;900&display=swap');

/* الخطوة الثانية: الكود الذي كتبته أنت في index.html */
:root{
  --gold:#f5d26b;
  --gold2:#e3b94c;
  --bg:#0b0f14;
  --dark:#10141c;
  --ink:#eaeef7;
  --muted:#95a2b4;
}
*{margin:0;padding:0;box-sizing:border-box;scroll-behavior:smooth}
body{background:var(--bg);color:var(--ink);font-family:"Tajawal",system-ui,sans-serif;overflow-x:hidden;line-height:1.7}

/* 🌌 خلفية خفيفة */
.bg-glow{
  position:fixed;inset:0;z-index:-1;
  background:radial-gradient(circle at 30% 20%,rgba(245,210,107,0.08),transparent 70%),
             radial-gradient(circle at 70% 80%,rgba(255,255,255,0.04),transparent 60%);
  filter:blur(60px);
  animation:fadeGlow 12s ease-in-out infinite alternate;
}
@keyframes fadeGlow{
  0%{opacity:0.6;transform:scale(1)}
  100%{opacity:1;transform:scale(1.05)}
}

/* 🏠 الواجهة */
.hero{
  text-align:center;
  padding:120px 20px 100px;
  background:linear-gradient(180deg,#0b0f14,#10141c);
}
.hero .badge{
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.1);
  border-radius:20px;
  padding:6px 14px;
  font-weight:700;
  color:var(--gold);
  display:inline-block;
  margin-bottom:20px;
  box-shadow:0 0 12px rgba(245,210,107,0.2);
}
.hero .title{
  font-size:clamp(26px,5vw,40px);
  font-weight:900;
  margin-bottom:14px;
  background:linear-gradient(135deg,#fff,var(--gold));
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}
.hero .subtitle{
  max-width:720px;
  margin:0 auto 24px;
  color:var(--muted);
  font-size:clamp(15px,2.2vw,18px);
}

/* ✨ الأزرار الذهبية المتحركة */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:12px 18px;
  border-radius:14px;
  font-weight:800;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  transition:all .4s ease;
  backdrop-filter:blur(6px);
  color:#fff;
  text-decoration:none;
  position:relative;
  overflow:hidden;
  cursor:pointer;
}
.btn.gold{
  color:#000;
  background:linear-gradient(135deg,rgba(255,213,74,.28),rgba(255,213,74,.14));
  border:1.5px solid rgba(255,213,74,.6);
  box-shadow:0 0 20px rgba(255,213,74,.25),0 0 40px rgba(255,213,74,.15);
}
.btn.gold::before{
  content:"";
  position:absolute;
  top:0;left:-150%;
  width:150%;height:100%;
  background:linear-gradient(120deg,transparent,rgba(255,255,255,.45),transparent);
  animation:shine 4s linear infinite;
}
@keyframes shine{
  0%{left:-150%}
  50%{left:150%}
  100%{left:150%}
}
.btn.gold:hover{
  transform:scale(1.06);
  box-shadow:0 0 45px rgba(255,213,74,.55),0 0 80px rgba(255,213,74,.35);
}
.btn:hover{transform:translateY(-2px)}
.buttons{display:flex;justify-content:center;flex-wrap:wrap;gap:12px}

/* 🧩 الأقسام */
.bawou-section{
  padding:100px 20px;
  text-align:center;
  background:linear-gradient(180deg,#0b0f14,#121826);
  border-top:1px solid rgba(255,255,255,0.08);
  transition:background 0.5s,box-shadow 0.5s;
  position:relative;
}
.bawou-section.dark{
  background:linear-gradient(180deg,#10141c,#0c0f15);
}
.bawou-section:hover{
  box-shadow:0 0 60px rgba(255,213,74,0.25);
}
.section-title{
  font-size:clamp(28px,4vw,42px);
  font-weight:900;
  margin-bottom:12px;
  color:var(--gold);
}
.subtitle{
  color:var(--muted);
  font-size:clamp(15px,2vw,18px);
  line-height:1.8;
}
.section-buttons{margin-top:20px}

/* ⚡ وميض خفيف متحرك خلف الأزرار */
.section-buttons::before{
  content:"";
  position:absolute;
  top:50%;left:50%;
  width:400px;height:400px;
  transform:translate(-50%,-50%);
  border-radius:50%;
  background:radial-gradient(circle,rgba(255,213,74,0.12),transparent 70%);
  filter:blur(40px);
  z-index:-1;
  animation:pulse 6s infinite alternate;
}
@keyframes pulse{
  0%{opacity:0.4;transform:translate(-50%,-50%) scale(1)}
  100%{opacity:0.8;transform:translate(-50%,-50%) scale(1.15)}
}

footer{
  text-align:center;
  padding:40px 0 20px;
  color:var(--muted);
  font-size:14px;
  border-top:1px solid rgba(255,255,255,0.08);
}
footer a{color:var(--gold);text-decoration:none}
footer a:hover{text-decoration:underline}
/* --- إضافات الترقية الثانية: المتجر الفاخر --- */

/* 1. شريط التنقل (Navbar) الموحد */
.navbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:16px 20px;
  background:rgba(11,15,20,0.6);
  border-bottom:1px solid rgba(255,255,255,0.1);
  backdrop-filter:blur(10px);
  position:sticky;
  top:0;
  z-index:100;
}
.nav-logo{
  font-size:20px;
  font-weight:900;
  color:var(--gold);
  text-decoration:none;
}
.nav-links{display:flex;align-items:center;gap:15px;}
.nav-links a{color:var(--ink);text-decoration:none;font-weight:700;}
.nav-links a:hover{color:var(--gold);}
.nav-links .btn.gold{padding:8px 14px;}

/* 2. واجهة الصفحة الداخلية (للمتجر والمجلة) */
.page-hero{
  padding:80px 20px 60px;
  text-align:center;
  background:linear-gradient(180deg,var(--dark),var(--bg));
}
.container.page-content{
  max-width:1200px;
  margin:0 auto;
  padding:40px 20px;
}

/* 3. شبكة عرض المنتجات */
.product-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  gap:24px;
}

/* 4. بطاقة المنتج الفاخرة */
.product-card{
  background:var(--dark);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:16px;
  overflow:hidden;
  transition:all .3s ease;
  box-shadow:0 4px 20px rgba(0,0,0,0.2);
}
.product-card:hover{
  transform:translateY(-5px);
  border-color:rgba(245,210,107,0.5);
  box-shadow:0 10px 30px rgba(245,210,107,0.1);
}
.product-image{
  width:100%;
  height:300px;
  object-fit:cover;
  background:#1a202c; /* لون مؤقت بانتظار صورك */
}
.product-title{
  font-size:18px;
  font-weight:800;
  padding:16px 16px 4px;
  color:var(--ink);
}
.product-price{
  font-size:16px;
  color:var(--gold);
  padding:0 16px 16px;
  font-weight:700;
}
.product-card .btn{
  margin:0 16px 16px;
  width:calc(100% - 32px);
  justify-content:center;
}
/* --- إضافات الترقية الثالثة: المجلة الذهبية --- */

/* 1. تنسيق محتوى المقال */
.article-content{
  max-width:800px; /* عرض مريح للقراءة */
  margin:0 auto;
}
.article-header{
  text-align:center;
  margin-bottom:30px;
}
.article-title{
  font-size:clamp(28px, 5vw, 44px);
  font-weight:900;
  line-height:1.4;
  color:var(--gold);
  margin-bottom:16px;
}
.article-meta{
  color:var(--muted);
  font-size:14px;
}
.article-meta a{
  color:var(--gold);
  text-decoration:none;
}
.article-image{
  width:100%;
  border-radius:16px;
  margin-bottom:30px;
  object-fit:cover;
  height:400px;
  background:#1a202c; /* لون مؤقت */
}

/* 2. تنسيق جسم المقال (الفقرات، العناوين) */
.article-body{
  font-size:18px;
  line-height:1.9;
  color:var(--ink);
}
.article-body h2{
  font-size:28px;
  font-weight:800;
  color:var(--gold2);
  margin:40px 0 15px;
}
.article-body p{
  margin-bottom:20px;
}
.article-body blockquote{
  margin:25px 0;
  padding:20px 25px;
  border-right:4px solid var(--gold);
  background:var(--dark);
  font-size:20px;
  font-style:italic;
  color:var(--ink);
  border-radius:0 8px 8px 0;
}
.article-body ul, .article-body ol {
  margin-bottom:20px;
  padding-right:20px; /* للغة العربية */
}
.article-body li {
  margin-bottom:10px;
}