/**
 * Hero Section
 *
 * @package EGCI_Template
 * @since 1.0.0
 */

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
	background: linear-gradient(135deg, var(--egci-primary) 0%, var(--egci-secondary) 100%);
	color: #ffffff;
	padding: 6rem 0;
	text-align: center;
	position: relative;
	overflow: hidden;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	height: 100vh;
	align-items: center;
    justify-content: center;
    display: flex;
}

.hero-section--has-image {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.hero-section--has-video {
	background: none;
}

.hero-section__image-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.4);
	z-index: 1;
}

.hero-section__video-wrapper {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	z-index: 0;
}

.hero-section__video {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	object-fit: cover;
}

.hero-section__video-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.7);
	z-index: 1;
}

.hero-section__content {
	max-width: 800px;
	margin: 0 auto;
	position: relative;
	z-index: 2;
}

.hero-section__title {
	font-size: 3rem;
	margin-bottom: 1rem;
	color: #ffffff;
}

.hero-section__subtitle {
	font-size: 1.25rem;
	margin-bottom: 2rem;
	opacity: 0.9;
}

.hero-section__cta-group {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin-top: 1.5rem;
}

.hero-section__cta {
	margin-top: 0;
}

.hero-section__cta--secondary {
	background-color: transparent !important;
	color: #fff !important;
	border: 1px solid rgba(255, 255, 255, 0.9) !important;
}

.hero-section__cta--secondary:hover {
	background-color: rgba(255, 255, 255, 0.15) !important;
	color: #fff !important;
	border-color: #fff !important;
}

@media (max-width: 480px) {
	.hero-section__cta-group {
		flex-direction: column;
		gap: 0.75rem;
	}
	.hero-section__cta-group .btn {
		width: 100%;
		justify-content: center;
	}
}

