/* ==========================================================================
   Hero Section - Split Layout
   ========================================================================== */

.hero-split {
	display: grid;
	grid-template-columns: 55% 45%;
	min-height: 600px;
	overflow: hidden;
}

/* Animations
   ========================================================================== */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInLeft {
	from {
		opacity: 0;
		transform: translateX(-30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes fadeInRight {
	from {
		opacity: 0;
		transform: translateX(30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes scaleIn {
	from {
		opacity: 0;
		transform: scale(1.1);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes slideInBar {
	from {
		width: 0;
	}
	to {
		width: 60px;
	}
}

@keyframes triangleIn {
	from {
		opacity: 0;
		transform: translate(-20px, 20px);
	}
	to {
		opacity: 1;
		transform: translate(0, 0);
	}
}

/* Left Content Area
   ========================================================================== */
.hero-content-area {
	background: #fafafa;
	display: flex;
	align-items: center;
	padding: 60px 0;
}

.hero-content-inner {
	width: 100%;
	max-width: 680px;
	margin-left: auto;
	padding: 0 60px 0 40px;
}

/* Hero Text */
.hero-text {
	margin-bottom: 48px;
}

.hero-headline {
	font-size: clamp(36px, 4vw, 52px);
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 20px;
	letter-spacing: -0.03em;
	line-height: 1.1;
	opacity: 0;
	animation: fadeInUp 0.8s ease forwards;
	animation-delay: 0.3s;
}

.hero-headline em {
	font-style: normal;
	color: var(--morrell-red, #900);
}

.hero-subheadline {
	font-size: 18px;
	font-weight: 400;
	color: #555;
	margin: 0;
	line-height: 1.6;
	max-width: 480px;
	opacity: 0;
	animation: fadeInUp 0.8s ease forwards;
	animation-delay: 0.5s;
}

/* Red accent line - animated */
.hero-text::before {
	content: '';
	display: block;
	width: 60px;
	height: 4px;
	background: var(--morrell-red, #900);
	margin-bottom: 24px;
	border-radius: 2px;
	animation: slideInBar 0.6s ease forwards;
	animation-delay: 0.1s;
}

/* Product Cards - Stacked Layout with staggered animation
   ========================================================================== */
.product-cards {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.product-card {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 24px;
	background: #ffffff;
	border-radius: 10px;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
	border: 1px solid #eee;
	opacity: 0;
	animation: fadeInLeft 0.6s ease forwards;
}

/* Staggered delays for cards */
.product-card:nth-child(1) { animation-delay: 0.6s; }
.product-card:nth-child(2) { animation-delay: 0.7s; }
.product-card:nth-child(3) { animation-delay: 0.8s; }
.product-card:nth-child(4) { animation-delay: 0.9s; }
.product-card:nth-child(5) { animation-delay: 1.0s; }
.product-card:nth-child(6) { animation-delay: 1.1s; }

.product-card:hover {
	transform: translateX(6px);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	border-color: transparent;
}

/* Product Icon */
.product-icon {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: rgba(153, 0, 0, 0.08);
	border-radius: 10px;
	transition: background 0.3s ease, transform 0.3s ease;
}

.product-icon i {
	font-size: 18px;
	color: var(--morrell-red, #900);
	transition: transform 0.3s ease, color 0.3s ease;
}

.product-card:hover .product-icon {
	background: var(--morrell-red, #900);
	transform: scale(1.05);
}

.product-card:hover .product-icon i {
	color: #ffffff;
	transform: rotate(-5deg) scale(1.1);
}

/* Product Info */
.product-info {
	flex: 1;
	min-width: 0;
}

.product-title {
	font-size: 15px;
	font-weight: 600;
	color: #1a1a1a;
	margin: 0 0 2px;
	letter-spacing: -0.01em;
}

.product-description {
	font-size: 13px;
	color: #777;
	margin: 0;
}

/* Product Arrow */
.product-arrow {
	flex-shrink: 0;
	opacity: 0;
	transform: translateX(-8px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.product-arrow i {
	font-size: 12px;
	color: var(--morrell-red, #900);
}

.product-card:hover .product-arrow {
	opacity: 1;
	transform: translateX(0);
}

/* CTA Card Variant */
.product-card-cta {
	background: var(--morrell-red, #900);
	border-color: var(--morrell-red, #900);
}

.product-card-cta .product-icon {
	background: rgba(255, 255, 255, 0.2);
}

.product-card-cta .product-icon i {
	color: #ffffff;
}

.product-card-cta .product-title {
	color: #ffffff;
}

.product-card-cta .product-description {
	color: rgba(255, 255, 255, 0.8);
}

.product-card-cta .product-arrow i {
	color: #ffffff;
}

.product-card-cta:hover {
	background: var(--morrell-red-dark, #700);
	border-color: var(--morrell-red-dark, #700);
}

.product-card-cta:hover .product-icon {
	background: rgba(255, 255, 255, 0.25);
}

/* Right Image Area
   ========================================================================== */
.hero-image-area {
	position: relative;
	background-color: #ddd;
	overflow: hidden;
}

/* Image background div for clean animation */
.hero-image-bg {
	position: absolute;
	inset: -20px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 0;
	opacity: 0;
	transform: scale(1.1);
	animation: imageReveal 1.2s ease forwards;
}

@keyframes imageReveal {
	from {
		opacity: 0;
		transform: scale(1.1);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

/* Diagonal accent overlay */
.hero-image-accent {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 80px;
	background: linear-gradient(to right, #fafafa 0%, transparent 100%);
	z-index: 2;
}

/* Red corner accent - animated */
.hero-triangle {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 120px;
	height: 120px;
	background: var(--morrell-red, #900);
	clip-path: polygon(0 100%, 0 0, 100% 100%);
	opacity: 0;
	z-index: 3;
	animation: triangleIn 0.6s ease forwards;
	animation-delay: 0.8s;
}

/* Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.hero-split {
		grid-template-columns: 50% 50%;
	}
	
	.hero-content-inner {
		padding: 0 40px;
	}
}

@media (max-width: 900px) {
	.hero-split {
		grid-template-columns: 1fr;
		min-height: auto;
	}
	
	.hero-content-area {
		order: 2;
		padding: 50px 24px;
	}
	
	.hero-content-inner {
		max-width: 100%;
		margin: 0;
		padding: 0;
	}
	
	.hero-image-area {
		order: 1;
		min-height: 300px;
	}
	
	.hero-image-accent {
		display: none;
	}
	
	.hero-triangle {
		display: none;
	}
}

@media (max-width: 600px) {
	.hero-text {
		margin-bottom: 32px;
	}
	
	.hero-headline {
		font-size: 32px;
	}
	
	.hero-subheadline {
		font-size: 16px;
	}
	
	.product-card {
		padding: 14px 18px;
	}
	
	.product-icon {
		width: 40px;
		height: 40px;
	}
	
	.product-icon i {
		font-size: 16px;
	}
	
	.product-arrow {
		opacity: 1;
		transform: translateX(0);
	}
}

/* Alternative: Two-column cards for wider content area
   ========================================================================== */
@media (min-width: 1200px) {
	.product-cards.two-column {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
	
	.product-cards.two-column .product-card:last-child:nth-child(odd) {
		grid-column: span 2;
	}
}

/* Reduced Motion Preference
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	.hero-headline,
	.hero-subheadline,
	.product-card,
	.hero-image-bg,
	.hero-triangle {
		animation: none;
		opacity: 1;
		transform: none;
	}
	
	.hero-text::before {
		animation: none;
		width: 60px;
	}
	
	.product-card:hover {
		transform: none;
	}
	
	.product-card:hover .product-icon {
		transform: none;
	}
	
	.product-card:hover .product-icon i {
		transform: none;
	}
}

/* Subtle continuous animation on accent triangle */
@keyframes pulseTriangle {
	0%, 100% {
		opacity: 1;
	}
	50% {
		opacity: 0.85;
	}
}

.hero-triangle {
	animation: triangleIn 0.6s ease forwards, pulseTriangle 3s ease-in-out infinite;
	animation-delay: 0.8s, 1.4s;
}