/* =======================
   ملف التنسيق الأساسي للموقع
   مع خلفية جميلة احترافية 
========================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  background: url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1470&q=80') no-repeat center center fixed;
  background-size: cover;
  color: #e0e7ff;
  line-height: 1.6;
  position: relative;
}

/* تراكب داكن للخلفية لتحسين القراءة */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 47, 0.8);
  z-index: -1;
}

/* روابط التنقل */
header {
  background-color: rgba(30, 64, 175, 0.9);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

header nav a {
  color: #bfdbfe;
  margin-right: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}

header nav a:hover {
  color: white;
}

.container {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* العناوين */
h1, h2, h3, h4 {
  font-weight: 700;
  color: #eff6ff;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
}

/* الفقرات */
p {
  margin-bottom: 1.5rem;
  color: #cbd5e1;
}

/* الأزرار */
.btn {
  display: inline-block;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  color: white;
  padding: 0.85rem 2rem;
  font-weight: 600;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(59,130,246,0.5);
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn:hover {
  background: linear-gradient(90deg, #3b82f6, #2563eb);
}

/* الأقسام الرئيسية */
section {
  margin-bottom: 3rem;
  background-color: rgba(30, 64, 175, 0.7);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* المنتجات */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 2rem;
}

.product-card {
  background: rgba(59, 130, 246, 0.7);
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.7);
  transition: transform 0.3s;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.9);
}

.product-card img {
  max-width: 80px;
  margin-bottom: 1rem;
  border-radius: 10px;
}

.price-option {
  background: rgba(255,255,255,0.15);
  padding: 0.7rem 1rem;
  border-radius: 12px;
  margin: 0.5rem;
  display: inline-block;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.price-option:hover,
.price-option.active {
  background: white;
  color: #1e40af;
}

/* أسئلة متكررة */
.faq-item {
  background-color: rgba(37, 99, 235, 0.8);
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1rem;
}

/* Footer */
footer {
  background-color: rgba(30, 64, 175, 0.85);
  padding: 2rem 1rem;
  color: #bfdbfe;
  text-align: center;
  font-size: 0.9rem;
}

/* روابط Footer */
footer a {
  color: #93c5fd;
  text-decoration: none;
}

footer a:hover {
  color: white;
}

/* Responsive */
@media(max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}