/* ===========================================
   ABOU HAMZE RESTAURANT (منيو)
   Palette sampled from the restaurant's own menu artwork
=========================================== */
:root {
  --maroon:       #520205;
  --maroon-dark:  #350103;
  --maroon-alt:   #440204;
  --maroon-line:  rgba(230, 187, 31, .16);
  --gold:         #e6bb1f;
  --gold-light:   #f3d766;
  --green:        #0f6936;
  --cream:        #fdf6ec;
  --whatsapp:     #25d366;
  --whatsapp-dk:  #1ea952;

  --font: 'Cairo', 'Tajawal', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--maroon);
  color: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* repeating arabesque pattern, sampled from the real menu artwork */
.hero__pattern,
.menu-section__pattern,
.footer__pattern {
  position: absolute;
  inset: 0;
  background: url('assets/pattern-maroon.jpg');
  background-size: 300px 300px;
  opacity: .6;
  pointer-events: none;
  z-index: 0;
}

/* ===========================================
   TOPBAR
=========================================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(53, 1, 3, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--maroon-line);
}
.topbar__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar__brand img { height: 46px; width: auto; }
.topbar__nav {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scrollbar-width: none;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.topbar__nav::-webkit-scrollbar { display: none; }
.topbar__nav a {
  color: rgba(255, 255, 255, .82);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .25s, border-color .25s;
}
.topbar__nav a:hover { color: var(--gold); border-color: var(--gold); }

/* ===========================================
   HERO
=========================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 20px 40px;
  text-align: center;
  isolation: isolate;
}
.hero__inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.hero__logo { width: 150px; margin: 0 auto 6px; }
.hero__title {
  font-weight: 900;
  font-size: clamp(30px, 6vw, 44px);
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -.01em;
}
.hero__subtitle {
  font-size: 15.5px;
  color: rgba(255, 255, 255, .82);
  max-width: 480px;
  margin: 0 auto 22px;
  line-height: 1.8;
}
.hero__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  font-size: 13.5px;
  color: var(--gold-light);
  margin-bottom: 26px;
}
.hero__meta i { margin-inline-end: 6px; color: var(--gold); }
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--whatsapp);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  padding: 14px 30px;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .35);
  transition: transform .3s, background .3s;
}
.hero__cta:hover { background: var(--whatsapp-dk); transform: translateY(-2px); }
.hero__cta i { font-size: 19px; }

.hero__gallery {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}
.hero__gallery img {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .35);
}
@media (max-width: 480px) {
  .hero__gallery img { width: 76px; height: 76px; }
}

/* ===========================================
   MENU SECTIONS
=========================================== */
.menu-section {
  position: relative;
  overflow: hidden;
  padding: 54px 20px;
  border-top: 1px solid var(--maroon-line);
  isolation: isolate;
}
.menu-section--alt { background: var(--maroon-alt); }

.menu-section__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

/* three circular photos side by side, above each section */
.menu-photo-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
}
.menu-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
  width: 104px;
  flex: 0 0 auto;
}
.menu-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 480px) {
  .menu-photo-row { gap: 12px; }
  .menu-photo { width: 84px; }
}

.menu-block__title {
  font-weight: 900;
  font-size: clamp(24px, 4vw, 32px);
  color: var(--gold);
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--maroon-line);
  text-align: center;
}
.menu-block__title span { color: #fff; font-weight: 700; }

.menu-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 9px 0;
  font-size: 15.5px;
}
.item-name {
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}
.item-dots {
  flex: 1;
  border-bottom: 2px dotted rgba(255, 255, 255, .35);
  margin-bottom: 5px;
  min-width: 20px;
}
.item-price {
  font-weight: 800;
  color: var(--gold-light);
  white-space: nowrap;
  direction: ltr;
  unicode-bidi: embed;
}

/* ===========================================
   FOOTER
=========================================== */
.footer {
  position: relative;
  overflow: hidden;
  padding: 50px 20px 30px;
  text-align: center;
  background: var(--maroon-dark);
  isolation: isolate;
}
.footer__inner { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; }
.footer__logo { width: 84px; margin: 0 auto 18px; }
.footer__address,
.footer__phone {
  font-size: 14px;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 8px;
}
.footer__address i, .footer__phone i { color: var(--gold); margin-inline-end: 6px; }

.footer__social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 20px 0 22px;
}
.footer__social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 16px;
  transition: background .3s, color .3s, transform .3s;
}
.footer__social a:hover { background: var(--gold); color: var(--maroon-dark); transform: translateY(-3px); }

.footer__copy {
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--maroon-line);
}
.footer__credits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, .55);
  direction: ltr;
}
.footer__credit { display: inline-flex; align-items: baseline; gap: 5px; }
.footer__credit-label { font-style: italic; }
.footer__credit a {
  color: rgba(255, 255, 255, .85);
  font-weight: 700;
  border-bottom: 1px solid transparent;
  transition: color .25s, border-color .25s;
}
.footer__credit a:hover { color: var(--gold); border-color: var(--gold); }
.footer__sep { color: rgba(255, 255, 255, .3); }

/* ===========================================
   FLOATING WHATSAPP BUTTON
=========================================== */
.fab-whatsapp {
  position: fixed;
  bottom: 22px;
  left: 22px;
  z-index: 200;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 27px;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .5);
  animation: fabPulse 2.4s ease-in-out infinite;
  transition: transform .3s, background .3s;
}
.fab-whatsapp:hover { background: var(--whatsapp-dk); transform: scale(1.08); animation: none; }
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(37, 211, 102, .5), 0 0 0 0 rgba(37, 211, 102, .5); }
  50%      { box-shadow: 0 10px 30px rgba(37, 211, 102, .5), 0 0 0 14px rgba(37, 211, 102, 0); }
}
@media (max-width: 480px) {
  .fab-whatsapp { width: 52px; height: 52px; font-size: 24px; bottom: 16px; left: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
