/* ضاني – styles (structure follows teba.restaurant: landing + /social-media, AR/EN switch)
   Brand: olive #3C4029, gold #B18852, brown #5A4A3B, cream #F7EDE3, sand #D9C4A8
   Text on cream = olive/brown; gold only for large text and decoration. No red/bright colours. */

:root {
  --olive: #3C4029;
  --olive-2: #4a4f33;
  --gold: #B18852;
  --brown: #5A4A3B;
  --cream: #F7EDE3;
  --sand: #D9C4A8;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Tajawal', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--olive);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* ---------- language switch: show only the active language ---------- */
html[lang="ar"] [data-l="en"],
html[lang="en"] [data-l="ar"] { display: none !important; }

.top { display: flex; justify-content: center; padding: 18px 16px 0; }
.lang {
  display: inline-flex; gap: 2px; padding: 3px;
  border: 1.5px solid var(--sand); border-radius: 999px;
  background: rgba(255, 255, 255, .35);
  direction: ltr;               /* English always left, عربي always right */
}
.lang button {
  font: inherit; font-size: 14px; font-weight: 700; line-height: 1;
  color: var(--brown); background: transparent; border: 0; cursor: pointer;
  padding: 8px 16px; border-radius: 999px;
}
.lang button[aria-pressed="true"] { background: var(--olive); color: var(--cream); }
.lang button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- shared pieces ---------- */
.page { width: 100%; max-width: 480px; margin: 0 auto; padding: 18px 22px 28px; text-align: center; flex: 1; }
.logo { width: 250px; margin: 6px auto 0; }
.logo-sm { width: 190px; }
.divider { width: 210px; margin: 6px auto 0; }

.h { color: var(--olive); line-height: 1.3; }
html[lang="ar"] .h { font-family: 'Lalezar', 'Tajawal', sans-serif; font-weight: 400; }
html[lang="en"] .h { font-family: 'Tajawal', sans-serif; font-weight: 800; letter-spacing: -.01em; }

.lockup { margin-top: 14px; }
.lockup .ar { display: block; font-family: 'Lalezar', 'Tajawal', sans-serif; font-size: 30px; line-height: 1.2; color: var(--olive); }
.lockup .en { display: block; font-weight: 700; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--brown); margin-top: 2px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 12px 26px; border-radius: var(--radius);
  font-family: inherit; font-weight: 700; font-size: 17px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:active { transform: scale(.98); }
.btn:focus-visible, .link:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-olive { background: var(--olive); color: var(--cream); }
.btn-olive:hover { background: var(--olive-2); }
.btn-outline { border-color: var(--olive); color: var(--olive); background: transparent; }
.btn-outline:hover { background: rgba(60, 64, 41, .07); }

.loc { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--brown); font-size: 16px; }
.loc svg { width: 18px; height: 18px; color: var(--gold); flex: none; }

.footer { text-align: center; color: var(--brown); font-size: 14px; padding: 16px 16px 22px; }

/* ---------- home (landing) ---------- */
.landing { display: flex; flex-direction: column; justify-content: center; }
.landing .h { font-size: 30px; margin-top: 18px; }
html[lang="en"] .landing .h { font-size: 27px; }
.landing .sub { color: var(--brown); font-size: 17px; margin-top: 8px; }
.landing .btn { margin: 24px auto 0; min-width: 260px; }
.landing .loc { margin-top: 18px; }

/* ---------- /social-media ---------- */
.social .h { font-size: 34px; margin-top: 14px; }
html[lang="en"] .social .h { font-size: 30px; }
.social .intro { color: var(--brown); font-size: 16.5px; margin: 6px auto 0; max-width: 380px; }

.section-title {
  display: flex; align-items: center; gap: 12px;
  margin: 26px 0 12px; font-size: 21px; color: var(--olive);
}
.section-title::before, .section-title::after { content: ""; flex: 1; height: 1.5px; background: var(--sand); }

.links { list-style: none; display: grid; gap: 12px; margin-top: 22px; }
.link {
  display: flex; align-items: center; gap: 12px;
  min-height: 64px; padding: 12px 18px;
  background: var(--olive); color: var(--cream);
  border-radius: var(--radius); text-decoration: none; text-align: start;
  transition: transform .15s ease, background-color .15s ease;
}
.link:hover { background: var(--olive-2); }
.link:active { transform: scale(.985); }
.link .name { font-weight: 700; font-size: 19px; }
.link .handle { color: var(--sand); font-size: 15px; margin-inline-start: auto; }
.link .chev { width: 18px; height: 18px; color: var(--gold); flex: none; }
html[lang="en"] .link .chev { transform: scaleX(-1); }

.contacts { display: grid; gap: 12px; text-align: start; }
.contact { border: 1.5px solid var(--sand); border-radius: var(--radius); padding: 16px 18px 14px; background: rgba(255, 255, 255, .35); }
.contact-name { font-weight: 700; font-size: 19px; color: var(--olive); }
.contact-number { font-size: 18px; color: var(--brown); font-weight: 500; letter-spacing: .5px; }
.contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.contact-actions .btn { width: 100%; min-height: 46px; padding-inline: 10px; font-size: 16px; }

.tags { color: var(--brown); font-size: 14.5px; margin-top: 24px; word-spacing: 4px; }
.site { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--olive); text-decoration: none; border-bottom: 1.5px solid var(--gold); }
.social .loc { margin-top: 12px; flex-wrap: wrap; }

/* ---------- 404 ---------- */
.notfound .h { font-size: 30px; margin-top: 16px; }
.notfound p { color: var(--brown); margin: 6px 0 22px; }
.notfound .actions { display: grid; gap: 12px; }

@media (min-width: 700px) {
  .page { padding-top: 26px; }
  .logo { width: 280px; }
  .logo-sm { width: 210px; }
}
