/* ===== الألوان والخط ===== */
@font-face {
  font-family: "Raqami";
  src: local("Raqami"), url("fonts/Raqami.woff2") format("woff2"), url("fonts/Raqami.ttf") format("truetype");
  font-display: swap;
}

:root {
  --blush: #F6DFE0;
  --wine: #7A2E3A;
  --wine-dark: #5a1f29;
  --blush-soft: #fbf0f0;
  --ink: #3a1820;
  --radius: 22px;
  --shadow: 0 14px 40px rgba(122, 46, 58, .18);
  --font: "Raqami", "Cairo", "Tajawal", "Segoe UI", Tahoma, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--blush);
  color: var(--ink);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(1120px, 92%); margin-inline: auto; }

/* ===== الترويسة ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 223, 224, .92);
  backdrop-filter: blur(10px);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(122, 46, 58, .15); }

.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 16px;
}
.brand { font-size: 1.35rem; font-weight: 800; color: var(--wine); }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  padding: 8px 16px; border-radius: 999px; font-weight: 600;
  transition: background .25s, color .25s;
}
.nav-links a:hover, .nav-links a.active { background: var(--wine); color: var(--blush); }

.nav-toggle {
  display: none; background: var(--wine); color: var(--blush);
  border: 0; width: 44px; height: 44px; border-radius: 12px;
  font-size: 1.4rem; cursor: pointer; font-family: inherit;
}

/* ===== الأزرار ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px; border-radius: 999px; border: 2px solid var(--wine);
  font-family: inherit; font-size: 1.05rem; font-weight: 700; cursor: pointer;
  transition: transform .25s, background .25s, color .25s, box-shadow .25s;
}
.btn-primary { background: var(--wine); color: var(--blush); }
.btn-primary:hover { background: var(--wine-dark); transform: translateY(-3px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--wine); }
.btn-outline:hover { background: var(--wine); color: var(--blush); transform: translateY(-3px); }
.btn-light { background: var(--blush); color: var(--wine); border-color: var(--blush); }
.btn-light:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,.25); }
/* زر أوتلاين داخل الغلاف */
.hero .btn-outline { color: var(--blush); border-color: var(--blush); }
.hero .btn-outline:hover { background: var(--blush); color: var(--wine); }
/* ===== الغلاف ===== */
.hero {
  position: relative; min-height: 78vh; display: grid; place-items: center;
  text-align: center; color: var(--blush); overflow: hidden;
  background-color: var(--wine);
  background-image:
    linear-gradient(180deg, rgba(90, 31, 41, .45), rgba(90, 31, 41, .75)),
    url("assets/images/cover.webp"),
    linear-gradient(135deg, var(--wine), var(--wine-dark));
  background-size: cover; background-position: center;
}
.hero-inner { padding: 70px 0; max-width: 780px; }
.hero small {
  display: inline-block; padding: 6px 18px; border: 1px solid rgba(246,223,224,.6);
  border-radius: 999px; margin-bottom: 18px; letter-spacing: .5px;
}
.hero h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); line-height: 1.4; margin-bottom: 14px; }
.hero p { font-size: clamp(1.05rem, 2.4vw, 1.3rem); margin-bottom: 30px; opacity: .95; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ===== الأقسام ===== */
section { padding: 78px 0; }
.section-title { text-align: center; margin-bottom: 44px; }
.section-title h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); color: var(--wine); }
.section-title p { opacity: .85; }
.section-title::after {
  content: ""; display: block; width: 70px; height: 5px; border-radius: 9px;
  background: var(--wine); margin: 14px auto 0;
}

/* ===== شبكة الأعمال ===== */
.grid {
  display: grid; gap: 28px;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
}
.card {
  background: var(--blush-soft); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .35s, box-shadow .35s;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 22px 50px rgba(122, 46, 58, .28); }
.card .thumb { overflow: hidden; background: var(--blush); }
.card .thumb img { width: 100%; transition: transform .6s; }
.card:hover .thumb img { transform: scale(1.06); }
.card-body { padding: 20px 22px 26px; }
.card-body h3 { color: var(--wine); font-size: 1.2rem; margin-bottom: 4px; }
.card-body p { font-size: .98rem; opacity: .9; }

/* ===== شريط الدعوة ===== */
.cta {
  background: var(--wine); color: var(--blush); text-align: center;
  border-radius: 32px; padding: 54px 24px;
}
.cta h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); margin-bottom: 8px; }
.cta p { margin-bottom: 26px; opacity: .92; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta .btn-outline { color: var(--blush); border-color: var(--blush); }
.cta .btn-outline:hover { background: var(--blush); color: var(--wine); }

/* ===== صفحات المنيو ===== */
.page-head { padding: 64px 0 10px; text-align: center; }
.page-head h1 { font-size: clamp(1.9rem, 5vw, 3rem); color: var(--wine); }
.page-head p { max-width: 640px; margin: 8px auto 0; opacity: .9; }

.media-frame {
  background: var(--wine); padding: 14px; border-radius: 30px;
  box-shadow: var(--shadow); max-width: 440px; margin-inline: auto;
}
.media-frame.wide { max-width: 860px; }
.media-frame video, .media-frame img { width: 100%; border-radius: 20px; background: #000; }
.media-frame video { aspect-ratio: 9 / 16; object-fit: cover; }
.media-frame.wide video { aspect-ratio: 16 / 9; }

.missing-note {
  display: none; margin-top: 18px; text-align: center; padding: 16px 20px;
  background: var(--blush-soft); border: 2px dashed var(--wine); border-radius: 16px;
}

.page-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 36px; }

/* ===== التذييل ===== */
.site-footer { background: var(--wine-dark); color: var(--blush); text-align: center; padding: 26px 0; font-size: .95rem; }

/* ===== الحركة ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===== الجوال ===== */
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    position: absolute; inset-inline: 4%; top: 68px; flex-direction: column;
    background: var(--blush-soft); border-radius: 20px; padding: 12px;
    box-shadow: var(--shadow); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; text-align: center; width: 100%; }
  section { padding: 56px 0; }
}