/* =============================================
   VADİ CATERING — Premium effects layer
   Grain · Mesh gradient · Spotlight cursor ·
   Magnetic CTAs · Split-text reveal · Glow borders
   ============================================= */

/* ---------- Film grain overlay (global) ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 99;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

/* ---------- Cursor spotlight (desktop only) ---------- */
.spotlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 480px;
  height: 480px;
  margin: -240px 0 0 -240px;
  pointer-events: none;
  z-index: 60;
  background: radial-gradient(circle, rgba(200, 150, 62, 0.18), rgba(200, 150, 62, 0.06) 30%, transparent 65%);
  mix-blend-mode: screen;
  transform: translate3d(-1000px, -1000px, 0);
  transition: opacity 0.4s ease, transform 0.06s linear;
  opacity: 0;
}
.spotlight.is-active { opacity: 1; }
@media (max-width: 880px), (hover: none) {
  .spotlight { display: none; }
}

/* ---------- Animated mesh gradient (hero) ---------- */
.mesh {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
  filter: blur(50px);
  overflow: hidden;
}
.mesh::before,
.mesh::after,
.mesh > span {
  content: "";
  position: absolute;
  display: block;
  border-radius: 50%;
  mix-blend-mode: screen;
}
.mesh::before {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(200, 150, 62, 0.55), transparent 60%);
  top: -10%;
  left: 6%;
  animation: meshDrift1 22s var(--ease) infinite;
}
.mesh::after {
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(61, 107, 79, 0.45), transparent 60%);
  bottom: -20%;
  right: 4%;
  animation: meshDrift2 28s var(--ease) infinite;
}
.mesh > span {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(200, 150, 62, 0.28), transparent 70%);
  top: 30%;
  left: 50%;
  animation: meshDrift3 18s var(--ease) infinite;
}
@keyframes meshDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, 40px) scale(1.15); }
}
@keyframes meshDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, -80px) scale(1.2); }
}
@keyframes meshDrift3 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-30%, -60%) scale(1.1); }
}

/* ---------- Split-text letters ---------- */
.split-text { display: inline-block; }
.split-text .letter,
.split-text .word {
  display: inline-block;
  transform: translateY(110%) rotate(2deg);
  opacity: 0;
  transition: transform 1s var(--ease), opacity 0.8s ease;
}
.split-text.is-in .letter,
.split-text.is-in .word {
  transform: translateY(0) rotate(0);
  opacity: 1;
}
.split-text .word { transition-delay: var(--d, 0s); }
.split-text .letter { transition-delay: var(--d, 0s); }

/* ---------- Magnetic button (no extra markup) ---------- */
.btn { will-change: transform; }

/* ---------- Glow border on hover ---------- */
.glow-border {
  position: relative;
  isolation: isolate;
}
.glow-border::after {
  content: "";
  position: absolute;
  inset: -1px;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, transparent 30%, rgba(200, 150, 62, 0.55), transparent 70%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
  z-index: 1;
}
.glow-border:hover::after { opacity: 1; }

/* ---------- Reveal-up word-by-word for body copy ---------- */
.rise-words .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease);
}
.rise-words.is-in .w {
  opacity: 1;
  transform: none;
}

/* ---------- Section grain frame divider ---------- */
.frame-div {
  position: relative;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.frame-div::before {
  content: "✦";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg-1);
  padding: 0 16px;
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
}

/* ---------- Floating tilt cards ---------- */
.tilt { transform-style: preserve-3d; transition: transform 0.4s var(--ease); }
.tilt > * { transform: translateZ(0); }

/* ---------- Marquee pause on hover ---------- */
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- Online menu dashboard (premium block) ---------- */
.dash {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 24px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #000000c9;
}
.dash::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, var(--gold-glow), transparent 70%);
  top: -120px;
  right: -120px;
  filter: blur(10px);
  z-index: -1;
}
.dash__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.dash__head__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.dash__head__title::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ad07e;
  box-shadow: 0 0 8px #4ad07e;
  animation: pulse 2s var(--ease) infinite;
}
.dash__head__date {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 0.95rem;
}
.dash__days {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}
.dash__day {
  padding: 14px 10px;
  border-radius: var(--r);
  background: rgba(255,255,255,0.02);
  border: 1px solid transparent;
  text-align: center;
  font-size: 0.72rem;
  color: var(--ink-3);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.dash__day:hover { background: rgba(255,255,255,0.05); }
.dash__day.is-active {
  background: rgba(200, 150, 62, 0.12);
  border-color: var(--gold);
  color: var(--gold);
}
.dash__day strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 2px;
  font-weight: 500;
}
.dash__day.is-active strong { color: var(--gold); }
.dash__menu {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.dash__dish {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(255,255,255,0.015);
  position: relative;
}
.dash__dish__thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: rgba(200,150,62,0.1);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.dash__dish small {
  color: var(--gold);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.72rem;
  display: block;
  margin-bottom: 2px;
}
.dash__dish strong { color: #fff; font-size: 0.86rem; font-weight: 500; display: block; }
.dash__dish span { font-size: 0.72rem; color: var(--ink-3); }
.dash__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}
.dash__foot__metrics { display: flex; gap: 24px; }
.dash__foot__metrics > div span { color: var(--ink-3); font-size: 0.72rem; display: block; margin-bottom: 2px; }
.dash__foot__metrics > div strong { color: var(--gold); font-family: var(--serif); font-size: 1.05rem; font-weight: 500; }
.dash__foot a { color: var(--gold); }

.dashboard-block {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: center;
}
.sector-head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 48px;
}
@media (max-width: 880px) {
  .dash__menu { grid-template-columns: 1fr 1fr; }
  .dash__days { grid-template-columns: repeat(5, 1fr); gap: 4px; }
  .dash__day { padding: 10px 6px; font-size: 0.65rem; }
  .dash__day strong { font-size: 1.1rem; }
  .dash__foot__metrics { gap: 16px; }
  .dashboard-block { grid-template-columns: 1fr; gap: 40px; }
  .sector-head { grid-template-columns: 1fr; gap: 32px; }
  .dash__foot { flex-direction: column; gap: 16px; align-items: flex-start; }
}

/* ---------- 12 sector chip grid ---------- */
.chip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.chip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--r);
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
  transition: all 0.4s var(--ease);
}
.chip:hover {
  background: rgba(200,150,62,0.06);
  border-color: var(--gold-glow);
  transform: translateY(-2px);
}
.chip__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(200,150,62,0.12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chip span {
  font-size: 0.92rem;
  color: var(--ink-2);
}
@media (max-width: 880px) {
  .chip-grid { grid-template-columns: 1fr 1fr; }
}
