/**
 * Property Search - Dholera SIR hero styles
 *
 * Port of the static .sir-hero block. The background image arrives as an
 * editable CSS variable from the Elementor MEDIA control.
 *
 * @package PropertySearch
 */

.ps-sir-hero {
	--ps-sir-hero-image: none;
	--ps-sir-overlay-start: rgba(0, 41, 29, 0.92);
	--ps-sir-overlay-end: rgba(0, 98, 65, 0.7);
	--ps-sir-text: #ffffff;
	--ps-sir-accent: #ffcc00;
	--ps-sir-btn-text: #003d2b;

	background:
		linear-gradient(135deg, var(--ps-sir-overlay-start), var(--ps-sir-overlay-end)),
		var(--ps-sir-hero-image);
	background-size: cover;
	background-position: center;
	padding: 100px 0;
	color: var(--ps-sir-text);
	text-align: center;
	position: relative;
}

.ps-sir-hero::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 80px;
	background: linear-gradient(transparent, #f5f7f6);
	pointer-events: none;
}

.ps-sir-hero-inner {
	position: relative;
	z-index: 1;
	width: 100%;
	padding: 0 12px;
	margin: 0 auto;
}

.ps-sir-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 204, 0, 0.2);
	border: 1px solid var(--ps-sir-accent);
	color: var(--ps-sir-accent);
	padding: 8px 16px;
	border-radius: 6px;
	line-height: 1;
	font-size: 0.85rem;
	font-weight: 700;
	margin-bottom: 16px;
}

.ps-sir-badge :is(i, svg) {
	color: var(--ps-sir-accent);
}

.ps-sir-title {
	font-size: calc(1.475rem + 2.7vw);
	line-height: 1.2;
	font-weight: 700;
	margin: 0 0 16px;
	color: var(--ps-sir-text);
}

.ps-sir-lead {
	font-size: 1.25rem;
	opacity: 0.75;
	margin: 0 0 24px;
}

.ps-sir-cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--ps-sir-accent);
	color: var(--ps-sir-btn-text);
	padding: 16px 24px;
	font-size: 1rem;
	line-height: 1.5;
	border-radius: 50px;
	font-weight: 700;
	text-decoration: none;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ps-sir-cta:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 25px rgba(255, 204, 0, 0.35);
	color: var(--ps-sir-btn-text);
}

@media (min-width: 576px) { .ps-sir-hero-inner { max-width: 540px; } }
@media (min-width: 768px) { .ps-sir-hero-inner { max-width: 720px; } }
@media (min-width: 992px) { .ps-sir-hero-inner { max-width: 960px; } }
@media (min-width: 1200px) { .ps-sir-hero-inner { max-width: 1140px; } .ps-sir-title { font-size: 3.5rem; } }
@media (min-width: 1400px) { .ps-sir-hero-inner { max-width: 1320px; } }

@media (prefers-reduced-motion: reduce) {
	.ps-sir-cta {
		transition: none;
	}
}
