/* ========================================
   SECTION NOS PRODUCTIONS - CAROUSEL HORIZONTAL
   ======================================== */

/* Carousel horizontal scroll natif */
.productions-carousel-wrapper {
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	position: relative;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	cursor: grab;
	/* Cacher la scrollbar complètement */
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.productions-carousel-wrapper::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
}

.productions-carousel-wrapper:active {
	cursor: grabbing;
}

.productions-carousel-track {
	display: flex;
	gap: 30px;
	width: max-content;
	padding: 20px 0;
	scroll-snap-type: x proximity;
	transition: scroll-snap-type 0s;
}

/* Désactiver scroll-snap pendant le drag */
.productions-carousel-wrapper.dragging .productions-carousel-track {
	scroll-snap-type: none;
}

.production-card {
	flex: 0 0 auto;
	width: 320px;
}

/* Forcer toutes les images à la même taille */
#productions .item-gallery .item-media {
	position: relative;
	overflow: hidden;
	padding-bottom: 140%;
	width: 320px;
}

#productions .item-gallery .item-media img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

#productions .item-gallery {
	width: 320px;
}

/* Titre en bas de l'affiche - couleur dorée */
.production-title-bottom {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 50%, transparent 100%);
	color: #c8a15d;
	padding: 30px 15px 15px;
	font-size: 1.1rem;
	font-weight: 700;
	text-align: center;
	z-index: 10;
	text-transform: uppercase;
	letter-spacing: 1px;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

/* Overlay hover avec loupe */
.production-hover-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: 5;
}

.production-card:hover .production-hover-overlay {
	opacity: 1;
}

/* Loupe élégante avec cercle doré */
.hover-loupe-elegant {
	width: 80px;
	height: 80px;
	border: 3px solid #c8a15d;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0,0,0,0.3);
	opacity: 0;
	transition: all 0.4s ease;
	box-shadow: 0 0 20px rgba(200,161,93,0.4);
}

.hover-loupe-elegant i {
	font-size: 2rem;
	color: #c8a15d;
}

.production-card:hover .hover-loupe-elegant {
	opacity: 1;
	transform: scale(1.15);
	box-shadow: 0 0 30px rgba(200,161,93,0.6);
}

/* ========================================
   LIGHTBOX PRODUCTION
   ======================================== */

.production-lightbox {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.95);
	z-index: 99999;
	align-items: center;
	justify-content: center;
}

.production-lightbox.active {
	display: flex;
}

.lightbox-close {
	position: absolute;
	top: 30px;
	right: 40px;
	font-size: 3.5rem;
	color: #fff;
	cursor: pointer;
	z-index: 100001;
	transition: all 0.3s;
	font-weight: 300;
}

.lightbox-close:hover {
	color: #c8a15d;
	transform: rotate(90deg);
}

.lightbox-content {
	position: relative;
	max-width: 90%;
	max-height: 90vh;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 50px rgba(0,0,0,0.9);
	animation: lightboxZoom 0.3s ease;
}

@keyframes lightboxZoom {
	from { 
		opacity: 0; 
		transform: scale(0.8); 
	}
	to { 
		opacity: 1; 
		transform: scale(1); 
	}
}

.lightbox-content img {
	max-width: 600px;
	max-height: 90vh;
	object-fit: contain;
	display: block;
}

.lightbox-title-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 70%, transparent 100%);
	color: #c8a15d;
	font-size: 2rem;
	font-weight: 700;
	text-align: center;
	padding: 40px 20px 20px;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 2px;
	text-shadow: 2px 2px 8px rgba(0,0,0,0.9);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
	.production-card {
		width: 220px;
	}
	
	#productions .item-gallery .item-media,
	#productions .item-gallery {
		width: 220px;
	}
	
	.production-title-bottom {
		font-size: 0.9rem;
		padding: 20px 10px 10px;
	}
	
	.hover-loupe-elegant {
		width: 60px;
		height: 60px;
		border-width: 2px;
	}
	
	.hover-loupe-elegant i {
		font-size: 1.5rem;
	}
	
	.lightbox-content {
		max-width: 95%;
	}
	
	.lightbox-content img {
		max-width: 100%;
	}
	
	.lightbox-title-overlay {
		font-size: 1.3rem;
		padding: 25px 15px 15px;
		letter-spacing: 1px;
	}
	
	.lightbox-close {
		top: 15px;
		right: 20px;
		font-size: 2.5rem;
	}
}





