/* =============================================================
   Idan Drill — Hero widget
   The overlay is a SIBLING of the content, not an ancestor. The
   .__container always sits above (z-index:2) and receives clicks —
   no pointer-events workarounds needed.
============================================================= */

.idan-hero-widget {
	position: relative;

	/* Full-bleed: always span the full viewport even when nested inside a
	   narrower Elementor container. The two negative margins shift the
	   100vw-wide widget back so its left + right edges hit the viewport
	   edges regardless of the parent's max-width. RTL-safe (vw is
	   direction-independent). */
	width: 100vw;
	max-width: 100vw;
	margin-left:  calc(50% - 50vw);
	margin-right: calc(50% - 50vw);

	overflow: hidden;
	min-height: 100vh;
	margin-top: -80px;           /* pull behind site header — adjust via the panel */
	display: flex;
	color: #F4F3F1;
	box-sizing: border-box;
}

/* Background — sibling of container, never blocks clicks. */
.idan-hero-widget__bg {
	position: absolute;
	inset: 0;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	pointer-events: none;
	z-index: 0;
}

/* Overlay — sibling of container, never blocks clicks. */
.idan-hero-widget__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, #181A1E69 0%, #000000 100%);
	pointer-events: none;
	z-index: 1;
}

/* Content container — sits ABOVE bg + overlay and is what clicks land on. */
.idan-hero-widget__container {
	position: relative;
	z-index: 2;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 140px 24px 60px;    /* extra top padding pushes content below the header line */
	box-sizing: border-box;
}
@media (max-width: 1024px) {
	.idan-hero-widget         { margin-top: -70px; }
	.idan-hero-widget__container { padding: 110px 20px 50px; }
}
@media (max-width: 767px) {
	.idan-hero-widget         { margin-top: -60px; }
	.idan-hero-widget__container { padding: 90px 16px 40px; }
}

.idan-hero-widget__inner {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	text-align: center;
}

/* ── Seal ──────────────────────────────────────────────── */
.idan-hero-widget__seal {
	display: block;
	width: 200px;
	max-width: 100%;
	height: auto;
	will-change: filter;
}
@media (max-width: 1024px) { .idan-hero-widget__seal { width: 160px; } }
@media (max-width: 767px)  { .idan-hero-widget__seal { width: 120px; } }
.idan-hero-widget__seal--glow {
	animation: idan-hero-seal-twinkle .34s linear infinite;
}
@keyframes idan-hero-seal-twinkle {
	0%, 100% {
		filter: drop-shadow(0 0 6px  rgba(255,170,80,.22))
		        drop-shadow(0 0 12px rgba(255,140,60,.28));
	}
	50% {
		filter: drop-shadow(0 0 10px rgba(255,180,90,.38))
		        drop-shadow(0 0 20px rgba(255,150,70,.45));
	}
}
@media (max-width: 767px) {
	.idan-hero-widget__seal--glow { animation-duration: .5s; }
}

/* ── Titles ────────────────────────────────────────────── */
.idan-hero-widget__titles {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}
.idan-hero-widget__title {
	margin: 0;
	font-size: 72px;
	font-weight: 900;
	line-height: 1.05;
	color: #F4F3F1;
}
.idan-hero-widget__subtitle {
	margin: 0;
	font-size: 48px;
	font-weight: 700;
	line-height: 1.1;
	color: #F4F3F1;
}
@media (max-width: 1024px) {
	.idan-hero-widget__title    { font-size: 52px; }
	.idan-hero-widget__subtitle { font-size: 38px; }
}
@media (max-width: 767px) {
	.idan-hero-widget__title    { font-size: 32px; }
	.idan-hero-widget__subtitle { font-size: 26px; }
}

/* ── Copy ──────────────────────────────────────────────── */
.idan-hero-widget__copy {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 780px;
}
.idan-hero-widget__copy p {
	margin: 0;
	font-size: 20px;
	line-height: 1.55;
	color: #D6D6D6;
}
@media (max-width: 767px) {
	.idan-hero-widget__copy p { font-size: 16px; }
}

/* ── CTA row ───────────────────────────────────────────── */
.idan-hero-widget__cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: center;
	justify-content: center;
	width: 100%;
}
/* On mobile, when the CTA row IS shown, make buttons full-width stacked. */
@media (max-width: 767px) {
	.idan-hero-widget__cta-row { flex-direction: column; gap: 10px; }
	.idan-hero-widget__cta      { width: 100%; max-width: 360px; }
}
.idan-hero-widget__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 16px 28px;
	border-radius: 14px;
	font-size: 18px;
	font-weight: 700;
	text-decoration: none;
	border: 2px solid transparent;
	transition: transform .15s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
	cursor: pointer;
}
.idan-hero-widget__cta:hover  { transform: translateY(-1px); }
.idan-hero-widget__cta:active { transform: translateY(0);    }
.idan-hero-widget__cta--primary {
	background-color: #FBBD23;
	color: #111317;
}
.idan-hero-widget__cta--secondary {
	background-color: rgba(0,0,0,0.55);
	color: #F4F3F1;
	border-color: rgba(244,243,241,0.5);
	backdrop-filter: blur(2px);
}
.idan-hero-widget__cta--glow {
	animation: idan-hero-cta-glow 2s ease-in-out infinite;
}
@keyframes idan-hero-cta-glow {
	0%, 100% { box-shadow: 0 0 0 rgba(251,189,35,0), 0 0 16px rgba(251,189,35,0.25); }
	50%      { box-shadow: 0 0 26px rgba(251,189,35,0.45), 0 0 56px rgba(251,189,35,0.7); }
}

/* ── Features ──────────────────────────────────────────── */
.idan-hero-widget__features {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 32px;
}
@media (max-width: 1024px) { .idan-hero-widget__features { gap: 20px; } }
@media (max-width: 767px)  {
	.idan-hero-widget__features { gap: 12px 18px; }
	.idan-hero-widget__features-item { font-size: 14px; }
}
.idan-hero-widget__features-item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 16px;
	color: #F4F3F1;
}
.idan-hero-widget__features-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #FBBD23;
}
.idan-hero-widget__features-icon i   { font-size: 22px; }
.idan-hero-widget__features-icon svg { width: 22px; height: 22px; fill: currentColor; }

/* ── Per-device visibility classes (set by render()) ── */
@media (max-width: 767px)                       { .idan-hide-mobile  { display: none !important; } }
@media (min-width: 768px) and (max-width: 1024px){ .idan-hide-tablet  { display: none !important; } }
@media (min-width: 1025px)                      { .idan-hide-desktop { display: none !important; } }
.idan-hide-all { display: none !important; }

/* Reduced motion — pause all hero animations. */
@media (prefers-reduced-motion: reduce) {
	.idan-hero-widget__seal--glow,
	.idan-hero-widget__cta--glow {
		animation: none !important;
	}
}
