:root {
  --primary: #1e293b;      /* كحلي رمادي عميق وفخم */
  --accent: #0284c7;       /* أزرق احترافي مائل للصناعة */
  --accent-hover: #0369a1;
  --silver-light: #f1f5f9;  /* فضي هادئ للخلفيات */
  --silver-border: #cbd5e1;
  --text-main: #0f172a;
  --text-muted: #475569;
  --white: #ffffff;
  --radius: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Cairo', sans-serif;
  color: var(--text-main);
  background-color: #f8fafc;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Header */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--silver-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--primary);
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.logo span {
  color: var(--accent);
}

.navbar a {
  margin-right: 1.5rem;
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  transition: color 0.2s;
}

.navbar a:hover {
  color: var(--accent);
}

.btn-nav {
  background: var(--accent);
  color: var(--white) !important;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #93c5fd;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  max-width: 850px;
  margin: 0 auto 1.2rem;
}

.hero p {
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* تصحيح وتنسيق أزرار الواجهة الرئيسية */
.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.75rem 1.8rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid #94a3b8;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* About Section */
.about {
  padding: 3rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.sub-title {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.about-text h2 {
  font-size: 1.9rem;
  margin: 0.4rem 0 1rem;
  color: var(--primary);
}

.check-list {
  list-style: none;
  margin-top: 1.2rem;
}

.check-list li {
  position: relative;
  padding-right: 1.5rem;
  margin-bottom: 0.6rem;
  color: var(--text-muted);
}

.check-list li::before {
  content: "✔";
  position: absolute;
  right: 0;
  color: var(--accent);
  font-weight: bold;
}

.about-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat-box {
  background: var(--white);
  padding: 1.8rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: center;
  border-top: 4px solid var(--accent);
}

.stat-box h3 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

/* Services */
.services {
  padding: 3rem 0;
  background: var(--silver-light);
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: 2rem;
  color: var(--primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--silver-border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.card h3 {
  color: var(--primary);
  margin-bottom: 0.8rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Gallery Section (معرض الصور) */
.gallery {
  padding: 3rem 0;
  background-color: #f8fafc;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 1.5rem;
}

.gallery-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #cbd5e1;
  height: 260px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Contact */
.contact {
  padding: 3rem 0;
}

/* Footer */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 1.8rem 0;
  border-top: 1px solid #1e293b;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.site-link a {
  color: #cbd5e1;
  text-decoration: none;
}

/* زر الواتساب العائم */
[aria-label="تواصل عبر الواتساب"]:hover {
  transform: scale(1.1);
}

/* Responsive (الأجهزة الذكية) */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .navbar {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 65px;
    right: 0;
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--silver-border);
    padding: 1.5rem;
  }
  .navbar.active {
    display: flex;
  }
  .navbar a {
    margin: 0.6rem 0;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 1.9rem;
  }
  
  /* ضبط الأزرار لتصبح مرتبة وبعرض مناسب على الجوال */
  .hero-actions {
    flex-direction: column;
    gap: 12px;
    padding: 0 15px;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
}