/**
 * Home Hero Block Styles - Optimized
 * Home hero block styles
 */

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

@keyframes fadeInRight {
	from { opacity: 0; transform: translateX(-40px); }
	to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* Base */
.home-hero {
	position: relative;
	width: 100vw;
	max-width: none !important;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 0;
	overflow: hidden;
	background: linear-gradient(135deg, var(--color-violet-gradient-end) 0%, var(--color-violet-gradient-mid) 50%, var(--color-violet-gradient-start) 100%);
}

.acfe-flexible-grid .home-hero,
.container .home-hero,
.site-main .home-hero {
	width: 100vw;
	max-width: none !important;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.home-hero__container {
	position: relative;
	width: 100%;
	min-height: 655px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	animation: fadeIn 0.8s ease-out;
}

.home-hero__content-wrapper {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	padding: 40px 0 40px 10%;
}

.home-hero__content-wrapper--no-image {
	flex-direction: row;
	justify-content: flex-start;
	width: 100%;
	max-width: 100%;
	padding: 40px 10% 40px 0;
}

.home-hero__content-wrapper--no-image .home-hero__right-side {
	flex: 0 1 auto;
	max-width: 960px;
}

/* Left Side - Person Image */
.home-hero__left-side {
	position: relative;
	flex-shrink: 0;
	width: 670.28px;
	height: 655px;
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
}

.home-hero__person {
	position: relative;
	width: 100%;
	height: 100%;
	animation: fadeInRight 1s ease-out 0.3s both;
}

.home-hero__person-img {
	width: auto;
	height: 694px;
	max-width: none;
	object-fit: contain;
}

/* Right Side - Content */
.home-hero__right-side {
	flex: 1;
	max-width: 960px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 16px;
	padding: 40px 100px;
	text-align: right;
	direction: rtl;
}

.home-hero__title {
	font-family: var(--font-family-hebrew);
	font-size: var(--font-size-7xl);
	font-weight: 800;
	line-height: 1.1;
	color: var(--color-text-primary);
	margin: 0;
	word-break: break-word;
	animation: fadeInUp 0.8s ease-out 0.2s both;
}

.home-hero__description {
	color: var(--color-text-primary);
	margin: 0;
	animation: fadeInUp 0.8s ease-out 0.4s both;
}

.home-hero__description p {
	font-family: var(--font-family-hebrew);
	font-size: var(--font-size-xl);
	font-weight: var(--font-weight-normal);
	line-height: 1.3;
	margin: 0;
}

/* Buttons */
.home-hero__buttons {
	display: flex;
	align-items: center;
	gap: 16px;
	padding-top: 16px;
	flex-wrap: wrap;
	animation: fadeInUp 0.8s ease-out 0.6s both;
}

.home-hero__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 16px 32px;
	border-radius: 76px;
	font-family: var(--font-family-hebrew);
	font-size: var(--font-size-lg);
	font-weight: var(--font-weight-normal);
	line-height: 1.3;
	text-decoration: none;
	transition: all var(--transition-base);
	cursor: pointer;
}

.home-hero__button--primary {
	background-color: var(--color-white);
	color: var(--color-violet-primary);
	border: 1px solid var(--color-white);
}

.home-hero__button--primary:hover,
.home-hero__button--primary:focus {
	background-color: var(--color-bg-grey);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.home-hero__button-icon {
	width: 16px;
	height: 14px;
	flex-shrink: 0;
}

.home-hero__button--secondary {
	background-color: transparent;
	color: var(--color-white);
	border: 1px solid var(--color-white);
}

.home-hero__button--secondary:hover,
.home-hero__button--secondary:focus {
	background-color: rgba(255, 255, 255, 0.1);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Tablet */
@media (max-width: 1024px) {
	.home-hero { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
	.home-hero__container { min-height: 550px; }
	.home-hero__content-wrapper { flex-direction: row-reverse; max-width: 100%; padding: 40px 60px; gap: 20px; }
	.home-hero__content-wrapper--no-image { flex-direction: row; justify-content: flex-start; padding: 40px 10% 40px 60px; }
	.home-hero__content-wrapper--no-image .home-hero__right-side { flex: 0 1 auto; max-width: 60%; }
	.home-hero__left-side { width: 500px; height: 550px; }
	.home-hero__person-img { height: 580px; }
	.home-hero__right-side { padding: 40px 60px; }
	.home-hero__title { font-size: var(--font-size-6xl); }
	.home-hero__description p { font-size: var(--font-size-lg); }
	.home-hero__button { font-size: var(--font-size-base); padding: 14px 28px; }
}

/* Mobile */
@media (max-width: 768px) {
	.home-hero { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
	.home-hero__container { min-height: 691px; }
	.home-hero__content-wrapper { flex-direction: column; align-items: center; justify-content: flex-start; padding: 32px 24px; gap: 0; }
	.home-hero__content-wrapper--no-image .home-hero__right-side { max-width: 100%; }
	.home-hero__right-side { order: 1; width: 100%; max-width: 100%; padding: 0; align-items: center; text-align: center; gap: 16px; }
	.home-hero__title { font-size: var(--font-size-5xl); text-align: center; }
	.home-hero__description { width: 100%; }
	.home-hero__description p { font-size: var(--font-size-base); text-align: center; }
	.home-hero__buttons { width: 100%; flex-direction: column; gap: 16px; padding-top: 16px; }
	.home-hero__button { width: 100%; padding: 12px 32px; font-size: var(--font-size-lg); }
	.home-hero__button--primary { order: 1; }
	.home-hero__button--secondary { order: 2; }
	.home-hero__left-side { order: 2; width: 100%; height: 318px; margin-top: 24px; position: relative; }
	.home-hero__person { width: 325.852px; height: 318px; margin: 0 auto; }
	.home-hero__person-img { height: 337px; width: auto; }
}

/* Small Mobile */
@media (max-width: 402px) {
	.home-hero__container { min-height: 600px; }
	.home-hero__content-wrapper { padding: 24px 16px; }
	.home-hero__title { font-size: var(--font-size-4xl); }
	.home-hero__description p { font-size: var(--font-size-sm); }
	.home-hero__button { font-size: var(--font-size-base); padding: 10px 24px; }
	.home-hero__left-side { height: 280px; }
	.home-hero__person { width: auto; height: 280px; }
	.home-hero__person-img { height: auto; }
}

/* Accessibility */
.home-hero__button:focus { outline: 2px solid var(--color-white); outline-offset: 2px; }
.home-hero__button--primary:focus { outline-color: var(--color-violet-primary); }

@media (prefers-reduced-motion: reduce) {
	.home-hero__container,
	.home-hero__title,
	.home-hero__description,
	.home-hero__buttons,
	.home-hero__person,
	.home-hero__button {
		animation: none !important;
		transition: none;
	}
}
