.card-image {
	position: relative;
	width: 100%;
	height: 250px; /* ou la hauteur souhaitée */
	overflow: hidden;
	border-radius: 12px; /* optionnel, pour des coins arrondis */
}

.card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform 0.3s ease;
}

.card-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(
		to bottom,
		rgba(0, 0, 0, 0) 0%,
		rgba(0, 0, 0, 0.7) 100%
	);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 20px;
	color: white;
}

/* Effet hover optionnel */
.portfolio-card:hover .card-img {
	transform: scale(1.05);
}
