/* ================================================================
   Leroyaume Restaurante — Coming Soon
   Dark ember · Gold · Cinematic Moroccan
   ================================================================ */

:root {
  --ink:         #080705;
  --charcoal:    #111009;
  --ember:       #e07b2a;
  --ember-soft:  rgba(224,123,42,0.18);
  --gold:        #c9963a;
  --gold-light:  #f0c060;
  --gold-pale:   rgba(240,192,96,0.12);
  --cream:       #f5ede0;
  --muted:       rgba(245,237,224,0.45);
  --faint:       rgba(245,237,224,0.22);
  --glass:       rgba(255,255,255,0.035);
  --glass-bd:    rgba(201,150,58,0.18);

  --ff-serif:   'Playfair Display', Georgia, serif;
  --ff-arabic:  'Cairo', sans-serif;
  --ff-italic:  'Cormorant Garamond', Georgia, serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; height: 100%; overflow: hidden; }
body {
  background: var(--charcoal);
  color: var(--cream);
  font-family: var(--ff-arabic);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ── Background ────────────────────────────────── */

/* Restaurant photo layer */
.bg-photo {
  position: fixed; inset: 0; z-index: 0;
  background-image: url('https://laeroportnador.ma-hotels.net/data/Photos/OriginalPhoto/14061/1406133/1406133947/photo-hotel-l-aeroport-nador-35.JPEG');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  filter: saturate(0.55) brightness(0.42);
  transform: scale(1.05);
  animation: photoDrift 22s ease-in-out infinite alternate;
}
@keyframes photoDrift {
  from { transform: scale(1.05) translateY(0); }
  to   { transform: scale(1.09) translateY(-14px); }
}
.bg-photo-overlay {
  position: fixed; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 100% 55% at 50% 100%, rgba(28,9,0,0.93) 0%, rgba(8,5,2,0.5) 60%, transparent 100%),
    linear-gradient(to bottom, rgba(8,7,5,0.75) 0%, rgba(8,7,5,0.22) 38%, rgba(8,7,5,0.65) 100%);
}
.bg-base {
  position: fixed; inset: 0; z-index: 2;
  background:
    radial-gradient(ellipse 70% 45% at 50% 100%, rgba(61,26,2,0.62) 0%, transparent 65%),
    radial-gradient(ellipse 100% 100% at 50% 50%, rgba(22,17,10,0.32) 0%, transparent 100%);
}
.bg-glow {
  position: fixed; inset: 0; z-index: 3; pointer-events: none;
}
.bg-glow--center {
  background: radial-gradient(ellipse 55% 30% at 50% 95%, rgba(224,123,42,0.24) 0%, transparent 65%);
  animation: breathe 6s ease-in-out infinite alternate;
}
.bg-glow--left {
  background: radial-gradient(ellipse 30% 20% at 10% 88%, rgba(180,60,5,0.14) 0%, transparent 60%);
  animation: breathe 8s ease-in-out 1s infinite alternate;
}
.bg-glow--right {
  background: radial-gradient(ellipse 30% 20% at 90% 88%, rgba(200,100,10,0.12) 0%, transparent 60%);
  animation: breathe 7s ease-in-out 2s infinite alternate;
}
@keyframes breathe {
  from { opacity: 0.7; transform: scale(1); }
  to   { opacity: 1;   transform: scale(1.08); }
}

/* Grain */
.grain-overlay {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  opacity: 0.4; mix-blend-mode: overlay; z-index: 4;
}

/* Ghost text */
.ghost-text {
  position: fixed;
  bottom: -5vh; left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  font-family: var(--ff-arabic);
  font-size: clamp(160px, 28vw, 340px);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201,150,58,0.06);
  letter-spacing: -0.04em;
  line-height: 1;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  animation: ghostDrift 20s ease-in-out infinite alternate;
}
@keyframes ghostDrift {
  from { transform: translateX(-50%) translateY(0); }
  to   { transform: translateX(-50%) translateY(-15px); }
}

/* Particle canvas */
#particleCanvas {
  position: fixed; inset: 0; z-index: 5; pointer-events: none;
}

/* ── Corners ───────────────────────────────────── */
.corner {
  position: fixed; z-index: 11;
  width: clamp(40px, 5vw, 60px);
  height: clamp(40px, 5vw, 60px);
  pointer-events: none;
  animation: fadeIn 2s var(--ease) 0.5s both;
}
.corner--tl { top: 18px; left: 18px;
  border-top: 1px solid rgba(201,150,58,0.3); border-left: 1px solid rgba(201,150,58,0.3); }
.corner--tr { top: 18px; right: 18px;
  border-top: 1px solid rgba(201,150,58,0.3); border-right: 1px solid rgba(201,150,58,0.3); }
.corner--bl { bottom: 50px; left: 18px;
  border-bottom: 1px solid rgba(201,150,58,0.3); border-left: 1px solid rgba(201,150,58,0.3); }
.corner--br { bottom: 50px; right: 18px;
  border-bottom: 1px solid rgba(201,150,58,0.3); border-right: 1px solid rgba(201,150,58,0.3); }

/* ── Marquee ───────────────────────────────────── */
.marquee-wrap {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 20;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(8,7,5,0.96), rgba(20,14,6,0.96));
  border-top: 1px solid rgba(201,150,58,0.15);
  height: 42px;
  display: flex;
  align-items: center;
}
/* Single track: holds copy1 + copy2 side by side.
   Animating to -50% of the total width = exactly one copy's width back.
   Result: seamless infinite loop, no JS needed. */
.marquee-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 100%;
  animation: marqueeScroll 32s linear infinite;
  will-change: transform;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-item {
  font-family: var(--ff-arabic);
  font-size: clamp(11px, 1.5vw, 13px);
  font-weight: 400;
  color: var(--muted);
  padding: 0 20px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.marquee-sep {
  color: var(--ember);
  font-size: 8px;
  opacity: 0.55;
  flex-shrink: 0;
  padding: 0 4px;
}


/* ── Stage ─────────────────────────────────────── */
.stage {
  position: relative; z-index: 10;
  width: 100vw; height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: clamp(10px, 1.8vh, 22px);
  padding: 30px 20px 60px;
  text-align: center;
  overflow: hidden;
}

/* ── Animations ────────────────────────────────── */
@keyframes revealUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reveal-up { animation: revealUp 0.95s var(--ease) both; }
.d1 { animation-delay: 0.1s; }
.d2 { animation-delay: 0.3s; }
.d3 { animation-delay: 0.55s; }
.d4 { animation-delay: 0.75s; }
.d5 { animation-delay: 0.95s; }
.d6 { animation-delay: 1.1s; }

/* ── Badge ─────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 16px 6px 14px;
  border: 1px solid var(--glass-bd);
  border-radius: 100px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  font-family: var(--ff-italic);
  font-size: clamp(11px, 1.4vw, 13px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.badge__pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 0 rgba(224,123,42,0.5);
  animation: pulseRing 1.8s ease-out infinite;
}
@keyframes pulseRing {
  0%   { box-shadow: 0 0 0 0 rgba(224,123,42,0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(224,123,42,0); }
  100% { box-shadow: 0 0 0 0 rgba(224,123,42,0); }
}

/* ── Brand ─────────────────────────────────────── */
.brand { display: flex; flex-direction: column; align-items: center; gap: 0; }

.brand__eyebrow {
  font-family: var(--ff-italic);
  font-style: italic;
  font-size: clamp(11px, 1.5vw, 14px);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.brand__lockup {
  display: flex; align-items: flex-end; justify-content: center;
  direction: ltr;
  gap: clamp(2px, 0.6vw, 8px);
  line-height: 0.88;
  position: relative;
}

.brand__le {
  font-family: var(--ff-italic);
  font-style: italic;
  font-size: clamp(20px, 3.8vw, 44px);
  font-weight: 300;
  color: var(--gold-light);
  opacity: 0.85;
  align-self: flex-start;
  padding-top: clamp(4px, 0.8vw, 10px);
  letter-spacing: 0.04em;
  line-height: 1;
}

.brand__name {
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: clamp(52px, 10vw, 116px);
  letter-spacing: -0.03em;
  line-height: 140%;
  background: linear-gradient(155deg, var(--gold-light) 0%, var(--gold) 40%, #b87320 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 40px rgba(201,150,58,0.3));
  transition: filter 0.3s;
}
.brand__name:hover {
  filter: drop-shadow(0 0 60px rgba(201,150,58,0.55));
}

.brand__resto {
  font-family: var(--ff-italic);
  font-size: clamp(12px, 1.6vw, 17px);
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: rgba(245,237,224,0.38);
  margin-top: 0px;
}

.brand__divider {
  width: clamp(140px, 22vw, 220px);
  margin-top: 6px;
  opacity: 0.9;
}

/* ── Hero Arabic Copy ──────────────────────────── */
.hero { max-width: 680px; }

.hero__headline {
  font-family: var(--ff-arabic);
  font-size: clamp(22px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: clamp(8px, 1.2vh, 16px);
  display: flex; align-items: baseline; justify-content: center;
  flex-wrap: wrap; gap: 0 10px;
  direction: rtl;
}

/* "تجربة" — cream, light weight */
.hero__word--1 {
  font-family: var(--ff-arabic);
  font-weight: 300;
  font-size: clamp(26px, 4.8vw, 56px);
  color: rgba(245,237,224,0.88);
  letter-spacing: 0.01em;
}

/* "جديدة" — slightly muted */
.hero__word--plain {
  font-weight: 300;
  font-size: clamp(26px, 4.8vw, 56px);
  color: rgba(245,237,224,0.65);
}

/* "كتستناك" — the fire word: bigger + gradient */
.hero__word--fire {
  font-family: var(--ff-arabic);
  font-weight: 900;
  font-size: clamp(38px, 7vw, 84px);
  background: linear-gradient(125deg, var(--gold-light) 0%, var(--ember) 50%, #d04000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 28px rgba(224,123,42,0.5));
  animation: firePulse 3.5s ease-in-out infinite alternate;
  letter-spacing: -0.01em;
}
@keyframes firePulse {
  from { filter: drop-shadow(0 2px 28px rgba(224,123,42,0.45)); }
  to   { filter: drop-shadow(0 2px 44px rgba(224,123,42,0.8)); }
}

.hero__sub {
  font-family: var(--ff-arabic);
  font-size: clamp(13px, 1.9vw, 17px);
  font-weight: 300;
  color: rgba(245,237,224,0.5);
  letter-spacing: 0.01em;
  margin-bottom: 6px;
  line-height: 1.7;
  direction: rtl;
}
.hero__em {
  font-family: var(--ff-arabic);
  font-style: normal;
  font-weight: 700;
  color: var(--gold-light);
}

.hero__whisper {
  font-family: var(--ff-arabic);
  font-size: clamp(11px, 1.4vw, 13px);
  font-weight: 400;
  letter-spacing: 0.2em;
  color: rgba(201,150,58,0.45);
  margin-top: 4px;
}


/* ── Notify ────────────────────────────────────── */
.notify { width: 100%; max-width: 480px; }

.notify__hook {
  font-family: var(--ff-arabic);
  font-size: clamp(13px, 1.8vw, 16px);
  font-weight: 300;
  color: rgba(245,237,224,0.6);
  margin-bottom: 14px;
  line-height: 1.7;
  direction: rtl;
}
.notify__hook strong { color: var(--gold-light); font-weight: 700; }

.notify__form {
  display: flex;
  flex-direction: row-reverse;
  border: 1px solid var(--glass-bd);
  border-radius: 12px;
  overflow: hidden;
  background: var(--glass);
  backdrop-filter: blur(14px);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.notify__form:focus-within {
  border-color: rgba(201,150,58,0.5);
  box-shadow: 0 0 0 3px rgba(201,150,58,0.08), 0 8px 32px rgba(224,123,42,0.12);
}

.notify__input {
  flex: 1; min-width: 0;
  background: transparent;
  border: none; outline: none;
  padding: 13px 16px;
  font-family: var(--ff-italic);
  font-size: clamp(13px, 1.6vw, 15px);
  color: var(--cream);
  direction: ltr;
}
.notify__input::placeholder { color: rgba(245,237,224,0.25); }

.notify__btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 13px clamp(14px, 2vw, 22px);
  background: linear-gradient(135deg, var(--ember) 0%, var(--gold) 100%);
  border: none; cursor: pointer;
  color: #080705;
  font-family: var(--ff-arabic);
  font-size: clamp(12px, 1.5vw, 14px);
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.25s var(--ease);
}
.notify__btn:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--ember) 100%);
  transform: scale(1.04);
}
.notify__btn:active { transform: scale(0.97); }

.notify__success {
  margin-top: 12px;
  font-family: var(--ff-arabic);
  font-size: clamp(12px, 1.6vw, 14px);
  color: var(--gold-light);
  animation: revealUp 0.5s var(--ease);
}
.hidden { display: none !important; }

/* ── Socials ───────────────────────────────────── */
.socials {
  display: flex; align-items: center; gap: clamp(20px, 3vw, 36px);
  position: relative;
}
.socials::before {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 1px; height: 16px;
  background: rgba(201,150,58,0.0);
}
.socials__link {
  display: flex; align-items: center; gap: 7px;
  color: rgba(245,237,224,0.3);
  text-decoration: none;
  font-family: var(--ff-italic);
  font-size: clamp(10px, 1.2vw, 12px);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 0.35s var(--ease);
}
.socials__link svg { width: 15px; height: 15px; flex-shrink: 0; }
.socials__link:hover {
  color: var(--gold-light);
  transform: translateY(-4px);
  filter: drop-shadow(0 4px 10px rgba(201,150,58,0.4));
}

/* ── Responsive ────────────────────────────────── */
@media (max-width: 480px) {
  .stage { gap: 9px; padding: 28px 14px 56px; }
  .hero__headline { gap: 0 4px; }

    .ghost-text { font-size: 140px; }
  .brand__eyebrow, .brand__resto { letter-spacing: 0.2em; }
}
@media (max-height: 680px) {
  .stage { gap: 7px; padding: 20px 14px 50px; }
  .ghost-text { display: none; }
  .hero__sub, .hero__whisper { display: none; }
  .brand__eyebrow { display: none; }
}
@media (max-height: 560px) {
  .socials { display: none; }
}