	.slideshow-container {
		position: relative;
		width: 30%;
	height:auto; /*verifier cette partie avec aspect-ratio */
	aspect-ratio : 1024 / 1980;
		max-width: 800px;
		margin: 2rem auto;
		border-radius: 1rem;
		overflow: hidden;
		box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	}

	.slides-wrapper {
		position: relative;
		width: 100%;
		height: 100%;
	}

	.slide {
		position: absolute;
		width: 100%;
		height: auto;
		opacity: 0;
		transition: opacity 0.5s ease;
	}

	.slide.active {
		opacity: 1;
	}

	.slide-image {
		width: 100%;
		height: auto;
		object-fit: cover;
		display:block;
	}

	.nav-btn {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		background: rgba(0, 0, 0, 0.5);
		color: white;
		border: none;
		font-size: 1.5rem;
		padding: 1rem;
		cursor: pointer;
		z-index: 10;
		transition: background 0.3s;
	}

	.nav-btn:hover {
		background: rgba(0, 0, 0, 0.8);
	}

	.prev-btn {
		left: 10px;
	}

	.next-btn {
		right: 10px;
	}

	.dots {
		position: absolute;
		bottom: 15px;
		left: 50%;
		transform: translateX(-50%);
		display: flex;
		gap: 0.5rem;
		z-index: 10;
	}

	.dot {
		width: 12px;
		height: 12px;
		border-radius: 50%;
		background: rgba(255, 255, 255, 0.5);
		border: none;
		cursor: pointer;
		transition: background 0.3s;
	}

	.dot.active {
		background: rgba(209, 0, 52, 1);
	}

	.dot:hover {
		background: rgba(255, 255, 255, 0.8);
	}
/* =========== pop up modal =========== */
.modal {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	pointer-events: auto;
	background-color: rgba(0, 0, 0, 0.9);
	animation: fadeIn 0.3s ease-in;
}
	@keyframes fadeIn {
		from {
		opacity: 0;
		}
		to {
		opacity: 1;
		}
	}
.modal-content {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	position: relative;
	pointer-events: auto;
}
#modalImage {
	max-width: 80vw;
	max-height: 80vh;
	pointer-events: none;
	object-fit: contain;
	border-radius: 0.5rem;
	animation: zoomIn 0.3s ease-in;
}
	@keyframes zoomIn {
		from {
		transform: scale(0.8);
		opacity: 0;
		}
		to {
		transform: scale(1);
		opacity: 1;
		}
	}	
.close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	color: white;
	font-size: 4rem;
	font-weight: bold;
	cursor: pointer;
	z-index: 1001;
	transition: color 0.2s;
}
.close:hover {
	color: #ccc;
	transition: color 0.2s;
}/* ========== IMAGE GALLERY ========== */

.images-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1.5rem;
	margin: 2rem auto;
	max-width: 1000px;
}

.image-link {
	display: block;
	overflow: hidden;
	border-radius: 1rem;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.image-link:hover {
	transform: scale(1.05);
	box-shadow: 0 8px 25px rgba(209, 0, 52, 0.3);
}

.gallery-image {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

/* ========== MODAL ========== */

.modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 1000;
	pointer-events: auto;
	background-color: rgba(0, 0, 0, 0.9);
	animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

.modal-content {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	position: relative;
	pointer-events: auto;
}
/* {
	max-width: 80vw;
	max-height: 80vh;
	pointer-events: none;
	object-fit: contain;
	border-radius: 0.5rem;
	animation: zoomIn 0.3s ease-in;
}*/
#modalImage, .modal-content img {
	width: 100%;
	height: 100%;
	max-width: 80vw;
	max-height: 80vh;
	object-fit: contain;
	border-radius: 0.5rem;
	pointer-events: none;
	animation: zoomIn 0.3s ease-in;
}

@keyframes zoomIn {
	from { transform: scale(0.8); opacity: 0; }
	to { transform: scale(1); opacity: 1; }
}

.close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	color: white;
	font-size: 4rem;
	font-weight: bold;
	cursor: pointer;
	z-index: 1001;
	transition: color 0.2s;
}

.close:hover {
	color: #ccc;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 600px) {
	.images-gallery {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.image-link:hover {
		transform: scale(1.02);
	}
}

