/* ═══════════════════════════════════════════════
   RUMORS — MENU STYLES
   Mobile-first · Black & Red · Luxury
═══════════════════════════════════════════════ */

/* ─── Variables ─── */
:root {
  --black:        #040404;
  --black-2:      #0b0b0b;
  --red:          #c41a15;
  --red-light:    #e4594f;
  --red-dark:     #510806;
  --red-dim:      rgba(196, 26, 21, 0.12);
  --red-border:   rgba(196, 26, 21, 0.22);
  --red-glow:     rgba(196, 26, 21, 0.15);
  --cream:        #f0e0d0;
  --text:         #f5f4f2;
  --text-muted:   rgba(245, 244, 242, 0.52);
  --card-bg:      rgba(255, 255, 255, 0.025);
  --nav-h:        52px;
}

/* ─── Reset ─── */
*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--black);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  animation: bgPulse 12s ease-in-out infinite alternate;
}

@keyframes bgPulse {
  0%   { background-color: #040404; }
  100% { background-color: #080304; }
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }


/* ─── Noise Grain Overlay ─── */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
}


/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
#hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 85% 55% at 50% 42%, rgba(196,26,21,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 100% 40% at 50% 100%, rgba(196,26,21,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--red);
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0%   { transform: translateY(0)    scale(1);   }
  50%  { transform: translateY(-18px) scale(1.4); }
  100% { transform: translateY(0)    scale(1);   }
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  will-change: transform;
}

.hero-logo {
  width: min(300px, 78vw);
  animation: logoPulse 5s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { filter: drop-shadow(0 0 16px rgba(196,26,21,0.22)); }
  50%       { filter: drop-shadow(0 0 36px rgba(196,26,21,0.55)); }
}

.hero-sub {
  font-size: 0.67rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 22px;
}

.scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, transparent, var(--red));
  transform-origin: top;
  animation: scrollDrop 2.4s ease-in-out infinite;
}

@keyframes scrollDrop {
  0%   { transform: scaleY(0); opacity: 0; }
  40%  { transform: scaleY(1); opacity: 0.8; }
  100% { transform: scaleY(1); opacity: 0; }
}


/* ═══════════════════════════════════════════════
   STICKY NAVIGATION
═══════════════════════════════════════════════ */
#menu-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(4, 4, 4, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--red-border);
}

.nav-track {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.nav-track::-webkit-scrollbar { display: none; }

.nav-pill {
  flex-shrink: 0;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid var(--red-border);
  color: var(--text-muted);
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-pill.active,
.nav-pill:active {
  background: var(--red);
  color: var(--black);
  border-color: var(--red);
  font-weight: 600;
  box-shadow: 0 0 16px rgba(196, 26, 21, 0.25);
}


/* ═══════════════════════════════════════════════
   SECTION LAYOUT
═══════════════════════════════════════════════ */
.menu-section {
  padding: 60px 20px 44px;
  max-width: 580px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-illustration {
  width: 64px;
  margin: 0 auto 18px;
  color: var(--red);
  opacity: 0.78;
}
.section-illustration svg { width: 100%; height: auto; display: block; }

/* SVG stroke draw animation */
.svg-draw {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-header.visible .svg-draw,
.animate-in.visible .svg-draw {
  stroke-dashoffset: 0;
}

.section-title-en {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.65rem, 5.5vw, 2.1rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.1;
  background: linear-gradient(
    90deg,
    var(--red-dark) 0%,
    var(--red)       30%,
    var(--red-light) 50%,
    var(--red)       70%,
    var(--red-dark)  100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 7s linear infinite;
}

@keyframes shimmer {
  0%   { background-position: 0%   center; }
  100% { background-position: 220% center; }
}

.section-title-ar {
  font-family: 'Cairo', sans-serif;
  font-size: 0.90rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-top: 6px;
  font-weight: 400;
}

.section-divider {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  margin: 14px auto 0;
}


/* ═══════════════════════════════════════════════
   SUBSECTION LABELS
═══════════════════════════════════════════════ */
.subsection-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 30px 0 14px;
  font-weight: 500;
}
.subsection-title::before,
.subsection-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--red-border);
}

.sub-ar {
  color: var(--red);
  opacity: 0.55;
  font-family: 'Cairo', sans-serif;
  font-size: 0.70rem;
  letter-spacing: 0.04em;
  text-transform: none;
  margin-left: 4px;
  font-weight: 400;
}


/* ═══════════════════════════════════════════════
   MENU ITEM CARDS
═══════════════════════════════════════════════ */
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 16px;
  border-radius: 12px;
  background: var(--card-bg);
  border: 1px solid rgba(196, 26, 21, 0.07);
  border-left: 2px solid transparent;
  margin-bottom: 10px;
  transition:
    border-color 0.35s ease,
    background   0.35s ease,
    transform    0.35s ease,
    box-shadow   0.35s ease,
    border-left-color 0.35s ease;
}

.menu-item:active {
  border-color: var(--red-border);
  border-left-color: var(--red);
  background: rgba(196, 26, 21, 0.04);
  transform: scale(1.01);
  box-shadow: 0 0 20px var(--red-glow);
}

@media (hover: hover) {
  .menu-item:hover {
    border-color: var(--red-border);
    border-left-color: var(--red);
    background: rgba(196, 26, 21, 0.04);
    box-shadow: 0 0 20px var(--red-glow);
  }
}

.item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
  padding-right: 12px;
}

.item-en {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.45;
}

.item-ar {
  font-family: 'Cairo', sans-serif;
  font-size: 0.80rem;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.55;
}

.item-price {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--red);
  white-space: nowrap;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(8px);
  transition:
    opacity   0.5s ease,
    transform 0.5s ease;
}

.animate-in.visible .item-price {
  opacity: 1;
  transform: translateX(0);
}

.price-unit {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.58rem;
  font-weight: 400;
  opacity: 0.55;
  letter-spacing: 0.06em;
}


/* ═══════════════════════════════════════════════
   FOOD DIVIDER
═══════════════════════════════════════════════ */
.food-transition {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 48px 20px 16px;
  max-width: 580px;
  margin: 0 auto;
}

.food-transition-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red-border), transparent);
}

.food-transition-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.cloche-icon {
  width: 46px;
  height: auto;
  color: var(--red);
  opacity: 0.65;
  margin-bottom: 2px;
}
.cloche-icon svg { width: 100%; }

.food-divider-en {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 500;
}

.food-divider-ar {
  font-family: 'Cairo', sans-serif;
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  font-weight: 400;
}


/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
#footer {
  padding: 56px 20px 44px;
  text-align: center;
  border-top: 1px solid var(--red-border);
  margin-top: 24px;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity   0.7s ease,
    transform 0.7s ease;
}

#footer.visible {
  opacity: 1;
  transform: translateY(0);
}

.footer-logo {
  width: min(180px, 52vw);
  margin: 0 auto 14px;
  opacity: 0.65;
}

.footer-copy {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  text-transform: uppercase;
}

@supports (padding-bottom: env(safe-area-inset-bottom)) {
  #footer {
    padding-bottom: calc(44px + env(safe-area-inset-bottom));
  }
}


/* ═══════════════════════════════════════════════
   SCROLL ANIMATIONS
═══════════════════════════════════════════════ */
.animate-in {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity   0.6s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ═══════════════════════════════════════════════
   SMALL PHONE ADJUSTMENTS
═══════════════════════════════════════════════ */
@media (max-width: 360px) {
  .section-illustration { width: 52px; }
  .menu-item            { padding: 12px 12px; }
  .item-en              { font-size: 0.87rem; }
  .item-price           { font-size: 0.90rem; }
}
