/* Enhanced Somfy Section Styles - White Theme */
.somfy {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 1200px;
	margin: 40px auto;
	padding: 40px 20px;
	text-align: center;
	background: #f9f9f9;
	border: 1px solid rgba(93, 29, 115, 0.08);
	border-radius: 16px;
	/* box-shadow: */
	/* 	0 4px 20px rgba(93, 29, 115, 0.06), */
	/* 	0 1px 3px rgba(0, 0, 0, 0.02); */
	position: relative;
	overflow: hidden;
	transition: all 0.3s ease;
}

/* Subtle background pattern - enhanced for white theme */
.somfy::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	pointer-events: none;
}

/* Hover effect - refined for white theme */
.somfy:hover {
	transform: translateY(-3px);
	box-shadow:
		0 8px 40px rgba(93, 29, 115, 0.12),
		0 2px 8px rgba(0, 0, 0, 0.04);
	border-color: rgba(93, 29, 115, 0.12);
}

/* Header styling - optimized contrast */
.somfy h2 {
	color: #2d1a3d;
	/* Deep purple for excellent readability */
	font-size: clamp(24px, 5vw, 40px);
	font-weight: 700;
	margin: 0 0 20px 0;
	position: relative;
	letter-spacing: -0.5px;
	z-index: 2;
	animation: fadeInUp 0.6s ease-out;
}

/* Enhanced accent line - vibrant on white */
.somfy h2::after {
	content: "";
	display: block;
	width: 60px;
	height: 4px;
	/* background: linear-gradient(90deg, #ff7a00, #ff9533, #ffb366); */
	background: #ff7a00;
	margin: 12px auto 0;
	border-radius: 2px;
	animation: expandLine 0.8s ease-out 0.3s both;
	box-shadow: 0 2px 12px rgba(255, 122, 0, 0.25);
}

/* Image container styling */
.somfy img {
	max-width: 200px;
	height: auto;
	margin-top: 10px;
	border-radius: 12px;
	transition: all 0.3s ease;
	filter: drop-shadow(0 4px 12px rgba(93, 29, 115, 0.08));
	z-index: 2;
	animation: fadeInUp 0.6s ease-out 0.2s both;
	/* Add subtle border for definition on white */
	border: 1px solid rgba(93, 29, 115, 0.05);
}

.somfy img:hover {
	transform: scale(1.05);
	filter: drop-shadow(0 8px 24px rgba(93, 29, 115, 0.15));
	border-color: rgba(255, 122, 0, 0.2);
}

/* Add decorative elements - adjusted for white theme */
.somfy::after {
	content: "🔧⚙️";
	position: absolute;
	top: 15px;
	right: 20px;
	font-size: 20px;
	opacity: 0.08;
	/* More subtle on white background */
	animation: float 3s ease-in-out infinite;
	filter: grayscale(0.3);
}



/* Animations remain the same */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes expandLine {
	from {
		width: 0;
	}

	to {
		width: 60px;
	}
}

@keyframes float {

	0%,
	100% {
		transform: translateY(0px) rotate(0deg);
	}

	50% {
		transform: translateY(-10px) rotate(5deg);
	}
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.somfy {
		margin: 20px auto;
		padding: 30px 15px;
		border-radius: 12px;
	}

	.somfy h2 {
		font-size: 28px;
	}

	.somfy img {
		max-width: 150px;
	}

	.somfy::after {
		font-size: 16px;
		top: 10px;
		right: 15px;
	}
}

@media (max-width: 480px) {
	.somfy {
		padding: 25px 10px;
	}

	.somfy h2 {
		font-size: 24px;
	}

	.somfy h2::after {
		width: 40px;
		height: 3px;
	}
}


/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {

	.somfy,
	.somfy img,
	.somfy h2::after {
		animation: none;
		transition: none;
	}

	.somfy:hover {
		transform: none;
	}
}
