/* ===== ألوان النود ===== */
:root {
  --bg: #faf6f2;
  --card: #fffdfb;
  --main: #c39a86;
  --main-dark: #9c7260;
  --soft: #f1e6de;
  --text: #4b3a33;
  --muted: #8c7a71;
  --line: #ece0d7;
  --radius: 18px;
  --shadow: 0 8px 30px rgba(156, 114, 96, 0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Cairo", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  font-size: 17px;
}

a { color: var(--main-dark); text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: min(1080px, 92%); margin: 0 auto; }

/* ===== القائمة ===== */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250, 246, 242, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.logo { font-weight: 800; font-size: 1.35rem; color: var(--main-dark); }
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a { color: var(--text); font-weight: 600; transition: color .2s; }
.nav-links a:hover { color: var(--main); }

/* ===== الترحيب ===== */
.hero { padding: 80px 0 40px; text-align: center; max-width: 680px; margin: 0 auto; }
.tag {
  display: inline-block; background: var(--soft); color: var(--main-dark);
  padding: 4px 16px; border-radius: 999px; font-weight: 700; font-size: .9rem;
  margin-bottom: 14px;
}
.hero h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); line-height: 1.3; margin-bottom: 10px; }
.hero h1 span { color: var(--main); }
.hero p { color: var(--muted); font-size: 1.15rem; margin-bottom: 26px; }

.btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn { display: inline-block; padding: 10px 26px; border-radius: 999px; font-weight: 700; transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-main { background: var(--main); color: #fff; }
.btn-outline { border: 2px solid var(--main); color: var(--main-dark); }

/* ===== الأقسام ===== */
section { padding: 50px 0; }
.section-title { font-size: 1.9rem; margin-bottom: 26px; }
.section-title::after {
  content: ""; display: block; width: 60px; height: 4px;
  background: var(--main); border-radius: 4px; margin-top: 6px;
}

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}

/* ===== بطاقات الأعمال ===== */
.works { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.work { overflow: hidden; transition: transform .25s, box-shadow .25s; }
.work:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(156, 114, 96, 0.18); }
.work img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-bottom: 1px solid var(--line); }
.work-body { padding: 20px 22px 24px; }
.chip {
  display: inline-block; background: var(--soft); color: var(--main-dark);
  font-size: .8rem; font-weight: 700; padding: 2px 12px; border-radius: 999px;
}
.work h3 { font-size: 1.2rem; margin: 8px 0 6px; }
.result { color: var(--muted); font-size: .97rem; }

/* ===== التواصل ===== */
.contact { text-align: center; padding: 34px 24px; background: linear-gradient(135deg, var(--soft), #fff); }
.contact h2 { font-size: 1.8rem; margin-bottom: 6px; }
.contact p { color: var(--muted); margin-bottom: 22px; }

footer { text-align: center; padding: 26px 0; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); margin-top: 20px; }

/* ===== الجوال ===== */
@media (max-width: 720px) {
  .hero { padding-top: 50px; }
  .nav-links { gap: 14px; }
}
