/* Cache les éléments dynamiquement */
.hide {
	display: none !important;
}

/* En-tête */
.hero-header {
	all: unset;
	height: 10vh;
}

/* Section menu */
.menu.section {
	margin-top: 35px;
	padding: 80px 5%;
	background-color: var(--darker);
}

.menu.section h2 {
	text-align: center;
	margin-bottom: 40px;
}

/* Conteneur principal */
.container-custom {
	display: flex;
	justify-content: center;
	
	margin-top: 40px;
}

/* Swiper spécifique aux catégories parentes */
#menu-selection.menu-swiper {
	width: 100%;
	overflow: hidden;
	position: relative;
	padding: 10px 0;
}

/* Swiper wrapper pour les catégories */


/* Slide individuelle */
.caption-style-1 li,
.caption-style-1 .swiper-slide {
	position: relative;
	overflow: hidden;
	width: 300px;
	height: 300px;
	cursor: pointer;
	border-radius: 12px;
	box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
	flex-shrink: 0;
}

.caption-style-1 img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
	border-radius: 12px;
}

.caption-style-1 li:hover img {
	transform: scale(1.05);
}

.caption-style-1 .caption {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 0.45s ease-in-out;
}

.caption-style-1 li:hover .caption {
	opacity: 1;
}

.caption-style-1 .blur {
	background-color: rgba(0, 0, 0, 0.65);
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 5;
}

.caption-style-1 .caption-text {
	z-index: 10;
	color: #fff;
	position: absolute;
	width: 100%;
	text-align: center;
	top: 50%;
	transform: translateY(-50%);
}

.caption-style-1 .caption-text h1 {
	font-size: 28px;
	margin: 0;
	color: var(--gold);
}

/* Bouton retour */
.back-btn {
	display: inline-block;
	background-color: var(--gold);
	color: var(--dark);
	padding: 10px 20px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-weight: bold;
	margin: 20px auto;
	text-align: center;
}

.back-btn:hover {
	background-color: var(--gold-dark);
}

/* Animation fadeIn (utilisée ailleurs ?) */
@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* Grille des plats */
.menu-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
}

.menu-item {
	background-color: var(--gray);
	padding: 15px;
	border-radius: 10px;
	text-align: center;
	width: 250px;
	transition: transform 0.3s ease;
}

.menu-item:hover {
	transform: translateY(-5px);
}

.menu-img {
	border-radius: 50%;
	width: 150px;
	height: 150px;
	object-fit: cover;
	margin-bottom: 10px;
}

.menu-item h4 {
	margin: 10px 0 5px;
	color: var(--light);
}

.menu-item .ingredients {
	color: var(--light-gray);
	font-size: 0.9rem;
}

.menu-item .price {
	color: var(--gold);
	font-weight: bold;
	margin-top: 5px;
	font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 762px) {
	.container-custom {
		flex-direction: column;
		align-items: center;
		gap: 20px;
	}
	.caption-style-1 {
		flex-direction: row;
		flex-wrap: nowrap;
		
	}
	.caption-style-1 li {
		width: 250px;
		height: 250px;
	}
	.caption-style-1 img {
		height: 100%;
	}
}
