@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@300;400;500;600;700&family=Cairo:wght@400;500;600;700&display=swap');

:root {
  --background: #000000;
  --foreground: #f5f5f0;
  --card: #050505;
  --background-accent: #1a1a1a;
  --accent: #b8860b;
  --primary-cta: #d4af37;
  --primary-cta-text: #000000;
  --secondary-cta: #1a1a1a;
  --secondary-cta-text: #f5f5f0;
  --radius: 1.5rem;
  --radius-xl: 0.75rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.16,.8,.3,1), transform .7s cubic-bezier(.16,.8,.3,1);
  will-change: opacity, transform;
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal-fade {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal-fade.in-view { opacity: 1; transform: none; }
.reveal-row {
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal-row.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-fade, .reveal-row { transition: none; opacity: 1; transform: none; }
}
.hero-bg { transition: transform .1s linear; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: 'Inter Tight', sans-serif;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5vw;
}

/* Header */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 1.25rem 5vw;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(245,245,240,0.08);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 1.1rem;
  flex-shrink: 0;
  white-space: nowrap;
}
.brand img { width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; }
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
.nav-links a { opacity: 0.85; transition: opacity .2s; }
.nav-links a:hover, .nav-links a.active { opacity: 1; color: var(--primary-cta); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.3);
  background: rgba(245,245,240,0.06);
  color: var(--primary-cta);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s;
}
.nav-toggle:hover { background: rgba(212,175,55,0.12); }
.nav-toggle svg { width: 19px; height: 19px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle.open .icon-menu { display: none; }
.nav-toggle.open .icon-close { display: block; }

@media (max-width: 780px) {
  .site-header { padding: 1rem 4vw; position: relative; }
  .nav-toggle { display: flex; order: 2; margin-left: auto; }
  .lang-switch { order: 3; }
  .site-header > .btn-primary { order: 4; flex-shrink: 0; padding: 0.65rem 1.1rem; font-size: 0.78rem; }

  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(4,4,4,0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(212,175,55,0.25);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    padding: 0 6vw;
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s cubic-bezier(.16,.8,.3,1);
  }
  .nav-links.open { max-height: 26rem; padding: 0.5rem 6vw 1.5rem; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 1rem 0.25rem;
    border-bottom: 1px solid rgba(245,245,240,0.08);
    font-size: 1.05rem;
    letter-spacing: 0.03em;
  }
  .nav-links li:last-child a { border-bottom: none; }
}

@media (max-width: 420px) {
  .site-header { gap: 0.4rem; }
  .brand span { display: none; }
  .brand img { width: 30px; height: 30px; }
  .nav-toggle { width: 38px; height: 38px; }
  .lang-btn { padding: 0.35rem 0.55rem; font-size: 0.68rem; }
  .site-header > .btn-primary { padding: 0.6rem 0.9rem; font-size: 0.72rem; }
}

.lang-switch {
  display: flex;
  background: rgba(245,245,240,0.06);
  border: 1px solid rgba(245,245,240,0.12);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.lang-btn {
  border: none;
  background: transparent;
  color: var(--foreground);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  opacity: 0.55;
  transition: all .2s;
}
.lang-btn:hover { opacity: 0.85; }
.lang-btn.active { background: var(--primary-cta); color: var(--primary-cta-text); opacity: 1; }
@media (max-width: 480px) {
  .lang-btn { padding: 0.35rem 0.5rem; font-size: 0.66rem; }
}

/* Arabic (RTL text, layout unchanged) */
html.lang-ar {
  font-family: 'Cairo', 'Inter Tight', sans-serif;
}
html.lang-ar p,
html.lang-ar h1,
html.lang-ar h2,
html.lang-ar h3,
html.lang-ar .lead,
html.lang-ar .menu-item-desc,
html.lang-ar .menu-note,
html.lang-ar .category-subtitle,
html.lang-ar .footer-bottom > span,
html.lang-ar .nav-links a {
  direction: rtl;
  text-align: right;
  font-family: 'Cairo', 'Inter Tight', sans-serif;
}
html.lang-ar .menu-item-name,
html.lang-ar .menu-subgroup-title,
html.lang-ar .category-title,
html.lang-ar h1 span,
html.lang-ar h2 span,
html.lang-ar h3 span {
  font-family: 'Cairo', 'Inter Tight', sans-serif;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s, opacity .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary-cta); color: var(--primary-cta-text); }
.btn-secondary { background: var(--secondary-cta); color: var(--secondary-cta-text); border-color: rgba(245,245,240,0.15); }

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 6rem 5vw 4rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0.25) 100%);
}
.hero-content { position: relative; max-width: 640px; }
.tag-pill {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(212,175,55,0.4);
  color: var(--primary-cta);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.4rem);
  font-weight: 600;
  margin: 0 0 1rem;
  line-height: 1.1;
}
.hero p {
  font-size: 1.05rem;
  opacity: 0.85;
  margin: 0 0 2rem;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-tags {
  position: relative;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}
.chip {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(245,245,240,0.15);
  font-size: 0.8rem;
  backdrop-filter: blur(6px);
}

/* Sections */
section { padding: 5.5rem 0; }
.eyebrow {
  color: var(--primary-cta);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 600; margin: 0 0 1rem; }
.lead { opacity: 0.8; max-width: 640px; line-height: 1.7; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }
.two-col img { border-radius: var(--radius); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (max-width: 800px) { .card-grid { grid-template-columns: 1fr; } }
.feature-card {
  background: var(--card);
  border: 1px solid rgba(245,245,240,0.08);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s cubic-bezier(.16,.8,.3,1), border-color .35s;
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(212,175,55,0.35); }
.feature-card img { transition: transform .5s; }
.feature-card:hover img { transform: scale(1.06); }
.feature-card img { height: 220px; width: 100%; object-fit: cover; }
.feature-card .fc-body { padding: 1.25rem 1.4rem; }
.feature-card h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.feature-card p { margin: 0; opacity: 0.7; font-size: 0.9rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-grid a { border-radius: var(--radius-xl); overflow: hidden; display: block; }
.gallery-grid img { height: 260px; width: 100%; object-fit: cover; transition: transform .3s; }
.gallery-grid a:hover img { transform: scale(1.05); }

/* Moments marquee (Home page) */
.marquee-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: max-content;
  animation: marquee-scroll 48s linear infinite;
}
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
.marquee-track img {
  height: 280px;
  width: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-xl);
  flex-shrink: 0;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 780px) {
  .marquee-track img { height: 200px; }
}
@media (max-width: 480px) {
  .marquee-track img { height: 160px; }
  .marquee-track { gap: 0.85rem; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* Editorial mosaic layout (Gallery page) */
.gallery-mosaic {
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 130px;
  grid-auto-flow: dense;
}
.g-item {
  position: relative;
  grid-column: span 1;
  grid-row: span 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--card);
}
.g-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 40%);
  opacity: 0;
  transition: opacity .3s;
}
.g-item:hover::after { opacity: 1; }
.g-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(.16,.8,.3,1);
}
.g-item:hover img { transform: scale(1.06); }
.g-large { grid-column: span 2; grid-row: span 2; }
.g-wide { grid-column: span 2; grid-row: span 1; }
.g-tall { grid-column: span 1; grid-row: span 2; }
@media (max-width: 900px) {
  .gallery-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .g-large { grid-column: span 2; grid-row: span 2; }
  .g-wide { grid-column: span 2; grid-row: span 1; }
  .g-tall { grid-column: span 1; grid-row: span 2; }
}
@media (max-width: 480px) {
  .gallery-mosaic { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .g-large, .g-wide, .g-tall { grid-column: span 1; grid-row: span 1; }
}

/* Footer */
.site-footer { padding: 3rem 0 2.5rem; border-top: 1px solid rgba(245,245,240,0.08); margin-top: 2rem; }
.footer-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2.5rem clamp(1.5rem,5vw,4rem);
}
.footer-brand { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 700; letter-spacing: -0.02em; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(245,245,240,0.1);
  font-size: 0.85rem; opacity: 0.7;
}
.social-icons { display: flex; gap: 0.75rem; }
.social-icons a {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.35);
  color: var(--primary-cta);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s, border-color .2s;
}
.social-icons a svg { width: 18px; height: 18px; fill: currentColor; }
.social-icons a:hover { background: var(--primary-cta); color: #000; border-color: var(--primary-cta); transform: translateY(-2px); }

/* Menu page */
.menu-hero { text-align: center; padding: 5rem 0 3rem; }
.menu-hero .tag-pill { position: relative; }
.menu-hero h1 { font-size: clamp(2.2rem, 4vw, 3rem); color: var(--primary-cta); margin: 1rem 0 0.75rem; }
.menu-hero p { opacity: 0.75; max-width: 560px; margin: 0 auto; }

.menu-list { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }

.menu-section {
  background: var(--card);
  border: 1px solid rgba(245,245,240,0.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.menu-section-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 0.95rem;
  text-transform: uppercase;
  transition: background .2s;
}
.menu-section-header .toggle {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(212,175,55,0.15); color: var(--primary-cta);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
  transition: transform .25s;
}
.menu-section-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.menu-section.open .menu-section-body { max-height: 4000px; }
.menu-section.open .toggle { transform: rotate(45deg); }
.menu-section-inner { padding: 0 1.5rem 1.5rem; }

.menu-item { padding: 0.9rem 0; border-top: 1px solid rgba(245,245,240,0.07); }
.menu-item:first-child { border-top: none; }
.menu-item-row { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.menu-item-name { font-weight: 600; }
.menu-item-price { color: var(--primary-cta); font-weight: 600; white-space: nowrap; }
.menu-item-desc { opacity: 0.65; font-size: 0.88rem; font-style: italic; margin-top: 0.25rem; }

.menu-subgroup { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed rgba(245,245,240,0.12); }
.menu-subgroup:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.menu-subgroup-title { color: var(--primary-cta); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.6rem; font-weight: 700; }
.menu-note { opacity: 0.55; font-size: 0.8rem; margin-top: 0.5rem; }

/* Menu jump nav */
.menu-jump {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 auto 2.5rem;
  max-width: 900px;
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 80px);
  z-index: 20;
}
.menu-jump a {
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  background: rgba(5,5,5,0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212,175,55,0.3);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--foreground);
  transition: all .2s;
}
.menu-jump a:hover { background: var(--primary-cta); color: var(--primary-cta-text); border-color: var(--primary-cta); transform: translateY(-1px); }

/* Category wrapper — the big grouping cards (All Day / Food / Wine / Cocktails / Shisha) */
.category-wrap {
  position: relative;
  background: linear-gradient(160deg, var(--background-accent) 0%, #0c0a05 100%);
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  margin-bottom: 1.5rem;
  scroll-margin-top: 140px;
  overflow: hidden;
}
.category-wrap::before {
  content: '';
  position: absolute; top: -40%; right: -10%;
  width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(212,175,55,0.12) 0%, rgba(212,175,55,0) 70%);
  pointer-events: none;
}
.category-wrap > .category-title {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--primary-cta);
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(212,175,55,0.25);
}
.category-icon { font-size: 1.5rem; filter: grayscale(0.2); }
.category-subtitle {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--foreground);
  opacity: 0.45;
}
.category-wrap .menu-list { gap: 0.75rem; position: relative; }
.category-wrap .menu-section { background: rgba(0,0,0,0.4); border-color: rgba(245,245,240,0.06); }
.category-wrap .menu-section-header:hover { background: rgba(212,175,55,0.06); }

/* Reservation / Contact */
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
@media (max-width: 700px) { .info-grid { grid-template-columns: 1fr; } }
.info-card { background: var(--card); border-radius: var(--radius-xl); padding: 1.5rem; border: 1px solid rgba(245,245,240,0.08); }
.info-card .label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary-cta); margin-bottom: 0.5rem; }

.phone-cta {
  text-align: center;
  background: var(--card);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  max-width: 560px;
  margin: 2.5rem auto 0;
  border: 1px solid rgba(212,175,55,0.25);
}
.phone-cta a {
  display: inline-block;
  margin-top: 1rem;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-cta);
}
