/* Restoran v2: restoran.css üstüne gelir, palet ve hero'yu değiştirir. */
:root {
  --bg: #0B0B0D; --fg: #EAE5DC; --kor: #D9532F; --brass: #B89758;
  --line: rgba(184, 151, 88, .25); --head-bg: #0B0B0D; --strip-bg: transparent; --strip-fg: #EAE5DC;
  --top: 111px;
}

/* Üst şerit ve menü hero'nun üzerinde saydam durur, kaydırınca menü koyulaşır */
.strip { position: relative; z-index: 51; }
.dh { background: transparent; transition: background-color .3s; }
.dh.is-solid { background: var(--bg); }

.rv2-wrap { position: relative; margin-top: calc(var(--top) * -1); }
.rv2-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 100svh; pointer-events: none; }
.rv2 { position: sticky; top: 0; z-index: 0; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--bg); isolation: isolate; }
.rv2.is-covered { visibility: hidden; }
.rv2-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; transform: scale(1.06); }
.rv2-dim {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 72% 62% at 50% 46%, rgba(11, 11, 13, .46) 0%, rgba(11, 11, 13, .66) 62%, rgba(11, 11, 13, .9) 100%),
    linear-gradient(to bottom, rgba(11, 11, 13, .62) 0%, rgba(11, 11, 13, 0) 26%, rgba(11, 11, 13, 0) 56%, rgba(11, 11, 13, .9) 100%);
}
#kivilcim { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

/* Sahne: pirinç çizgiler ve başlık. İmleç için aynı katmanın parlak kopyası üstüne maskelenir. */
.rv2-layer { position: absolute; inset: 0; display: grid; place-items: center; padding: var(--top) 20px 150px; text-align: center; }
.rv2-lit { pointer-events: none; opacity: 0; transition: opacity .5s; -webkit-mask-image: radial-gradient(circle 210px at var(--lx, 50%) var(--ly, 50%), #000 0%, transparent 100%); mask-image: radial-gradient(circle 210px at var(--lx, 50%) var(--ly, 50%), #000 0%, transparent 100%); }
.rv2-lit.is-on { opacity: 1; }
.rule { position: absolute; background: rgba(184, 151, 88, .28); }
.rule-t { left: 50%; top: var(--top); width: 1px; height: clamp(28px, 7vh, 72px); }
.rule-l { left: 20px; top: calc(var(--top) + 16px); bottom: 150px; width: 1px; }
.rule-r { right: 20px; top: calc(var(--top) + 16px); bottom: 150px; width: 1px; }
.rv2-lit .rule { background: #E8C987; }

.rv2-copy { width: 100%; }
.rv2-title { font-family: var(--display); font-weight: 500; font-size: clamp(3.25rem, 16vw, 10.5rem); line-height: .96; letter-spacing: -.045em; color: #EAE5DC; }
.rv2-title span { display: block; will-change: transform; }
.rv2-lit .rv2-title { color: #FFEBC8; text-shadow: 0 0 34px rgba(232, 160, 80, .55); }
.rv2-sub { margin: 18px auto 0; max-width: 37rem; font-size: 1rem; line-height: 1.5; color: #EAE5DC; }
.rv2-lit .rv2-sub { visibility: hidden; }

/* Perde açılışı */
.curtain { position: absolute; top: 0; bottom: 0; width: 50.5%; z-index: 4; background: #070708; pointer-events: none; animation: perde 1.5s cubic-bezier(.76, 0, .24, 1) .1s both; }
.curtain-l { left: 0; --to: -102%; border-right: 1px solid rgba(184, 151, 88, .45); }
.curtain-r { right: 0; --to: 102%; border-left: 1px solid rgba(184, 151, 88, .45); }
@keyframes perde { to { transform: translateX(var(--to)); } }

/* Rezervasyon çubuğu */
.resbar {
  position: absolute; z-index: 3; left: 12px; right: 12px; bottom: 12px;
  display: grid; gap: 10px; padding: 12px 14px;
  background: rgba(11, 11, 13, .78); border: 1px solid rgba(184, 151, 88, .25);
}
.resbar p { font-size: .9375rem; line-height: 1.35; color: #EAE5DC; }
.resbar .sep { color: var(--brass); padding-inline: 4px; }
.resbar .btn { min-height: 48px; }
.rv2 :focus-visible { outline-color: #E8C987; }

/* Tadım menüsü hero'nun üstüne sahne gibi çıkar */
#tadim { position: relative; z-index: 1; border-top: 1px solid rgba(184, 151, 88, .45); border-bottom: 1px solid var(--line); background: #131316; }

/* Mum ışığı halesi: 400px, imleci gecikmeyle izler */
.candle {
  display: none; position: fixed; left: 0; top: 0; z-index: 30; width: 400px; height: 400px; margin: -200px 0 0 -200px;
  border-radius: 50%; pointer-events: none; mix-blend-mode: screen; opacity: 0; transition: opacity .6s; will-change: transform;
  background: radial-gradient(circle, rgba(232, 160, 80, .2) 0%, rgba(232, 160, 80, .08) 42%, rgba(232, 160, 80, 0) 70%);
}
.candle.is-on { opacity: 1; }
@media (pointer: fine) { .candle { display: block; } }

@media (min-width: 768px) {
  .rv2-layer { padding: var(--top) 40px 110px; }
  .rule-l { left: 40px; bottom: 100px; }
  .rule-r { right: 40px; bottom: 100px; }
  .rv2-sub { font-size: 1.125rem; }
  .resbar { left: 40px; right: 40px; bottom: 28px; grid-template-columns: 1fr auto; align-items: center; gap: 24px; padding: 10px 12px 10px 22px; }
  .resbar p { font-size: 1rem; }
  .rv2-title { font-size: clamp(5rem, min(11.6vw, 20vh), 11rem); }
}
@media (max-height: 640px) and (min-width: 768px) {
  .rv2-title { font-size: clamp(3.5rem, 15vh, 6rem); }
  .rv2-sub { margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .curtain, .candle { display: none; }
  .rv2-img { transform: none; }
}
