/* ---------- تصميم مريح للعين - درجة لونية دافئة ناعمة ---------- */
/* فلسفة: تخفيف البياض، استخدام Off-white, كريمي، رمادي دافئ، أزرق داكن مطفي */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #F5F3F0; /* بيج/رمادي دافئ جداً - مريح */
  color: #1F2A36;
  line-height: 1.5;
}
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
h1, h2, h3, h4 {
  font-weight: 600;
  letter-spacing: -0.02em;
}
h2 {
  font-size: 2.1rem;
  margin-bottom: 1.75rem;
  color: #1A2C3D; /* ازرق داكن دافئ */
  font-weight: 700;
}
.section {
  padding: 90px 0;
}
/* خلفيات مريحة - غير بيضاء */
.section-warm {
  background: #F5F3F0; /* البيج الدافئ الأساسي */
}
.section-stone {
  background: #EAE7E2; /* حجر أفتح بقليل - تدرج مريح */
}
.section-deep {
  background: #1F2E3B; /* أزرق مسود دافئ - للتباين */
  color: white;
}
/* ازرار ناعمة غير صارخة */
.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 0; /* زوايا قائمة ولكن ناعمة */
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: 0.2s ease;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
}
.btn-primary {
  background: #1F3A4F; /* ازرق مخضر معتق */
  color: white;
  border: 2px solid #1F3A4F;
}
.btn-primary:hover {
  background: #2C4E66;
  border-color: #2C4E66;
}
.btn-secondary {
  background: transparent;
  color: #1F3A4F;
  border: 2px solid #1F3A4F;
}
.btn-secondary:hover {
  background: #1F3A4F;
  color: white;
}
.btn-outline-light {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.5);
  color: white;
}
.btn-outline-light:hover {
  border-color: white;
  background: rgba(255,255,255,0.05);
}
/* ------ هيدر جديد - خلفية دافئة غير بيضاء ------ */
header {
  background: #F0EDE9; /* بيج فاتح دافئ */
  padding: 18px 0;
  border-bottom: 1px solid #D6CFC7;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo h1 {
  color: #1F3A4F;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.logo-sub {
  color: #4F6579; /* ازرق رمادي هادئ */
  font-weight: 500;
  display: block;
  font-size: 0.7rem;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  margin-top: 4px;
}
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  color: #2C3E4F;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.nav-links a:hover {
  color: #0A2635;
}
.contact-badge {
  background: #1F3A4F;
  color: white;
  padding: 10px 24px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  border: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-badge i {
  color: white;
}
/* ------ هيرو - خلفية دافئة، صورة مطفية ------ */
.hero {
  background: #EAE7E2; /* حجر دافئ */
  padding: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  align-items: center;
}
.hero-content {
  padding: 80px 60px 80px 0;
}
.hero-domain {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: #3F5A6E;
  font-weight: 700;
  margin-bottom: 20px;
  border-bottom: 2px solid #1F3A4F;
  display: inline-block;
  padding-bottom: 8px;
}
.hero h1 {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.05;
  color: #1A2F3E;
  margin-bottom: 24px;
}
.hero-desc {
  font-size: 1.2rem;
  color: #2F4858;
  margin-bottom: 40px;
  max-width: 90%;
}
.hero-image {
  background: url('https://images.pexels.com/photos/1181263/pexels-photo-1181263.jpeg?auto=compress&cs=tinysrgb&w=1260&h=900&dpr=2');
  background-size: cover;
  background-position: center 30%;
  height: 520px;
  width: 100%;
  opacity: 0.85; /* مريح */
  border-left: 6px solid #B6C8D2; /* رمادي دافئ */
}
/* شريط العملاء - ناعم */
.client-strip {
  background: #F0EDE9;
  padding: 24px 0;
  border-bottom: 1px solid #D6CFC7;
  border-top: 1px solid #D6CFC7;
}
.client-wrapper {
  display: flex;
  justify-content: center;
  gap: 60px;
  color: #2F4858;
  font-weight: 500;
}
/* ------ من نحن – قسم مُعاد تنظيمه ------ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-text p {
  font-size: 1.1rem;
  color: #2E404F;
  margin-bottom: 28px;
  line-height: 1.7;
}
.about-lead {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1A2F3E;
}
.stats-container {
  display: flex;
  gap: 40px;
  margin-top: 30px;
}
.stat-item {
  text-align: left;
}
.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: #1F3A4F;
  display: block;
  line-height: 1.2;
}
.stat-label {
  color: #2F4858;
  font-size: 0.9rem;
}
.about-highlight {
  background: #D9D2CA; /* بيج متوسط - مريح جداً */
  color: #1F2A36;
  padding: 40px;
  border-left: 8px solid #1F3A4F;
}
.about-highlight i {
  font-size: 2.8rem;
  margin-bottom: 16px;
  color: #1F3A4F;
}
.about-highlight h3 {
  color: #1F2A36;
  font-size: 2rem;
  margin-bottom: 12px;
}
/* ------ خدمات – تفاصيل موسعة ------ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 20px;
}
.service-card {
  background: #FCFAF7; /* قماشي دافئ */
  padding: 36px 24px;
  border: 1px solid #DDD5CD;
  transition: 0.2s;
}
.service-card:hover {
  border-color: #1F3A4F;
  background: #FFFFFFF0;
}
.service-icon {
  font-size: 2.6rem;
  color: #1F3A4F;
  margin-bottom: 24px;
}
.service-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1A2F3E;
}
.service-desc {
  color: #3E566B;
  margin-bottom: 20px;
  font-size: 0.95rem;
}
.service-features {
  list-style: none;
}
.service-features li {
  color: #2F4858;
  margin-bottom: 8px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-features i {
  color: #1F3A4F;
  font-size: 1rem;
}
/* ------ HARDWARE – مع صور ومواصفات وأسعار ------ */
.hardware-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.hardware-card {
  background: #FCFAF7;
  border: 1px solid #DDD5CD;
  transition: 0.2s;
  display: flex;
  flex-direction: column;
}
.hardware-card:hover {
  border-color: #1F3A4F;
}
.hardware-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #DDD5CD;
}
.hardware-content {
  padding: 24px 24px 32px;
}
.hardware-content h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1A2F3E;
  margin-bottom: 16px;
}
.hardware-specs ul {
  list-style: none;
  margin-bottom: 20px;
}
.hardware-specs li {
  color: #3E566B;
  margin-bottom: 10px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hardware-specs i {
  color: #1F3A4F;
  width: 20px;
  text-align: center;
}
.hardware-price {
  font-size: 1.2rem;
  margin: 16px 0 20px;
  color: #2F4858;
}
.hardware-price strong {
  color: #1F3A4F;
  font-size: 1.6rem;
  font-weight: 700;
}
.quote-link {
  font-weight: 700;
  color: #1F3A4F;
  text-decoration: none;
  border-bottom: 2px solid #1F3A4F;
  padding-bottom: 3px;
  display: inline-block;
}
/* ------ عقود الصيانة – بدون تغيير ------ */
.contracts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.contract-card {
  background: #FCFAF7;
  border: 1px solid #DDD5CD;
  padding: 48px 36px;
}
.contract-card.featured {
  border: 3px solid #1F3A4F;
  background: #FFFEFC;
}
.contract-card h4 {
  font-size: 1.9rem;
  color: #1A2F3E;
  font-weight: 700;
}
.price {
  font-size: 2rem;
  font-weight: 700;
  margin: 20px 0;
  color: #1F3A4F;
}
.contract-features {
  list-style: none;
  margin: 30px 0;
}
.contract-features li {
  padding: 10px 0;
  border-bottom: 1px solid #E0D9D2;
  display: flex;
  gap: 12px;
  color: #2F4858;
}
.contract-features i {
  color: #1F3A4F;
}
/* ------ معرض المشاريع – بدون تغيير ------ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.portfolio-item {
  background: #1F3A4F;
  height: 280px;
  position: relative;
  overflow: hidden;
  border: 1px solid #B6BFB0;
}
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: 0.3s;
}
.portfolio-item:hover img {
  opacity: 1;
}
.portfolio-caption {
  position: absolute;
  bottom: 0;
  background: rgba(26,47,62,0.8); /* ازرق دافئ شفاف */
  color: white;
  width: 100%;
  padding: 18px 20px;
  font-weight: 600;
  font-size: 1rem;
}
/* ------ تواصل – بدون فورم ------ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-block {
  background: #2A3F4E; /* ازرق مخضر دافئ */
  color: white;
  padding: 56px 48px;
  border-left: 8px solid #BCC6B5;
}
.contact-block i {
  color: #E6DFD3;
  width: 32px;
}
.contact-detail {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  align-items: center;
}
.social-mini {
  display: flex;
  gap: 18px;
  margin-top: 40px;
}
.social-mini a {
  color: white;
  border: 2px solid rgba(255,255,255,0.3);
  padding: 10px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  text-decoration: none;
  transition: 0.2s;
}
.social-mini a:hover {
  border-color: white;
  background: rgba(255,255,255,0.1);
}
.contact-info-alt {
  background: #FCFAF7;
  padding: 56px 48px;
  border: 1px solid #DDD5CD;
}
/* ------ فوتر – مع خيارات اللغة ------ */
footer {
  background: #1F2E38; /* ازرق رمادي دافئ */
  color: #E2E2E0;
  padding: 70px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
}
.footer-logo {
  color: white;
  font-size: 1.8rem;
  font-weight: 800;
}
.footer-links a {
  color: #D0D9DD;
  text-decoration: none;
  display: block;
  margin-bottom: 14px;
  font-weight: 400;
}
.footer-links a:hover {
  color: white;
}
.language-selector {
  margin-top: 30px;
  display: flex;
  gap: 20px;
}
.lang-link {
  color: #D0D9DD;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
}
.lang-link.active {
  color: white;
  border-bottom-color: white;
}
.lang-link:hover {
  color: white;
}
.copyright {
  text-align: center;
  margin-top: 60px;
  color: #B6C4C9;
  font-size: 0.9rem;
  border-top: 1px solid #3A525F;
  padding-top: 36px;
}
@media (max-width: 1024px) {
  .services-grid, .hardware-grid, .contracts-grid, .portfolio-grid, .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-grid, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-content { padding-right: 0; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .container { padding: 0 24px; }
  .services-grid, .hardware-grid, .contracts-grid, .portfolio-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .client-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .stats-container {
    flex-direction: column;
    gap: 20px;
  }
}
/* إزالة البياض الصارخ، كل الخلفيات دافئة طبيعية */