/* Hesham El-Sheikh: shared design system for the landing page and the menu */
:root {
  --cream: #fff4dc;
  --paper: #fffaf0;
  --sand: #f8e6c2;
  --wheat: #d9a343;
  --wheat-deep: #a9741a;
  --toast: #693b22;
  --brown: #3b2013;
  --ink: #2a170d;
  --soft: #6f5646;
  --herb: #557044;
  --sign: #1f3e8f;
  --line: #e8d4a8;
  --radius: 28px;
  --shadow: 0 24px 60px -28px rgba(59, 32, 19, .45);
  --shadow-sm: 0 10px 28px -16px rgba(59, 32, 19, .4);
  --font: "Cairo", "Segoe UI", Tahoma, sans-serif;
  --script: "Aref Ruqaa", "Cairo", serif;
  --size: 19px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 500 var(--size)/1.85 var(--font); text-rendering: optimizeLegibility; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .26 0 0 0 0 .13 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.25; font-weight: 800; color: var(--brown); text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--sign); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.script { font-family: var(--script); font-weight: 700; color: var(--wheat-deep); }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 8px 30px; border: 2px solid var(--brown); border-radius: 99px; background: var(--brown); color: var(--cream); font: 800 1.05rem var(--font); text-decoration: none; cursor: pointer; transition: transform .25s, box-shadow .25s, background .25s, color .25s; }
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }
.btn.gold { background: var(--wheat); border-color: var(--wheat); color: var(--brown); }
.btn.ghost { background: transparent; color: var(--brown); }
.btn.ghost:hover { background: var(--brown); color: var(--cream); }
.btn.light { background: var(--cream); border-color: var(--cream); color: var(--brown); }
.btn.line-light { background: transparent; border-color: #fff4dc66; color: var(--cream); }
.btn.line-light:hover { background: var(--cream); color: var(--brown); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn:disabled { opacity: .55; cursor: wait; transform: none; }

/* Reveal on scroll (kept visible without JS, and for people who ask for less motion) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; }
}

/* Star rating card (landing page and menu) */
.rate { display: grid; gap: 14px; padding: 24px; border-radius: var(--radius); background: var(--paper); color: var(--ink); box-shadow: var(--shadow); text-align: center; }
.rate h3 { font-size: 1.45rem; }
.rate .stars { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
.rate .star { width: min(54px, 14vw); height: min(54px, 14vw); flex: none; padding: 6px; border: 0; border-radius: 16px; background: none; cursor: pointer; transition: transform .2s; }
.rate .star svg { width: 100%; height: 100%; fill: transparent; stroke: var(--wheat); stroke-width: 1.7; stroke-linejoin: round; transition: fill .2s, stroke .2s, transform .2s; }
.rate .star:hover { transform: scale(1.12); }
.rate .star.on svg { fill: var(--wheat); stroke: var(--wheat-deep); }
.rate .star.pop svg { animation: pop .45s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes pop { 40% { transform: scale(1.35) rotate(-8deg); } }
.rate .word { flex-basis: 100%; min-height: 1.6em; font: 800 1.05rem var(--font); color: var(--wheat-deep); }
.rate textarea { width: 100%; padding: 14px 16px; border: 2px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink); font: 500 1.05rem var(--font); resize: vertical; }
.rate textarea:focus { outline: 0; border-color: var(--toast); box-shadow: 0 0 0 4px #d9a34344; }
.rate .msg { min-height: 1.6em; font-weight: 700; }
.rate .msg.ok { color: var(--herb); }
.rate .msg.bad { color: #b3382c; }
.rate .trap { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Section scaffolding */
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.kicker { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px; color: var(--wheat-deep); font: 800 1.05rem var(--font); letter-spacing: .02em; }
.kicker::before, .kicker::after { content: ""; width: 34px; height: 2px; background: currentColor; opacity: .6; border-radius: 2px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(34px, 6vw, 64px); }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
.section-head p { margin-top: 14px; color: var(--soft); font-size: 1.1rem; }
.sprout { display: block; width: 54px; height: 30px; margin: 16px auto 0; color: var(--wheat); }

/* Tiny maker credit */
.made { display: inline-flex; align-items: center; gap: 6px; direction: ltr; margin-top: 6px; font: 600 .72rem/1 var(--font); letter-spacing: .04em; color: inherit; opacity: .6; text-decoration: none; transition: opacity .2s; }
.made:hover { opacity: 1; }
.made img { width: 18px; height: 18px; border-radius: 5px; }
.made b { font-weight: 800; }
footer > .made { display: flex; justify-content: center; width: max-content; margin-inline: auto; padding-bottom: 14px; }
