/**
 * עמוד בית – הירו וידאו (תבנית page-home-hero)
 */

.pizza-home-hero-main {
	padding: 0 !important;
	margin: 0;
	max-width: none;
	background: transparent;
}

/*
 * Hello Elementor (theme.css): body:not([class*=elementor-page-]) .site-main
 * מקבל max-width 500–1140px — עמוד ההירו בלי Elementor נשאר צר.
 */
body.pizza-page-home-hero #content.site-main.pizza-home-hero-main,
body.pizza-page-home-hero main.site-main.pizza-home-hero-main {
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-inline: 0 !important;
	box-sizing: border-box;
}

body.pizza-page-home-hero {
	overflow-x: hidden;
}

.pizza-home-hero {
	--pizza-home-hero-primary: var(--primary-blue, #1e3a8a);
	--pizza-home-hero-secondary: var(--secondary-orange, #f97316);

	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	width: 100%;
	color: #fff;
	overflow: hidden;
	font-family: 'Heebo', 'Segoe UI', Roboto, Arial, sans-serif;
	direction: rtl;
}

/* וידאו תמיד בשכבה האחורית */
.pizza-home-hero__video {
	position: absolute;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	z-index: 0;
	transform: translate(-50%, -50%);
	object-fit: cover;
	pointer-events: none;
}

.pizza-home-hero__overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	pointer-events: none;
}

/* בלוק עליון: כותרת + פסקה + כפתורים — ממורכז אנכית בשטח מעל הקרוסלה */
.pizza-home-hero__content {
	position: relative;
	z-index: 2;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	max-width: 900px;
	width: 100%;
	margin-inline: auto;
	padding: 0 20px;
	min-height: 0;
	box-sizing: border-box;
}

.pizza-home-hero__cta-row {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 1100px;
	margin-inline: auto;
	margin-top: 0.35rem;
}

.pizza-home-hero__cta-row .pizza-home-hero__btns {
	margin-top: 0;
	width: 100%;
}

/* קרוסלה בתחתית ההירו — לא חלק ממירכוז התוכן העליון */
.pizza-home-hero__branches-slot {
	position: relative;
	z-index: 15;
	flex: 0 0 auto;
	width: 100%;
	max-width: min(760px, 100%);
	margin-inline: auto;
	padding: 0 18px clamp(1rem, 3vw, 2rem);
	box-sizing: border-box;
	pointer-events: none;
}

@media (min-width: 1024px) {
	.pizza-home-hero__branches-slot {
		max-width: min(1200px, 100%);
	}
}

.pizza-home-hero__branches-slot > * {
	pointer-events: auto;
}

.pizza-home-hero__branches-slot:empty {
	display: none;
	padding: 0;
}

.pizza-home-hero__top-label {
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 3px;
	margin-bottom: 15px;
	display: block;
	color: var(--pizza-home-hero-secondary);
	font-size: 1.1rem;
}

.pizza-home-hero__title {
	font-size: clamp(2.5rem, 8vw, 5.5rem);
	margin: 0;
	font-weight: 900;
	letter-spacing: -1px;
	line-height: 1.1;
	text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.pizza-home-hero__title-accent {
	color: var(--pizza-home-hero-secondary);
}

.pizza-home-hero__lead {
	font-size: clamp(1.1rem, 3vw, 1.6rem);
	margin: 25px auto 45px;
	opacity: 0.95;
	max-width: 650px;
	line-height: 1.4;
}

.pizza-home-hero__btns {
	display: flex;
	gap: 28px;
	justify-content: center;
	flex-wrap: wrap;
	align-items: center;
}

@media (min-width: 769px) {
	.pizza-home-hero__btns {
		gap: 48px;
	}
}

.pizza-home-hero__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding: 18px 50px;
	border-radius: 50px;
	font-weight: 700;
	font-size: 1.3rem;
	text-decoration: none;
	transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
	cursor: pointer;
	font-family: inherit;
	border: 2px solid transparent;
	-webkit-tap-highlight-color: transparent;
}

.pizza-home-hero__btn--primary {
	background-color: var(--pizza-home-hero-secondary);
	color: #fff;
	border-color: var(--pizza-home-hero-secondary);
	box-shadow: 0 10px 20px rgba(249, 115, 22, 0.4);
}

/* Hello reset.css: button:focus/hover → רקע #c36 — דורסים בכל מצבי אינטראקציה */
button.pizza-home-hero__btn--primary:hover {
	transform: translateY(-5px);
	background-color: #ea580c;
	border-color: #ea580c;
	color: #fff;
	box-shadow: 0 15px 30px rgba(249, 115, 22, 0.5);
}

button.pizza-home-hero__btn--primary:focus:not(:focus-visible) {
	outline: none;
}

button.pizza-home-hero__btn--primary:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

button.pizza-home-hero__btn--primary:focus,
button.pizza-home-hero__btn--primary:active {
	background-color: var(--pizza-home-hero-secondary);
	color: #fff;
	border-color: var(--pizza-home-hero-secondary);
	box-shadow: 0 10px 20px rgba(249, 115, 22, 0.4);
}

button.pizza-home-hero__btn--primary:active {
	transform: translateY(-2px);
	background-color: #ea580c;
	border-color: #ea580c;
}

.pizza-home-hero__btn--outline {
	background-color: transparent;
	color: #fff;
	border-color: #fff;
}

.pizza-home-hero__btn--outline:hover {
	background-color: #fff;
	color: var(--pizza-home-hero-primary);
}

/* זכיינות + מפעל — קישורים מודגשים מתחת ל־CTA הראשיים */
.pizza-home-hero__highlights {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 14px 22px;
	margin-top: clamp(1.1rem, 2.8vw, 1.85rem);
	width: 100%;
	max-width: 720px;
}

.pizza-home-hero__btn--spotlight {
	background-color: rgba(255, 255, 255, 0.14);
	color: #fff;
	border: 2px solid var(--pizza-home-hero-secondary);
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.2) inset,
		0 6px 24px rgba(0, 0, 0, 0.28),
		0 0 20px rgba(249, 115, 22, 0.35);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	font-weight: 800;
	letter-spacing: 0.02em;
}

.pizza-home-hero__btn--spotlight:hover {
	background-color: var(--pizza-home-hero-secondary);
	color: #fff;
	border-color: var(--pizza-home-hero-secondary);
	transform: translateY(-4px);
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.15) inset,
		0 12px 32px rgba(249, 115, 22, 0.45);
}

.pizza-home-hero__btn--spotlight:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

@media (max-width: 768px) {
	.pizza-home-hero {
		min-height: 85vh;
	}

	.pizza-home-hero__title {
		font-size: 3rem;
	}

	.pizza-home-hero__btns {
		flex-direction: column;
		gap: 12px;
	}

	.pizza-home-hero__btn {
		width: 100%;
		padding: 15px 20px;
	}

	.pizza-home-hero__highlights {
		flex-direction: column;
		gap: 10px;
	}

	.pizza-home-hero__highlights .pizza-home-hero__btn--spotlight {
		width: 100%;
		max-width: 320px;
	}
}
