/* ==========================================================================
   Homepage hero — [owc_home_hero]. See home-hero.php for the "why a
   standalone component" rationale. Scoped under .owc-hero, enqueued only
   on the front page (see owc_child_enqueue_home_hero_assets()).

   Noticeably shorter than the Divi slider it replaces (that one used
   custom_padding: 250px top/bottom, ~750-800px total) — this targets
   ~650px on desktop, still full-bleed but not a full screen's worth.
   ========================================================================== */

.owc-hero {
	position: relative;
	width: 100%;
	height: 72vh;
	min-height: 500px;
	max-height: 680px;
	overflow: hidden;
	background: #1a1a1a;
}

.owc-hero-slot {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.8s ease;
}

.owc-hero-slot.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 1;
}

.owc-hero-media {
	position: absolute;
	inset: 0;
}

.owc-hero-media-item {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 1s ease;
}

.owc-hero-media-item.is-active {
	opacity: 1;
}

.owc-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(20, 8, 15, 0.55) 0%,
		rgba(20, 8, 15, 0.35) 45%,
		rgba(20, 8, 15, 0.6) 100%
	);
}

.owc-hero-content {
	position: relative;
	z-index: 2;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 40px;
}

/* Trust line — condensed from the old awards/reviews slide (see
   home-hero.php), styled after antleraddiction.com's rating line: plain
   text above the headline, no boxed background, stars slightly larger
   and gold rather than the brand maroon so it doesn't read as a link. */
.owc-hero-trust {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	font-size: 1.05em;
	font-weight: 600;
	color: #ffffff;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.owc-hero-stars {
	color: #f0b429;
	font-size: 1.15em;
	letter-spacing: 1px;
}

.owc-hero-heading {
	margin: 0 0 16px;
	max-width: 640px;
	font-size: 2.5rem !important;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.01em;
	color: #ffffff;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.owc-hero-phone {
	margin: 0 0 24px;
}

.owc-hero-phone a {
	font-size: 1.15em;
	font-weight: 600;
	color: #ffffff;
	text-decoration: none;
}

.owc-hero-phone a:hover {
	text-decoration: underline;
}

.owc-hero-buttons {
	display: flex;
	gap: 16px;
}

.owc-hero-button {
	display: inline-block;
	padding: 12px 30px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	border: 1.5px solid transparent;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

/* Solid, light — a dark maroon slab was disappearing into the already-
   darkened video and, next to an identical second one, read as one odd
   double-width block rather than two buttons. */
.owc-hero-button--primary {
	background-color: #ffffff;
	color: #511439;
	border-color: #ffffff;
}

.owc-hero-button--primary:hover {
	background-color: #f0e6ec;
	border-color: #f0e6ec;
}

/* Outline — gives the pair a clear primary/secondary hierarchy instead of
   two identical buttons side by side. */
.owc-hero-button--secondary {
	background-color: transparent;
	color: #ffffff;
	border-color: rgba(255, 255, 255, 0.8);
}

.owc-hero-button--secondary:hover {
	background-color: rgba(255, 255, 255, 0.15);
	border-color: #ffffff;
}

.owc-hero-dots {
	position: absolute;
	z-index: 2;
	left: 0;
	right: 0;
	bottom: 20px;
	display: flex;
	justify-content: center;
	gap: 10px;
}

.owc-hero-dot {
	width: 9px;
	height: 9px;
	padding: 0;
	border: 1.5px solid rgba(255, 255, 255, 0.7);
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.owc-hero-dot.is-active {
	background-color: #ffffff;
}

@media (max-width: 767px) {
	.owc-hero {
		height: auto;
		min-height: 460px;
		max-height: none;
	}

	.owc-hero-content {
		padding: 0 24px;
	}

	.owc-hero-heading {
		font-size: 1.75rem !important;
	}

	.owc-hero-buttons {
		flex-wrap: wrap;
	}
}
