/* Joy Club — نظام التصميم
   الألوان مأخوذة من ملف اللوجو نفسه، مش تقدير بالعين. */

:root {
  /* العلامة */
  --navy:        #23223A;
  --navy-soft:   #2E2C4A;
  --navy-line:   #3A3759;
  --yellow:      #FFC53D;
  --yellow-dark: #E8A91F;   /* للنص الأصفر على خلفية فاتحة */
  --teal:        #1FB8A6;
  --teal-dark:   #16897B;

  /* الأسطح الفاتحة */
  --cream:       #FBF8F2;
  --white:       #FFFFFF;
  --ink:         #1E1D31;
  --ink-soft:    #56536F;
  --line:        #E6E1D6;

  --radius:      18px;
  --radius-lg:   28px;
  --shadow:      0 2px 4px rgba(35,34,58,.04), 0 12px 32px rgba(35,34,58,.08);
  --shadow-lg:   0 4px 8px rgba(35,34,58,.06), 0 24px 60px rgba(35,34,58,.14);

  --gutter:      16px;
  --maxw:        1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Cairo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .display {
  font-family: "Baloo Bhaijaan 2", "Cairo", system-ui, sans-serif;
  line-height: 1.25;
  margin: 0 0 .5em;
  font-weight: 800;
  letter-spacing: 0;
}
h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4.4vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2.6vw, 1.45rem); }
p  { margin: 0 0 1em; }
a  { color: inherit; }

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ─────────── الهيدر ─────────── */

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(35,34,58,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--navy-line);
}
.site-head .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
  font-family: "Baloo Bhaijaan 2", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  margin-inline-end: auto;
}
.brand img { width: 38px; height: 38px; border-radius: 10px; display: block; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: #D9D6EA;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: .95rem;
  font-weight: 600;
  white-space: nowrap;
}
.nav a:hover { background: var(--navy-soft); color: var(--white); }
.nav a[aria-current="page"] { color: var(--yellow); }

/* القائمة تختفي على الموبايل — الأزرار الأساسية في الصفحة نفسها */
@media (max-width: 760px) {
  .nav a.hide-sm { display: none; }
}

/* ─────────── الأزرار ─────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  min-height: 48px;          /* مساحة لمس مريحة */
  white-space: nowrap;       /* "احجز على واتساب" كان بيتلف ٣ سطور جوه الكبسولة */
}
.btn svg { flex: none; width: 22px; height: 22px; }
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

.btn-primary { background: var(--yellow); color: var(--navy); box-shadow: 0 8px 20px rgba(255,197,61,.35); }
.btn-primary:hover { background: #FFD068; }

.btn-wa { background: #25D366; color: #06331A; box-shadow: 0 8px 20px rgba(37,211,102,.32); }
.btn-wa:hover { background: #3BE07A; }

.btn-ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: var(--white); }

.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* ─────────── الهيرو ─────────── */

.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  padding: clamp(48px, 9vw, 96px) 0 clamp(56px, 10vw, 110px);
  text-align: center;
}
/* حرف J ضخم باهت في الخلفية — نفس عنصر البانر */
.hero::after {
  content: "";
  position: absolute;
  inset-inline-end: -8%;
  top: -10%;
  width: min(520px, 62vw);
  aspect-ratio: 1;
  background: url("../img/logo-mark.webp") center/contain no-repeat;
  opacity: .07;
  pointer-events: none;
}
.hero > .wrap { position: relative; z-index: 1; }
.hero h1 { color: var(--white); }
.hero h1 .accent { color: var(--yellow); }
.hero .lede {
  font-size: clamp(1.05rem, 2.6vw, 1.3rem);
  color: #CFCBE4;
  max-width: 44ch;
  margin-inline: auto;
}
.hero-logo {
  width: clamp(92px, 18vw, 132px);
  height: auto;
  border-radius: 24px;
  margin-bottom: 22px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}

/* شريط النجوم الصغيرة */
.sparkle { color: var(--yellow); }
.sparkle.teal { color: var(--teal); }

/* ─────────── الأقسام ─────────── */

section { padding: clamp(48px, 8vw, 88px) 0; }
section.on-navy { background: var(--navy); color: var(--white); }
section.on-navy h2 { color: var(--white); }
section.on-navy p  { color: #CFCBE4; }

.sec-head { text-align: center; max-width: 60ch; margin: 0 auto clamp(28px, 5vw, 48px); }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: rgba(31,184,166,.12);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.on-navy .eyebrow { color: var(--teal); background: rgba(31,184,166,.16); }
.sec-head p { color: var(--ink-soft); margin: 0; }

/* ─────────── الشبكات والكروت ─────────── */

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}
.on-navy .card {
  background: var(--navy-soft);
  border-color: var(--navy-line);
  box-shadow: none;
}
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }

.card-icon {
  width: 52px; height: 52px;
  border-radius: 15px;
  display: grid; place-items: center;
  margin-bottom: 16px;
  background: rgba(255,197,61,.18);
  color: var(--yellow-dark);
}
.card-icon.teal { background: rgba(31,184,166,.14); color: var(--teal-dark); }
.on-navy .card-icon { background: rgba(255,197,61,.16); color: var(--yellow); }
.on-navy .card-icon.teal { background: rgba(31,184,166,.18); color: var(--teal); }
.card-icon svg { width: 26px; height: 26px; }

/* ─────────── المعرض ─────────── */

.gallery { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.shot {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
  border: 1px solid var(--navy-line);
}
.shot svg { width: 64px; height: 64px; opacity: .9; }
.shot .label {
  margin-top: 10px;
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
}
.shot .note {
  font-size: .78rem;
  color: #9D99BD;
  margin-top: 2px;
}
.shot.a { background: linear-gradient(145deg, #2A2845, #23223A); }
.shot.b { background: linear-gradient(145deg, #2E2A4C, #241F3D); }
.shot.c { background: linear-gradient(145deg, #262C47, #20243A); }

/* ─────────── قائمة مميزات ─────────── */

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks svg { flex: none; width: 21px; height: 21px; margin-top: 5px; color: var(--teal-dark); }
.on-navy .ticks svg { color: var(--teal); }

/* ─────────── صندوق الحجز ─────────── */

.booking-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 36px);
  box-shadow: var(--shadow-lg);
  max-width: 640px;
  margin-inline: auto;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: 7px;
}
.field .hint { font-weight: 400; color: var(--ink-soft); font-size: .85rem; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--cream);
  border: 2px solid var(--line);
  border-radius: 13px;
  min-height: 48px;
}
.field textarea { min-height: 104px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--white);
}
.row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  position: relative;
  display: inline-flex;
}
.chip input {
  position: absolute;
  opacity: 0;
  width: 100%; height: 100%;
  margin: 0; cursor: pointer;
}
.chip span {
  padding: 9px 17px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: var(--cream);
  font-weight: 600;
  font-size: .93rem;
  transition: background .12s, border-color .12s, color .12s;
}
.chip input:checked + span {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.chip input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }

/* ─────────── معلومات التواصل ─────────── */

.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-ico {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: rgba(255,197,61,.16);
  color: var(--yellow);
}
.info-ico svg { width: 21px; height: 21px; }
.info-list .k { font-weight: 700; display: block; }
.info-list .v { color: #CFCBE4; }
.info-list a { color: var(--yellow); text-decoration: none; }
.info-list a:hover { text-decoration: underline; }

/* ─────────── الفوتر ─────────── */

.site-foot {
  background: #1C1B2E;
  color: #A7A3C4;
  padding: 44px 0 32px;
  border-top: 1px solid var(--navy-line);
  text-align: center;
}
.site-foot img { width: 52px; height: 52px; border-radius: 14px; margin-bottom: 14px; }
.site-foot a { color: #CFCBE4; text-decoration: none; }
.site-foot a:hover { color: var(--yellow); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; margin: 16px 0 18px; }
.site-foot .fine { font-size: .83rem; color: #78749A; margin: 0; }

/* ─────────── زرار واتساب العائم ─────────── */

.wa-float {
  position: fixed;
  inset-inline-end: 16px;
  inset-block-end: 16px;
  z-index: 60;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #06331A;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
  text-decoration: none;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }

/* شاشة القراءة فقط */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  inset-inline-start: 50%;
  transform: translate(-50%, -120%);
  background: var(--yellow);
  color: var(--navy);
  padding: 10px 18px;
  border-radius: 0 0 12px 12px;
  font-weight: 700;
  text-decoration: none;
  z-index: 100;
  transition: transform .15s;
}
.skip-link:focus { transform: translate(-50%, 0); }
