/* ═══════════════════════════════════════════════
   ECHO PRIVÉ — MENU STYLES
   Mobile-first · Black & Gold · Luxury
═══════════════════════════════════════════════ */

/* ─── Variables ─── */
:root {
  --black:        #040404;
  --black-2:      #0b0b0b;
  --gold:         #d8b25f;
  --gold-light:   #f0d47a;
  --gold-dark:    #a07820;
  --gold-dim:     rgba(216, 178, 95, 0.12);
  --gold-border:  rgba(216, 178, 95, 0.22);
  --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: 'Poppins', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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


/* ═══════════════════════════════════════════════
   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(216,178,95,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 100% 40% at 50% 100%, rgba(216,178,95,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(--gold);
  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-logo {
  width: min(300px, 78vw);
  position: relative;
  z-index: 1;
  animation: logoPulse 5s ease-in-out infinite;
}

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

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

.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(--gold));
  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.90);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--gold-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(--gold-border);
  color: var(--text-muted);
  font-size: 0.67rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.nav-pill.active,
.nav-pill:active {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
  font-weight: 500;
}


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

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

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

/* Gold shimmer headline */
.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(--gold-dark) 0%,
    var(--gold)       30%,
    var(--gold-light) 50%,
    var(--gold)       70%,
    var(--gold-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.88rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-top: 6px;
  font-weight: 300;
}

.section-divider {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), 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: 28px 0 12px;
}
.subsection-title::before,
.subsection-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gold-border);
}

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


/* ═══════════════════════════════════════════════
   MENU ITEM CARDS
═══════════════════════════════════════════════ */
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 16px;
  border-radius: 12px;
  background: var(--card-bg);
  border: 1px solid rgba(216, 178, 95, 0.07);
  margin-bottom: 8px;
  transition:
    border-color 0.3s ease,
    background   0.3s ease,
    transform    0.3s ease;
}

.menu-item:active {
  border-color: var(--gold-border);
  background: rgba(216, 178, 95, 0.05);
  transform: scale(0.99);
}

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

.item-en {
  font-size: 0.87rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.35;
}

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

.item-price {
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gold);
  white-space: nowrap;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

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


/* (split layout removed — illustrations now sit at section header) */


/* ═══════════════════════════════════════════════
   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(--gold-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(--gold);
  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(--gold);
  font-weight: 500;
}

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


/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
#footer {
  padding: 56px 20px 44px;
  text-align: center;
  border-top: 1px solid var(--gold-border);
  margin-top: 24px;
}

.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;
}

/* Safe area bottom (iPhone home bar) */
@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(24px);
  transition:
    opacity   0.58s ease,
    transform 0.58s ease;
}

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


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