/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Tokens ── */
:root {
  --white:   #ffffff;
  --off:     #fdfcf8;
  --ink:     #1e1b18;
  --mid:     #5a5650;
  --line:    #e5dfc8;
  --gold:    #F5B914;
  --gold-lt: #F5B914;
  --spice:   #FF0000;
  --f-heading: 'Montserrat Arabic ExtraBold', 'Montserrat Arabic', sans-serif;
  --f-sans:    'Montserrat Arabic Regular', 'Montserrat Arabic', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: #faf7f0;
  color: var(--ink);
  font-family: var(--f-sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Accessibility utilities ── */

/* Screen-reader only — visually hidden but announced by assistive tech (WCAG 1.3.1) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip navigation link — off-screen until focused (WCAG 2.4.1) */
.skip-link {
  position: absolute;
  top: -999px;
  left: 8px;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 6px 6px;
  z-index: 10000;
}
.skip-link:focus {
  top: 0;
}

/* Global focus indicator for keyboard navigation (WCAG 2.4.7) */
:focus-visible {
  outline: 3px solid var(--spice);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── Headings ── */
h1, h2, h3, h4, h5, h6,
.menu-eyebrow, .blk-head, .logo-rule {
  font-family: var(--f-heading);
  font-weight: 800;
}

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 32px 44px;
  background: var(--white);
}

/* Top banner — full-bleed, matches old logo-block behaviour */
.logo-block {
  width: calc(100% + 64px);
  margin-left: -32px;
  margin-right: -32px;
  display: block;
  margin-bottom: 0;
  animation: fadeUp .8s ease both;
}

.top-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Logo — centred beneath the banner. h1 tag inherits flex layout from this class. */
h1.logo-center,
.logo-center {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 48px 0 44px;
  animation: fadeUp .8s .1s ease both;
}

.logo-img {
  width: auto;
  height: 120px;
  display: block;
}

.logo-rule {
  display: none;
}

/* Carousel region wrapper — centres the carousel and its controls */
.carousel-region {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.carousel-shell {
  width: 100%;
  max-width: 1024px;
  overflow: hidden;
  margin: 0 auto;
  animation: fadeUp .8s .4s ease both;
}

.c-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Menu label */
.menu-eyebrow {
  font-size: 22px;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 24px;
  margin-top: 56px;
  animation: fadeUp .8s .3s ease both;
}

/* Track */
.c-track {
  display: flex;
  justify-content: flex-start;
  gap: 24px;
  padding: 8px 0 16px;
  transition: transform .5s cubic-bezier(.77,0,.175,1);
  will-change: transform;
  cursor: grab;
  user-select: none;
}
.c-track:active { cursor: grabbing; }

/* Card — 2 visible at a time across all breakpoints */
.c-card {
  flex: 0 0 calc((min(100vw, 1088px) - 64px - 24px) / 2);
  width: calc((min(100vw, 1088px) - 64px - 24px) / 2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform .25s ease;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(30,27,24,0.09);
  border-radius: 16px;
}
.c-card:hover { transform: translateY(-6px); }

.c-img {
  width: 100%;
  height: auto;
  aspect-ratio: 325 / 410;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--off);
  flex-shrink: 0;
}
.c-img img, .c-img svg { display: block; width: 100%; height: 100%; object-fit: cover; }

.c-name {
  font-family: var(--f-heading);
  font-size: clamp(11px, 2.5vw, 18px);
  font-weight: 900;
  color: var(--ink);
  text-align: center;
  line-height: 1.3;
  width: 100%;
  letter-spacing: 0.02em;
  padding: 10px 4px 10px;
}

.c-price {
  font-size: 1px;
  font-weight: 600;
  color: transparent;
  min-height: 16px;
  line-height: 1.4;
  margin-bottom: 0px;
}

/* Nav */
.carousel-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  animation: fadeUp .8s .5s ease both;
}

.nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--mid);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
  flex-shrink: 0;
}
.nav-btn:hover,
.carousel-nav .nav-btn:hover { border-color: var(--spice); color: var(--spice); background: #ffe8c5; }

.nav-dots { display: flex; gap: 7px; align-items: center; }

/* Product carousel dots — visual dot via ::after, 24×24 hit area (WCAG 2.5.8) */
.ndot {
  position: relative;
  width: 24px;
  height: 24px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ndot::after {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line);
  transition: all .3s ease;
}
.ndot.on::after {
  background: var(--spice);
  width: 20px;
  border-radius: 3px;
}

/* ══════════════════════════════
   SECTION DIVIDER
══════════════════════════════ */
.section-divider {
  width: 100%;
  height: 8px;
  display: block;
  background: linear-gradient(to right, var(--gold) 50%, var(--gold-lt) 50%);
}

/* ══════════════════════════════
   SECTION 2 — INFO
══════════════════════════════ */
.info-section { background: var(--gold-lt); }

.info-inner {
  display: grid;
  grid-template-columns: 60% 40%;
  min-height: 500px;
  max-width: 1024px;;
  margin: 0 auto;
}

/* Map col */
.map-col {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  background: var(--line);
  border-right: 1px solid var(--line);
}

.map-col iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  filter: saturate(0.65) contrast(0.9);
}

.addr-pill {
  position: absolute;
  bottom: 28px;
  left: 28px;
  background: var(--white);
  border-radius: 6px;
  padding: 14px 18px;
  z-index: 3;
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
}

.addr-pill-name {
  font-family: var(--f-serif);
  font-size: 15px;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 5px;
}

.addr-pill-street {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.5;
}

/* Detail col */
.detail-col {
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  gap: 44px;
  background: var(--gold-lt);
}

/* Section sub-headings (h3 in HTML, styled as labels) */
.blk-head {
  font-size: clamp(16px, 2vw, 18px);
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.blk-head::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(0,0,0,0.18);
}

/* Hours */
.hours-single {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.hours-days {
  font-size: clamp(18px, 2.2vw, 20px);
  font-family: var(--f-serif);
  color: var(--ink);
}

.hours-sep {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(0,0,0,0.4);
  flex-shrink: 0;
  align-self: center;
}

.hours-time {
  font-size: clamp(18px, 2.2vw, 20px);
  font-family: var(--f-serif);
  color: var(--ink);
}

/* Contact */
.contact-stack { display: flex; flex-direction: column; gap: 14px; }

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 400;
  transition: opacity .2s;
  overflow-wrap: break-word;
  word-break: break-all;
  min-width: 0;
}
.contact-link:hover { opacity: .65; }
.contact-link svg { flex-shrink: 0; }

/* Social */
.social-row { display: flex; gap: 12px; flex-wrap: wrap; }

.soc-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  text-decoration: none;
  background: transparent;
  transition: all .2s ease;
}
.soc-btn:hover { background: rgba(255,255,255,0.55); border-color: var(--ink); }
.soc-btn svg { width: 15px; height: 15px; fill: currentColor; }

/* Footer */
.footer-strip {
  background: var(--ink);
  border-top: 3px solid rgba(255,255,255,0.4);
  padding: 18px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
}
.footer-link {
  color: var(--gold);
  text-decoration: none;
}
.footer-link:hover { text-decoration: underline; }

/* Keyframes */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes expand {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 1; }
}

/* ══════════════════════════════
   BANNER CAROUSEL — Menu Viewer
══════════════════════════════ */
#bcarousel {
  margin-top: 96px;
}

.banner-carousel {
  width: 100%;
  max-width: 1024px;
  margin: 16px auto 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--off);
  animation: fadeUp .8s .15s ease both;
}

.b-track {
  display: flex;
  transition: transform .55s cubic-bezier(.77,0,.175,1);
  will-change: transform;
  align-items: flex-start;
}

.b-slide {
  flex: 0 0 100%;
  width: 100%;
  line-height: 0;
}

.b-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  cursor: zoom-in;
}

/* Arrows */
.b-arrow {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(30,27,24,0.26);
  background: var(--white);
  color: var(--mid);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
}
.b-arrow:hover {
  background: #ffe8c5;
  border-color: var(--spice);
  color: var(--spice);
}

/* Pause/play button for banner carousel (WCAG 2.2.2) */
.b-pause {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(30,27,24,0.26);
  background: var(--white);
  color: var(--mid);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
}
.b-pause:hover {
  background: #ffe8c5;
  border-color: var(--spice);
  color: var(--spice);
}
.b-pause[aria-pressed="true"] {
  background: var(--spice);
  border-color: var(--spice);
  color: var(--white);
}

/* Nav row — arrows + dots below the carousel */
.b-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  padding-bottom: 8px;
  animation: fadeUp .8s .2s ease both;
}

.b-dots {
  display: flex;
  gap: 7px;
  align-items: center;
}

/* Banner carousel dots — visual dot via ::after, 24×24 hit area (WCAG 2.5.8) */
.b-dot {
  position: relative;
  width: 24px;
  height: 24px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.b-dot::after {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line);
  transition: all .3s ease;
}
.b-dot.on::after {
  background: var(--spice);
  width: 20px;
  border-radius: 3px;
}

/* Tablet portrait — 55/45 info grid to prevent email overflow */
@media (min-width: 760px) and (max-width: 1024px) {
  .top-banner-img { height: 64px; object-fit: cover; }
  .logo-img { height: 96px; }
  .info-inner { grid-template-columns: 55% 45%; }
  .detail-col { padding: 28px 28px; gap: 32px; }
  .blk-head { font-size: 14px; }
  .hours-days, .hours-time { font-size: clamp(15px, 1.8vw, 18px); }
}

/* Tablet — 2 cards */
@media (min-width: 760px) and (max-width: 1087px) {
  .c-card {
    flex: 0 0 calc((100vw - 88px) / 2);
    width: calc((100vw - 88px) / 2);
  }
}

/* Responsive */
@media (max-width: 760px) {
  .hero { padding: 0 20px 44px; }
  .logo-block { width: calc(100% + 40px); margin-left: -20px; margin-right: -20px; }
  .top-banner-img { height: 40px; object-fit: cover; }
  .logo-center { margin: 18px 0 24px; }
  h1.logo-center { margin: 18px 0 24px; }
  .logo-img { height: 64px; }
  .carousel-shell { max-width: 100%; }
  .c-card {
    flex: 0 0 calc((100vw - 64px) / 2);
    width: calc((100vw - 64px) / 2);
  }
  .info-inner { grid-template-columns: 1fr; }
  .section-divider { background: var(--gold); }
  .map-col { min-height: 280px; border-right: none; border-bottom: 3px solid rgba(255,255,255,0.45); }
  .detail-col { padding: 36px 24px; gap: 32px; }
  .footer-strip { padding: 14px 24px; flex-direction: column; gap: 6px; text-align: center; }
}

@media (max-width: 480px) {
  .b-arrow { display: none; }
  .addr-pill { left: 14px; bottom: 14px; }
  /* 2 cards in portrait: (vw − 40px padding − 24px gap) / 2 */
  .c-card {
    flex: 0 0 calc((100vw - 64px) / 2);
    width: calc((100vw - 64px) / 2);
  }
}

/* ── Banner lightbox (tap-to-zoom on mobile) ── */
.b-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.93);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.b-lightbox.open { display: flex; }
.b-lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  touch-action: pinch-zoom;
  pointer-events: none;
}
.b-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Pause icon visibility toggle ── */
.b-pause .icon-play { display: none; }
.b-pause[aria-pressed="true"] .icon-pause { display: none; }
.b-pause[aria-pressed="true"] .icon-play { display: block; }

/* ── Reduced motion: disable animations for users who prefer it (WCAG 2.3.3) ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .b-track, .c-track { transition: none !important; }
}
