/* ============================================================
   חאן הבשר — עיצוב ראשי v2
   כהה וחזק: פחם, אש, עשן — מבטאי כתום לוהט
   ============================================================ */

@font-face {
	font-family: 'FUP Begin';
	src: url('../fonts/begin-light.woff2') format('woff2'), url('../fonts/begin-light.woff') format('woff');
	font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
	font-family: 'FUP Begin';
	src: url('../fonts/begin-regular.woff2') format('woff2'), url('../fonts/begin-regular.woff') format('woff');
	font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
	font-family: 'FUP Begin';
	src: url('../fonts/begin-medium.woff2') format('woff2'), url('../fonts/begin-medium.woff') format('woff');
	font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
	font-family: 'FUP Begin';
	src: url('../fonts/begin-semibold.woff2') format('woff2'), url('../fonts/begin-semibold.woff') format('woff');
	font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
	font-family: 'FUP Begin';
	src: url('../fonts/begin-bold.woff2') format('woff2'), url('../fonts/begin-bold.woff') format('woff');
	font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
	font-family: 'FUP Begin';
	src: url('../fonts/begin-extrabold.woff2') format('woff2'), url('../fonts/begin-extrabold.woff') format('woff');
	font-weight: 800; font-style: normal; font-display: swap;
}

:root {
	--bg: #0d0b09;
	--bg-alt: #12100d;
	--bg-card: #17140f;
	--fire: #e8722a;
	--fire-bright: #ff8c42;
	--fire-deep: #c25417;
	--ember: #ffb347;
	--text: #f2ece3;
	--text-dim: #a89c8c;
	--border: rgba(232, 114, 42, 0.28);
	--border-soft: rgba(232, 114, 42, 0.15);
	--font-head: 'FUP Begin', 'Heebo', sans-serif;
	--font-body: 'FUP Begin', 'Heebo', sans-serif;
	--glow: 0 0 18px rgba(232, 114, 42, 0.18);
	--shadow: 0 14px 44px rgba(0, 0, 0, 0.55);
	/* טקסטורת רעש (פחם) — SVG מוטמע, ללא קובץ חיצוני */
	--noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.9 0 0 0 0 0.75 0 0 0 0 0.6 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
	background:
		radial-gradient(ellipse 900px 500px at 85% -5%, rgba(232, 114, 42, 0.05), transparent 60%),
		radial-gradient(ellipse 700px 480px at 10% 40%, rgba(232, 114, 42, 0.03), transparent 65%),
		var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-weight: 300;
	line-height: 1.7;
	direction: rtl;
	overflow-x: hidden;
}

/* שכבת טקסטורת פחם מחוספסת על כל האתר — כמו גריין של פילם */
body::before {
	content: ''; position: fixed; inset: 0; z-index: 999; pointer-events: none;
	background-image: var(--noise);
	opacity: 0.16; mix-blend-mode: screen;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 800; line-height: 1.2; }

h2 {
	font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: .01em;
	background: linear-gradient(180deg, #fff9f0 12%, var(--text) 48%, rgba(242, 236, 227, 0.42) 100%);
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent; color: var(--text);
}
h3 { font-size: 1.35rem; color: var(--text); }

a { color: var(--fire-bright); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ember); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 780px; }

.skip-link {
	position: absolute; top: -60px; right: 16px; z-index: 200;
	background: var(--fire); color: #0d0b09; padding: 10px 18px; border-radius: 0;
	transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- כפתורים ---------- */
.btn {
	display: inline-block; padding: 13px 34px; border-radius: 0;
	font-family: var(--font-body); font-weight: 600; font-size: 1.02rem;
	transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
	cursor: pointer; border: 1.5px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
	background: linear-gradient(160deg, var(--fire-bright), var(--fire) 55%, var(--fire-deep));
	color: #140d07; box-shadow: 0 6px 22px rgba(0, 0, 0, 0.5);
}
.btn-gold:hover { color: #140d07; box-shadow: 0 8px 26px rgba(0, 0, 0, 0.6); }
.btn-outline {
	border-color: var(--fire); color: var(--fire-bright); background: rgba(13, 11, 9, 0.45);
	backdrop-filter: blur(4px);
}
.btn-outline:hover { background: var(--fire); color: #140d07; }

/* ---------- הדר ---------- */
.site-header {
	position: fixed; inset-inline: 0; top: 0; z-index: 100;
	padding: 14px 0; transition: background .3s, box-shadow .3s, padding .3s;
	border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
	background: rgba(13, 11, 9, 0.94); backdrop-filter: blur(12px);
	box-shadow: 0 6px 30px rgba(0, 0, 0, 0.6); padding: 8px 0;
	border-bottom-color: var(--border-soft);
}
.site-header .container { max-width: none; padding: 0 34px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-logo img { width: 130px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 28px; list-style: none; }
.main-nav a { color: var(--text); font-weight: 300; letter-spacing: .04em; font-size: 1.02rem; position: relative; }
@media (min-width: 769px) {
	.header-inner { position: relative; }
	/* לוגו ממורכז ומוגדל; התפריט מימין, כפתור החיוג משמאל */
	.site-logo { position: absolute; right: 50%; top: 50%; transform: translate(50%, -50%); }
	.site-logo img { width: 190px; }
	.main-nav { flex: 1; justify-content: space-between; }
}
.main-nav ul a::after {
	content: ''; position: absolute; bottom: -6px; right: 0; width: 0; height: 2px;
	background: var(--fire); transition: width .25s;
}
.main-nav ul a:hover::after { width: 100%; }
.nav-cta { padding: 9px 22px; font-size: .95rem; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
	display: block; width: 26px; height: 2.5px; background: var(--fire-bright);
	margin: 5.5px 0; border-radius: 2px; transition: transform .3s, opacity .3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
	height: 100svh; min-height: 600px;
	display: flex; align-items: center; justify-content: center;
	position: relative; background-size: cover; background-position: center;
	text-align: center; overflow: hidden;
}
.hero-video {
	position: absolute; inset: 0; width: 100%; height: 100%;
	object-fit: cover; z-index: 0;
}
.hero-overlay {
	position: absolute; inset: 0; z-index: 1;
	background:
		radial-gradient(ellipse at center, rgba(13, 11, 9, 0.15) 0%, rgba(13, 11, 9, 0.7) 100%),
		linear-gradient(to top, var(--bg) 2%, rgba(13, 11, 9, 0.2) 32%),
		linear-gradient(to bottom, rgba(13, 11, 9, 0.55) 0%, transparent 22%);
}
.hero-content { position: relative; z-index: 3; padding: 0 24px 10vh; max-width: 860px; }
.hero h1 {
	font-size: clamp(2.2rem, 6vw, 4.2rem); color: var(--text);
	text-shadow: 0 3px 22px rgba(0, 0, 0, 0.85);
	margin-bottom: 14px; letter-spacing: .01em;
}
.hero-sub { font-size: clamp(1.05rem, 2.2vw, 1.4rem); color: var(--ember); margin-bottom: 38px; font-weight: 400; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
	position: absolute; bottom: 26px; right: 50%; transform: translateX(50%);
	width: 28px; height: 46px; border: 2px solid var(--fire); border-radius: 16px; z-index: 3;
	
}
.hero-scroll span {
	position: absolute; top: 8px; right: 50%; transform: translateX(50%);
	width: 4px; height: 10px; background: var(--fire-bright); border-radius: 2px;
	animation: scrollhint 1.8s infinite;
}
@keyframes scrollhint { 0% { opacity: 1; top: 8px; } 70% { opacity: 0; top: 24px; } 100% { opacity: 0; } }

/* ---------- סקשנים ---------- */
.section { padding: 100px 0; position: relative; overflow: hidden; }
.section > .container { position: relative; z-index: 1; }

/* שכבת עשן איטית על כל סקשן */
.section::before {
	content: ''; position: absolute; inset: -12% -22%; pointer-events: none; z-index: 0;
	background:
		radial-gradient(ellipse 620px 300px at 18% 22%, rgba(232, 114, 42, 0.055), transparent 68%),
		radial-gradient(ellipse 760px 400px at 82% 72%, rgba(190, 190, 205, 0.035), transparent 70%),
		radial-gradient(ellipse 500px 260px at 55% 45%, rgba(232, 114, 42, 0.03), transparent 72%);
	animation: smoke-drift 34s ease-in-out infinite alternate;
}
@keyframes smoke-drift {
	from { transform: translate3d(-2.5%, 0, 0) rotate(-0.5deg); }
	to   { transform: translate3d(2.5%, -3%, 0) rotate(0.5deg); }
}

.section-head { text-align: center; margin-bottom: 54px; position: relative; }

/* ---------- כותרת רפאים — מילת ענק חצי שקופה מאחורי הכותרת ---------- */
.ghost {
	position: absolute; inset-inline: 0; top: 34px; text-align: center;
	font-family: var(--font-head); font-weight: 800; line-height: 1;
	font-size: clamp(5rem, 17vw, 14rem); letter-spacing: .02em; white-space: nowrap;
	color: rgba(240, 222, 200, 0.065);
	pointer-events: none; user-select: none; z-index: 0;
	opacity: 0; transform: translateY(36px) scale(1.06);
	transition: opacity 1.3s ease .1s, transform 1.3s cubic-bezier(.22, 1, .36, 1) .1s;
}
.ghost.is-visible { opacity: 1; transform: none; }
.ghost-glow {
	text-shadow: 0 0 90px rgba(232, 114, 42, 0.12);
}
.section-eyebrow {
	display: block; color: var(--fire-bright); font-size: .95rem; letter-spacing: .22em;
	font-weight: 600; margin-bottom: 12px; text-transform: uppercase;
}
.section-eyebrow::before, .section-eyebrow::after {
	content: '—'; color: var(--fire-deep); margin: 0 10px;
}
.flame-icon { display: block; width: 26px; margin: 0 auto 12px; filter: drop-shadow(0 0 8px rgba(232,114,42,.6)); }
.section-head h2::after, .about h2::after {
	content: ''; display: block; width: 74px; height: 3px; margin: 20px auto 0;
	background: linear-gradient(90deg, transparent, var(--fire), transparent);
	
}

/* ---------- אודות ---------- */
.about { background: var(--bg-alt); border-block: 1px solid var(--border-soft); }
.about-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 52px; align-items: center; }
.about-content { text-align: right; }
.about-content h2 { margin-bottom: 26px; }
.about-content h2::after { margin-right: 0; }
.about-text { font-size: 1.12rem; color: var(--text-dim); }
.about-text p { margin-bottom: 14px; }
.about-media {
	position: relative; border-radius: 2px; overflow: hidden;
	border: 1px solid var(--border); box-shadow: var(--shadow);
}
.about-media video, .about-media img { width: 100%; display: block; }
.about-media::after {
	content: ''; position: absolute; inset: 0; pointer-events: none;
	box-shadow: inset 0 0 60px rgba(13, 11, 9, 0.55);
}
.kashrut-badge {
	display: inline-block; margin-top: 22px; padding: 8px 22px;
	border: 1px solid var(--border); border-radius: 0; color: var(--ember);
}

/* מנות מרחפות עם פרלקסה רכה */
.about-skewers { position: relative; min-height: 580px; }
.about-skewers .skewer {
	position: absolute; width: 74%; max-width: none;
	filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.65));
	will-change: transform;
}
.about-skewers .skewer:nth-child(1) { top: 0; right: 0; transform: rotate(-4deg); }
.about-skewers .skewer:nth-child(2) { top: 36%; left: 0; transform: rotate(3deg); }
@media (max-width: 900px) {
	.about-skewers { min-height: 420px; }
}

/* ---------- תפריט ---------- */
.menu-section { background: var(--bg); padding-bottom: 44px; }
.menu-note { text-align: center; color: var(--text-dim); font-size: .95rem; margin-bottom: 30px; }
.menu-note-after { margin: 30px 0 0; color: var(--ember); }

.menu-tabs { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-bottom: 46px; border-bottom: 1px solid var(--border-soft); padding-bottom: 0; }
.menu-tab {
	background: none; border: none; border-bottom: 3px solid transparent; color: var(--text-dim);
	padding: 12px 26px; font-family: var(--font-body); font-size: 1.1rem; font-weight: 500;
	cursor: pointer; transition: all .25s; margin-bottom: -1px;
}
.menu-tab:hover { color: var(--fire-bright); }
.menu-tab.is-active {
	color: var(--fire-bright); border-bottom-color: var(--fire);
	
}

.dish-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.dish-card {
	background: linear-gradient(170deg, var(--bg-card), #120f0b);
	border-radius: 2px;
	overflow: hidden; transition: transform .25s, box-shadow .25s;
	display: flex; flex-direction: column; position: relative;
}
.dish-card:hover { transform: translateY(-6px); box-shadow: var(--shadow), var(--glow); }
.dish-img { aspect-ratio: 4 / 3; overflow: hidden; position: relative; background: #0f0c09; }
.dish-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, filter .5s; }
.dish-card:hover .dish-img img { transform: scale(1.06); filter: brightness(1.08); }
.dish-img .dish-placeholder { object-fit: contain; padding: 16%; opacity: .45; }
.dish-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.dish-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.dish-price { color: var(--fire-bright); font-weight: 700; font-size: 1.2rem; white-space: nowrap; }
.dish-desc { color: var(--text-dim); font-size: .96rem; flex: 1; }
.dish-note { color: var(--ember); font-size: .95rem; font-weight: 600; }

.badge {
	display: inline-block; align-self: flex-start;
	background: linear-gradient(160deg, var(--fire-bright), var(--fire-deep)); color: #140d07;
	font-size: .8rem; font-weight: 700; padding: 4px 14px; border-radius: 0;
	
}
.dish-img .badge { position: absolute; top: 12px; right: 12px; z-index: 2; }

.price-options {
	list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px;
	border-top: 1px dashed var(--border); padding-top: 14px; margin-top: auto;
}
.price-options li {
	display: flex; justify-content: space-between; font-size: .92rem;
	background: rgba(232, 114, 42, 0.06); border: 1px solid rgba(232, 114, 42, 0.1);
	border-radius: 0; padding: 6px 12px;
}
.price-options span { color: var(--text-dim); }
.price-options b { color: var(--fire-bright); }

/* ---------- גלריה ---------- */
.gallery-section { background: var(--bg-alt); border-block: 1px solid var(--border-soft); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.gallery-item {
	display: block; overflow: hidden; border-radius: 2px; aspect-ratio: 1; position: relative;
	border: 1px solid var(--border-soft); transition: border-color .3s, box-shadow .3s;
}
.gallery-item:hover { border-color: var(--border); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s, filter .45s; }
.gallery-item:hover img { transform: scale(1.07); filter: brightness(1.12); }

/* ---------- לייטבוקס ---------- */
.lightbox {
	position: fixed; inset: 0; z-index: 300; background: rgba(8, 6, 4, 0.95);
	display: flex; align-items: center; justify-content: center; padding: 4vw;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 92vh; border-radius: 2px; box-shadow: var(--shadow), var(--glow); }
.lightbox-close {
	position: absolute; top: 18px; left: 24px; background: none; border: none;
	color: var(--fire-bright); font-size: 2.6rem; cursor: pointer; line-height: 1;
}

/* ---------- בואו לבקר ---------- */
.visit-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 46px; align-items: start; }
.visit-details { display: flex; flex-direction: column; gap: 34px; }
.visit-block { border-right: 2px solid var(--fire-deep); padding-right: 18px; }
.visit-block h3 { color: var(--fire-bright); margin-bottom: 10px; font-size: 1.25rem; }
.visit-block p { color: var(--text-dim); }
.visit-block .btn { margin-top: 14px; }
.visit-phone { font-size: 1.7rem; font-weight: 800; color: var(--fire-bright); direction: ltr; display: inline-block; }
.visit-map { border-radius: 2px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); }
.visit-map iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(.35) contrast(1.08) brightness(.9); }

/* ---------- פוטר ---------- */
.site-footer { background: #0a0806; border-top: 1px solid var(--border-soft); padding: 56px 0 90px; position: relative; }
.site-footer::before {
	content: ''; position: absolute; top: -1px; right: 50%; transform: translateX(50%);
	width: 220px; height: 2px; background: linear-gradient(90deg, transparent, var(--fire), transparent);
	
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.footer-logo { width: 160px; opacity: .92; }
.footer-details p { color: var(--text-dim); }
.footer-social { display: flex; gap: 22px; }
.footer-credit { font-size: .85rem; color: rgba(168, 156, 140, 0.5); margin-top: 8px; }

/* ---------- סרגל פעולות מובייל ---------- */
.mobile-actions {
	position: fixed; bottom: 0; inset-inline: 0; z-index: 90; display: none;
	background: rgba(10, 8, 6, 0.97); backdrop-filter: blur(10px);
	border-top: 1px solid var(--border);
	padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
	gap: 10px;
}
.mobile-actions a {
	flex: 1; text-align: center; padding: 12px 6px; border-radius: 0;
	font-weight: 700; font-size: .95rem; color: #140d07;
}
.ma-call { background: linear-gradient(160deg, var(--fire-bright), var(--fire-deep)); }
.ma-whatsapp { background: #4fce5d; }
.ma-waze { background: #57c8f2; }

/* ---------- אנימציות כניסה / יציאה ---------- */
.reveal {
	opacity: 0; transform: translateY(34px);
	transition:
		opacity .9s cubic-bezier(.22, 1, .36, 1),
		transform .9s cubic-bezier(.22, 1, .36, 1),
		filter .9s cubic-bezier(.22, 1, .36, 1);
	transition-delay: var(--d, 0s);
}
.reveal-blur { filter: blur(12px); transform: translateY(22px); }
.reveal-right { transform: translateX(52px); }
.reveal-left { transform: translateX(-52px); }
.reveal-scale { transform: scale(.92) translateY(20px); }
.reveal.is-visible { opacity: 1; transform: none; filter: none; }

/* כניסה קולנועית ל-Hero בטעינת העמוד */
.hero-in { opacity: 0; animation: hero-in 1.1s cubic-bezier(.22, 1, .36, 1) var(--d, 0s) forwards; }
@keyframes hero-in {
	from { opacity: 0; transform: translateY(30px); filter: blur(8px); }
	to   { opacity: 1; transform: none; filter: none; }
}
.hero h1.hero-in { animation-name: hero-title; animation-duration: 1.5s; }
@keyframes hero-title {
	0%   { opacity: 0; letter-spacing: .24em; filter: blur(12px); }
	100% { opacity: 1; letter-spacing: .01em; filter: none; }
}

/* החלפת קטגוריה בתפריט */
.menu-panel.is-active .dish-grid { animation: panel-in .55s cubic-bezier(.22, 1, .36, 1); }
@keyframes panel-in {
	from { opacity: 0; transform: translateY(22px); }
	to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal, .ghost { opacity: 1; transform: none; filter: none; transition: none; }
	.hero-in { opacity: 1; animation: none; }
	.section::before { animation: none; }
	.menu-panel.is-active .dish-grid { animation: none; }
	.hero-video { display: none; }
}

/* ---------- רספונסיב ---------- */
@media (max-width: 900px) {
	.visit-grid { grid-template-columns: 1fr; }
	.visit-map iframe { height: 320px; }
	.about-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 768px) {
	.section { padding: 70px 0; }
	.nav-toggle { display: block; z-index: 110; }
	.main-nav {
		position: fixed; inset: 0; background: rgba(10, 8, 6, 0.97); backdrop-filter: blur(14px);
		flex-direction: column; justify-content: center; gap: 34px;
		opacity: 0; visibility: hidden; transform: translateY(-12px);
		transition: opacity .3s ease, transform .3s ease, visibility .3s; z-index: 105;
	}
	.main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.main-nav ul { flex-direction: column; text-align: center; gap: 26px; }
	.main-nav a { font-size: 1.4rem; }
	.mobile-actions { display: flex; }
	.site-footer { padding-bottom: 130px; }
	.dish-grid { grid-template-columns: 1fr; }
	/* חץ הגלילה מעל סרגל הפעולות הקבוע */
	.hero-scroll { bottom: calc(92px + env(safe-area-inset-bottom)); }
}
