/**
 * ELCO Alba Iulia – Custom Styles
 */

/* ─── Hero Section ─── */
.elco-hero {
	background: linear-gradient(135deg, #1A2744 0%, #0d1a33 40%, #162240 100%) !important;
	position: relative;
}

.elco-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background:
		radial-gradient(ellipse at 20% 80%, rgba(247, 168, 0, 0.08) 0%, transparent 60%),
		radial-gradient(ellipse at 80% 20%, rgba(21, 101, 192, 0.08) 0%, transparent 60%);
	pointer-events: none;
}

.elco-hero .wp-block-cover__inner-container {
	position: relative;
	z-index: 1;
}

.elco-hero-stats {
	gap: 2rem !important;
}

.elco-hero-stats .wp-block-separator {
	width: 1px !important;
	height: 40px;
	margin: 0;
	opacity: 0.3;
}

/* ─── Services Grid ─── */
.elco-services-grid .wp-block-column {
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.elco-services-grid .wp-block-column:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

/* ─── Partner Logos ─── */
.elco-partners img {
	max-height: 70px;
	width: auto;
	opacity: 0.8;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.elco-partners img:hover {
	opacity: 1;
	transform: scale(1.05);
}

/* ─── Team Grid ─── */
.elco-team .wp-block-column {
	text-align: center;
}

.elco-team img {
	border-radius: 50%;
	aspect-ratio: 1;
	object-fit: cover;
}

/* ─── Testimonials ─── */
.elco-testimonials .wp-block-column {
	transition: transform 0.2s ease;
}

.elco-testimonials .wp-block-column:hover {
	transform: translateY(-2px);
}

/* ─── Stats Section ─── */
.elco-stats {
	text-align: center;
}

.elco-stat-number {
	font-size: 3rem;
	font-weight: 800;
	line-height: 1;
	color: var(--wp--preset--color--accent-1);
}

/* ─── CTA Section ─── */
.elco-cta {
	text-align: center;
}

.elco-cta .wp-block-buttons {
	justify-content: center;
}

/* ─── Header Nav CTA ─── */
.elco-nav-cta .wp-block-navigation-item__content {
	background-color: var(--wp--preset--color--accent-1);
	color: var(--wp--preset--color--contrast) !important;
	font-weight: 700 !important;
	padding: 0.55rem 1.35rem !important;
	border-radius: 4px;
	transition: all 0.2s ease;
}

.elco-nav-cta .wp-block-navigation-item__content:hover {
	background-color: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base) !important;
}

/* In overlay/mobile menu */
.wp-block-navigation__responsive-container.is-menu-open .elco-nav-cta .wp-block-navigation-item__content {
	background-color: var(--wp--preset--color--accent-1);
	color: var(--wp--preset--color--contrast) !important;
	display: inline-block;
	margin-top: 0.5rem;
}

/* ─── Footer ─── */
.wp-block-group.has-contrast-background-color a {
	color: var(--wp--preset--color--accent-5);
	text-decoration: none;
}

.wp-block-group.has-contrast-background-color a:hover {
	color: var(--wp--preset--color--accent-1);
}

/* ─── General link arrows ─── */
a[href$="→"] {
	text-decoration: none;
}

/* ─── Responsive ─── */
@media (max-width: 781px) {
	.elco-hero-stats {
		gap: 1.25rem !important;
	}

	.elco-hero-stats .wp-block-separator {
		display: none;
	}

	.elco-partners img {
		max-height: 40px;
	}

	.elco-stat-number {
		font-size: 2.25rem;
	}
}
