/**
 * Hero Event Widget Styles
 *
 * @package Development_Plugin
 */

.hero-event-widget {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.hero-event-wrapper {
	position: relative;
	width: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 400px;
}

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

.hero-event-content {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 1200px;
	padding: 60px 20px;
	text-align: center;
}

.hero-event-title {
	margin: 0 0 30px 0;
	font-size: 3rem;
	font-weight: 700;
	line-height: 1.2;
	color: #ffffff;
}

.hero-event-meta {
	margin-bottom: 40px;
	display: flex;
	flex-direction: column;
	gap: 15px;
	align-items: center;
}

.hero-event-date,
.hero-event-location,
.hero-event-organizer {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1.125rem;
	line-height: 1.6;
}

.hero-event-date-value,
.hero-event-time-value,
.hero-event-date-to-value,
.hero-event-time-to-value,
.hero-event-location-value,
.hero-event-organizer-value {
	color: #ffffff;
}

.hero-event-date-separator,
.hero-event-time-separator {
	margin: 0 5px;
	color: #ffffff;
	opacity: 0.8;
}

.hero-event-location-link {
	text-decoration: none;
	color: inherit;
	transition: opacity 0.3s ease;
}

.hero-event-location-link:hover {
	opacity: 0.8;
	text-decoration: underline;
}

/* .hero-event-time-value {
	margin-left: 10px;
} */

.hero-event-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 15px;
	margin-top: 30px;
}

.hero-event-btn {
	display: inline-block;
	padding: 14px 32px;
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	border-radius: 4px;
	border: 2px solid transparent;
	transition: all 0.3s ease;
	cursor: pointer;
	line-height: 1.4;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.hero-event-btn-primary {
	background-color: #77B2CB;
	border-color: #77B2CB;
	color: #ffffff;
}

.hero-event-btn-primary:hover {
	background-color: #5a9bb8;
	border-color: #5a9bb8;
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-event-btn-secondary {
	background-color: transparent;
	border-color: #ffffff;
	color: #ffffff;
}

.hero-event-btn-secondary:hover {
	background-color: #ffffff;
	color: #000000;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Light on Dark Color Scheme (default) */
.hero-event-color-scheme-light .hero-event-title,
.hero-event-color-scheme-light .hero-event-date,
.hero-event-color-scheme-light .hero-event-location,
.hero-event-color-scheme-light .hero-event-organizer,
.hero-event-color-scheme-light .hero-event-date-value,
.hero-event-color-scheme-light .hero-event-time-value,
.hero-event-color-scheme-light .hero-event-date-to-value,
.hero-event-color-scheme-light .hero-event-time-to-value,
.hero-event-color-scheme-light .hero-event-date-separator,
.hero-event-color-scheme-light .hero-event-time-separator,
.hero-event-color-scheme-light .hero-event-location-value,
.hero-event-color-scheme-light .hero-event-location-link,
.hero-event-color-scheme-light .hero-event-organizer-value {
	color: #ffffff;
}

.hero-event-color-scheme-light .hero-event-btn-secondary {
	border-color: #ffffff;
	color: #ffffff;
}

.hero-event-color-scheme-light .hero-event-btn-secondary:hover {
	background-color: #ffffff;
	color: #000000;
}

/* Dark on Light Color Scheme */
.hero-event-color-scheme-dark .hero-event-overlay {
	background-color: rgba(255, 255, 255, 0.7);
}

.hero-event-color-scheme-dark .hero-event-title,
.hero-event-color-scheme-dark .hero-event-date,
.hero-event-color-scheme-dark .hero-event-location,
.hero-event-color-scheme-dark .hero-event-organizer,
.hero-event-color-scheme-dark .hero-event-date-value,
.hero-event-color-scheme-dark .hero-event-time-value,
.hero-event-color-scheme-dark .hero-event-date-to-value,
.hero-event-color-scheme-dark .hero-event-time-to-value,
.hero-event-color-scheme-dark .hero-event-date-separator,
.hero-event-color-scheme-dark .hero-event-time-separator,
.hero-event-color-scheme-dark .hero-event-location-value,
.hero-event-color-scheme-dark .hero-event-location-link,
.hero-event-color-scheme-dark .hero-event-organizer-value {
	color: #000000;
}

.hero-event-color-scheme-dark .hero-event-btn-primary {
	background-color: #3E4349;
	border-color: #3E4349;
	color: #ffffff;
}

.hero-event-color-scheme-dark .hero-event-btn-primary:hover {
	background-color: #2a2d31;
	border-color: #2a2d31;
}

.hero-event-color-scheme-dark .hero-event-btn-secondary {
	border-color: #000000;
	color: #000000;
}

.hero-event-color-scheme-dark .hero-event-btn-secondary:hover {
	background-color: #000000;
	color: #ffffff;
}

/* Empty State */
.hero-event-empty {
	padding: 40px 20px;
	text-align: center;
	background-color: #f5f5f5;
	border: 2px dashed #ccc;
	border-radius: 4px;
}

.hero-event-empty p {
	margin: 0;
	color: #666;
	font-size: 1rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
	.hero-event-content {
		padding: 40px 20px;
	}

	.hero-event-title {
		font-size: 24px;
		margin-bottom: 20px;
	}

	.hero-event-meta {
		margin-bottom: 30px;
	}

	.hero-event-date,
	.hero-event-location,
	.hero-event-organizer {
		font-size: 1rem;
	}

	.hero-event-btn {
		padding: 12px 24px;
		font-size: 0.9375rem;
		width: 100%;
		max-width: 300px;
	}

	.hero-event-buttons {
		flex-direction: column;
		align-items: center;
	}

	.hero-event-buttons .hero-event-btn + .hero-event-btn {
		margin-left: 0 !important;
		margin-top: 15px;
	}
}

@media (max-width: 480px) {
	.hero-event-title {
		font-size: 24px;
	}

	.hero-event-content {
		padding: 30px 15px;
	}
}

/* Elementor Editor Styles */
.elementor-editor-active .hero-event-wrapper {
	min-height: 300px;
}

