/* ===========================================
   ABOU HAMZE RESTAURANT | مطعم أبو حمزة — Links
   links.colartdigitalmarketingagency.com/abouhamzerestaurant/
   Maroon, calligraphy green and gold
=========================================== */

:root {
  --maroon:     #61131a;
  --maroon-dk:  #470d13;
  --maroon-lt:  #7a1e26;
  --green:      #1f6631;
  --green-lt:   #2f8a46;
  --gold:       #e2b810;
  --gold-soft:  #f0d469;
  --cream:      #f7efdf;
  --cream-2:    #efe3c8;
  --ink:        #2a1416;
  --muted:      #7a5e57;
  --line:       rgba(42, 20, 22, .12);
  --whatsapp:   #25d366;

  --font-ar:      'Amiri', 'Noto Naskh Arabic', serif;
  --font-display: 'Marcellus', Georgia, serif;
  --font-body:    'Tajawal', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--maroon);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
/* geometric star pattern in faint gold */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .09;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'><g fill='none' stroke='%23e2b810' stroke-width='1.2'><path d='M40 8 L49 31 L72 40 L49 49 L40 72 L31 49 L8 40 L31 31 Z'/><path d='M17 17 L40 26 L63 17 L54 40 L63 63 L40 54 L17 63 L26 40 Z'/><circle cx='40' cy='40' r='6'/></g></svg>");
  background-size: 80px 80px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.4) 45%, transparent 75%);
          mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.4) 45%, transparent 75%);
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

/* ============ TOP BAR ============ */
.topbar {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 16px 20px 0;
  display: flex;
  justify-content: flex-end;
}
.share {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(226, 184, 16, .35);
  color: var(--gold);
  transition: background .3s, color .3s;
}
.share:hover { background: var(--gold); color: var(--maroon); }
.share svg { width: 17px; height: 17px; }

/* ============ PAGE ============ */
.page {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 0 20px 56px;
}

/* ============ HERO ============ */
.hero { text-align: center; }
.mark {
  width: clamp(130px, 38vw, 165px);
  margin: 0 auto;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35));
}
.mark svg { width: 100%; height: auto; overflow: visible; }
.mark .crown, .mark .script { transform-box: fill-box; }
.name-en {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.name-en::before, .name-en::after { content: '·'; margin: 0 .6em; color: var(--gold); }

/* ============ MENUS ============ */
.menus {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}
.menu {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 20px 12px 18px;
  border-radius: 20px;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.menu:hover { transform: translateY(-3px); }
.menu--dine {
  background: linear-gradient(160deg, var(--gold-soft), var(--gold) 60%, #c79d0b);
  color: var(--maroon-dk);
  box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .55);
}
.menu--delivery {
  background: linear-gradient(160deg, var(--green-lt), var(--green));
  color: #fff;
  box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .55);
}
.menu__icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .25);
  margin-bottom: 4px;
}
.menu__icon svg { width: 26px; height: 26px; }
.menu__ar { font-family: var(--font-ar); font-weight: 700; font-size: 20px; line-height: 1.2; }
.menu__en { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
/* soft sheen once */
.menu::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: -70%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
}

/* ============ SECTIONS ============ */
.label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 34px 0 14px;
  color: var(--cream);
}
.label__en { font-family: var(--font-display); font-size: 17px; font-weight: 400; letter-spacing: .04em; }
.label__ar { font-family: var(--font-ar); font-size: 19px; font-weight: 700; color: var(--gold-soft); }
.label::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(226, 184, 16, .55), transparent); }

.links { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.link {
  --tone: var(--maroon);
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 70px;
  padding: 10px 16px 10px 10px;
  border-radius: 16px;
  background: var(--cream);
  border: 1px solid rgba(255, 255, 255, .5);
  transition: transform .35s var(--ease), box-shadow .35s, background .3s;
}
.link:hover { transform: translateY(-3px); background: #fff; box-shadow: 0 18px 32px -20px rgba(0, 0, 0, .6); }
.link__icon {
  flex: none;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--cream-2);
  color: var(--tone);
  transition: background .3s, color .3s;
}
.link__icon svg { width: 22px; height: 22px; }
.link:hover .link__icon { background: var(--tone); color: #fff; }
.link--wa  { --tone: #1ea952; }
.link--map { --tone: var(--green); }
.link--ig  { --tone: #c13584; }
.link--fb  { --tone: #0866ff; }
.link--tt  { --tone: #111; }
.link__text { flex: 1; min-width: 0; }
.link__title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.link__en { font-size: 16.5px; font-weight: 700; }
.link__ar { font-family: var(--font-ar); font-size: 17px; font-weight: 700; color: var(--maroon); }
.link__sub { display: block; font-size: 13.5px; color: var(--muted); direction: ltr; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link__go { flex: none; color: var(--muted); transition: color .3s, transform .35s var(--ease); }
.link__go svg { width: 18px; height: 18px; }
.link:hover .link__go { color: var(--maroon); transform: translateX(3px); }

/* ============ GET LISTED (Colart) ============ */
.listed {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 36px;
  padding: 16px 16px 16px 20px;
  border-radius: 16px;
  border: 1px dashed rgba(247, 239, 223, .35);
  color: var(--cream);
  transition: border-color .3s, background .3s;
}
.listed:hover { border-color: var(--whatsapp); background: rgba(255, 255, 255, .06); }
.listed__q { display: block; font-size: 14px; opacity: .7; }
.listed__a { display: block; font-size: 16px; font-weight: 700; line-height: 1.35; }
.listed__icon {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: grid;
  place-items: center;
  transition: transform .3s var(--ease);
}
.listed__icon svg { width: 22px; height: 22px; fill: currentColor; }
.listed:hover .listed__icon { transform: scale(1.08); }

/* ============ FOOTER ============ */
.footer {
  position: relative;
  z-index: 1;
  background: var(--maroon-dk);
  color: rgba(247, 239, 223, .6);
  padding: 26px 20px calc(26px + env(safe-area-inset-bottom, 0px));
}
.footer__credits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 12px;
  font-size: 13px;
  text-align: center;
}
.footer__credit { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 2px 6px; }
.footer__label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
.footer a { color: var(--gold-soft); font-weight: 700; border-bottom: 1px solid transparent; transition: border-color .3s; }
.footer a:hover { border-color: var(--gold-soft); }
.footer__sep { color: rgba(247, 239, 223, .25); }
@media (max-width: 440px) { .footer__sep { display: none; } .footer__credits { flex-direction: column; } }

/* Toast */
.toast {
  position: fixed;
  left: 50%; bottom: 24px;
  z-index: 10;
  transform: translate(-50%, 20px);
  opacity: 0;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--maroon-dk);
  font-size: 14px;
  font-weight: 700;
  pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============ ENTRANCE ============ */
@media (prefers-reduced-motion: no-preference) {
  /* the green calligraphy rises like ink, then the gold "مطعم" crown settles on top */
  .mark .script { animation: inkRise 1.4s .15s cubic-bezier(.65, 0, .35, 1) both; }
  .mark .crown  { transform-origin: center bottom; animation: crown 1s 1.25s cubic-bezier(.34, 1.45, .64, 1) both; }
  .name-en      { animation: fadeUp .9s 1.8s var(--ease) both; }
  .menu:nth-child(1) { animation: fadeUp .8s 1.6s var(--ease) both; }
  .menu:nth-child(2) { animation: fadeUp .8s 1.7s var(--ease) both; }
  .menu:nth-child(1)::after { animation: sheen 1.3s 2.5s ease both; }
  .menu:nth-child(2)::after { animation: sheen 1.3s 2.7s ease both; }
  .label, .links li, .listed { animation: fadeUp .8s var(--ease) both; }
  .label:nth-of-type(1) { animation-delay: 1.85s; }
  .links--contact li:nth-child(1) { animation-delay: 1.9s; }
  .links--contact li:nth-child(2) { animation-delay: 1.96s; }
  .label:nth-of-type(2) { animation-delay: 2.02s; }
  .links--follow li:nth-child(1) { animation-delay: 2.08s; }
  .links--follow li:nth-child(2) { animation-delay: 2.14s; }
  .links--follow li:nth-child(3) { animation-delay: 2.2s; }
  .listed { animation-delay: 2.3s; }
}
@keyframes inkRise {
  from { clip-path: inset(100% 0 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}
@keyframes crown {
  from { opacity: 0; transform: translateY(-60px) rotate(-8deg); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes sheen  { from { left: -70%; } to { left: 130%; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
