* {
	box-sizing: border-box;
}

/* Header and slide effects */

header {
	display: flex;
	margin-top: -10px;
	width: 100vw;
	height: 15vh;
	background-color: rgba(255, 255, 255, 0);
	z-index: 10;
	position: fixed;
	transition: transform 1.2s ease-in-out, background-color 0.8s ease;
	transform: translateY(-100%);
}

header.slide-in {
	transform: translateY(0);
}

header.hidden-top {
	transform: translateY(-100%);
}

header:hover {
	background-color: rgba(255, 255, 255, 1);
}

.header-container {
	display: flex;
	width: 100%;
	height: 100%;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 20px;
}
.header-top-row {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	padding: 0 10px;
}

.header-left {
	width: 15%;
	display: flex;
	justify-content: flex-start;
	align-items: center;
}

/* Switch icone et apparition de la barre de recherche */

#search-icon-wrapper {
	width: 36px;
	height: 36px;
	position: relative;
	cursor: pointer;
	transform-style: preserve-3d;
	transition: transform 0.6s ease;
	perspective: 600px;
	flex-shrink: 0;
}

.search-face {
	position: absolute;
	top: 0;
	left: 0;
	width: 36px;
	height: 36px;
	backface-visibility: hidden;
	object-fit: contain;
}

.search-face.front {
	transform: rotateY(0deg);
}

.search-face.back {
	transform: rotateY(180deg);
}

#search-icon-wrapper.rotated {
	transform: rotateY(180deg);
}

/* Barre de recherche */
#search-container {
	display: flex;
	align-items: center;
	height: 36px;
	width: 0;
	transition: width 0.4s ease;
	margin-left: 8px;
}

#search-container.open {
	width: 200px;
}

.search-bar-input {
	width: 100%;
	height: 100%;
	padding: 8px 12px;
	border: none;
	border-radius: 18px;
	font-size: 14px;
	font-family: "Montserrat", sans-serif;
	background-color: rgba(255, 255, 255, 0.9);
	color: #000;
	outline: 1px solid rgba(0, 0, 0, 0.1);
	letter-spacing: 1px;
}

.header-right {
	width: 15%;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 10px;
}

.header-bottom-row {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 30px;
	margin-top: -10px;
}

.header-bottom-row a {
	position: relative;
	display: inline-block;
	font-size: 20px;
	font-family: "Montserrat", sans-serif;
	font-weight: 500;
	color: rgb(0, 0, 0);
	text-decoration: none;
	cursor: pointer;
	letter-spacing: 1px;
}

.header-bottom-row a::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -6px;
	height: 2px;
	width: 0%;
	background-color: black;
	transform: translateX(-50%) scaleX(0);
	transform-origin: center;
	transition: transform 0.7s ease;
}

.header-bottom-row a:hover::after {
	width: 100%;
	transform: translateX(-50%) scaleX(1);
}

/* Side-menu */

#side-menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 250px;
	height: 100vh;
	background-color: rgba(255, 255, 255, 0.95);
	padding: 20px;
	z-index: 20;
	transform: translateX(-100%);
	transition: transform 0.5s ease-in-out;
}

#side-menu.open {
	transform: translateX(0);
}

.logo-container {
	display: flex;
	justify-content: center;
	margin-top: -30px;
	margin-bottom: 20px;
}

.logo-side-menu {
	width: 100px;
	height: auto;
}

.side-menu-search {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	width: calc(100% + 40px);
	margin-left: -20px;
	margin-right: -20px;
	margin-bottom: 20px;
	margin-top: -30px;
}

.side-menu-search input {
	flex: 1;
	height: 100%;
	padding: 10px;
	border: none;
	background-color: rgba(255, 255, 255, 0.8);
	font-size: 16px;
	font-family: Montserrat, sans-serif;
	font-weight: 400;
	color: rgb(0, 0, 0);
	letter-spacing: 1px;
}

.side-menu-search input:focus {
	outline: none;
	box-shadow: none;
}

#side-menu ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

#side-menu a {
	color: rgb(0, 0, 0);
	text-decoration: none;
	font-family: Montserrat, sans-serif;
	font-weight: 400;
	font-size: 18px;
	letter-spacing: 1px;
}

#menu-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.5);
	display: none;
	z-index: 15;
}
#menu-overlay.visible {
	display: block;
}

/* Icons settings */

.icons {
	width: 36px;
	height: 36px;
	cursor: pointer;
}

.logo {
	width: 100px;
	height: auto;
}

body {
	display: flex;
	flex-direction: column;
	width: 100vw;
	height: 100vh;
	background-image: url("/assets/backgound.jpg");
	background-size: cover;
	background-position: center;
	padding: 0;
	margin: 0;
}

main {
	display: flex;
	margin-top: auto;
	margin-bottom: 3vh;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	width: 100%;
	height: 50%;
	padding: 20px;
}

#content {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	flex-direction: column;
	width: 100%;
	height: 100%;
	margin-bottom: 20px;
}

.content-text {
	text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5);
	color: rgba(255, 255, 255, 0.8);
	text-align: center;
	justify-content: space-around;
	font-family: "Montserrat", sans-serif;
	letter-spacing: 1px;
}

.content-text h2 {
	margin: 5px;
	height: 64px;
	font-size: 64px;
	font-weight: 400;
}

.content-text p {
	margin: 0;
	height: 38px;
	font-size: 38px;
	font-weight: 400;
}

/* ===== Contact styles ===== */

.contact-body {
	display: flex;
	flex-direction: column;
	width: 100vw;
	height: 100vh;
	background-size: cover;
	background-position: center;
	padding: 0;
	margin: 0;
}
.contact-main {
	display: flex;
	margin-top: 13vh;
	margin-bottom: 0;
	background-color: rgba(255, 255, 255, 0.8);
	justify-content: center;
	align-items: center;
	flex-direction: column;
	width: 100%;
	height: 100%;
}

#contact-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-direction: column;
	width: 100%;
	height: 30%;
}

.contact-content-text {
	text-shadow: 2px 2px 3px rgba(255, 255, 255, 0.5);
	color: rgba(0, 0, 0, 0.8);
	text-align: center;
	justify-content: space-around;
	font-family: "Montserrat", sans-serif;
	letter-spacing: 1px;
}

.contact-content-text h2 {
	margin: 5px;
	height: 64px;
	font-size: 64px;
	font-weight: 400;
}

.contact-content-text p {
	margin-top: 20px;
	height: 24px;
	font-size: 24px;
	font-weight: 400;
}

#contact-form {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	width: 100%;
	max-width: 600px;
}

#contact-form form {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}

.form-group {
	display: flex;
	flex-direction: column;
	min-width: 80%;
	max-width: 500px;
	margin-bottom: 15px;
	text-align: left;
}

textarea {
	width: 100%;
	height: 100px;
	max-width: 100%;
	padding: 10px;
	font-family: "Montserrat", sans-serif;
	outline: none;
	background: #ffffff;
	box-shadow: 5px 5px 17px #c8c8c8, -5px -5px 17px #ffffff;
	border: none;
	border-radius: 10px;
	transition: all 0.5s;
	resize: none;
	letter-spacing: 1px;
}

textarea:focus {
	background: #ffffff;
	box-shadow: inset 5px 5px 17px #c8c8c8, inset -5px -5px 17px #ffffff;
}

.contact-input {
	min-height: 40px;
	padding: 10px;
	font-family: "Montserrat", sans-serif;
	outline: none;
	background: #ffffff;
	box-shadow: 5px 5px 17px #c8c8c8, -5px -5px 17px #ffffff;
	border: none;
	border-radius: 10px;
	transition: all 0.5s;
	letter-spacing: 1px;
}

.contact-input:focus {
	background: #ffffff;
	box-shadow: inset 5px 5px 17px #c8c8c8, inset -5px -5px 17px #ffffff;
}

.form-group label {
	font-family: "Montserrat", sans-serif;
	font-weight: 500;
	margin-bottom: 5px;
	color: #333;
	letter-spacing: 1px;
}

#contact-button {
	height: 60px;
}

/* ===== Products styles ===== */

.products-body {
	display: flex;
	flex-direction: column;
	width: 100vw;
	height: 100vh;
	background-size: cover;
	background-position: center;
	padding: 0;
	margin: 0;
}

.products-main {
	display: flex;
	margin-top: 13vh;
	margin-bottom: 0;
	background-color: rgba(255, 255, 255, 0.8);
	justify-content: center;
	align-items: center;
	flex-direction: column;
	width: 100%;
	height: 100%;
}

.product-list {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	font-family: "Montserrat", sans-serif;
	letter-spacing: 1px;
}
.product-card {
	background-color: rgba(255, 255, 255, 1);
	border-radius: 10px;
	padding: 15px;
	width: 350px;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}
.product-card img {
	width: 100%;
	height: auto;
	border-radius: 8px;
}
.product-card h3 {
	margin: 0 0 15px;
	font-weight: 500;
	font-size: 18px;
}
.product-card h4 {
	margin: 10px 0 10px;
	font-weight: 600;
	color: rgb(146, 146, 146);
}
.product-card p {
	margin: 5px 0;
	font-size: 12px;
	font-weight: 500;
}
.price {
	font-weight: bold;
	color: #2c3e50;
}

/* Button Styles */

.button {
	opacity: 0.75;
	position: relative;
	font-size: 16px;
	text-transform: uppercase;
	text-decoration: none;
	padding: 0.05em 1.8em;
	display: inline-block;
	cursor: pointer;
	border-radius: 6em;
	transition: all 0.2s;
	border: none;
	font-family: "Montserrat", sans-serif;
	font-weight: 500;
	color: black;
	background-color: white;
	margin-top: 50px;
	letter-spacing: 1px;
}

.button:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.button:active {
	transform: translateY(-1px);
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.button::after {
	content: "";
	display: inline-block;
	height: 100%;
	width: 100%;
	border-radius: 100px;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	transition: all 0.4s;
}

.button::after {
	background-color: #fff;
}

.button:hover::after {
	transform: scaleX(1.4) scaleY(1.6);
	opacity: 0;
}

/* Footer styles */

footer {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	width: 100%;
	height: 3vh;
	color: white;
	position: fixed;
	bottom: 0;
	left: 0;
	font-family: "Montserrat", sans-serif;
	font-weight: 300;
	letter-spacing: 1px;
}

footer p {
	margin: 0;
	font-size: 12px;
	color: rgb(80, 80, 80);
}

.footer-contact {
	color: black;
}

/* Styles mobile */

@media (max-width: 500px) {
	body {
		height: calc(var(--vh, 1vh) * 100);
	}

	#search-icon {
		transform: none !important;
		backface-visibility: visible !important;
		display: block !important;
		width: 36px;
		height: 36px;
	}

	#search-icon-wrapper {
		transform: none !important;
		perspective: none !important;
	}

	.search-face.back {
		display: none !important;
	}

	#search-container {
		display: none !important;
	}
	body.menu-open header {
		opacity: 0;
	}

	body.menu-open .icons {
		display: none;
	}

	body:not(.menu-open) #search-icon {
		filter: invert(0%);
	}

	header {
		height: calc(var(--vh, 1vh) * 10);
		padding-top: calc(var(--vh, 1vh) * 1);
	}

	.header-container {
		height: calc(var(--vh, 1vh) * 10);
		padding-left: 15px;
		padding-right: 15px;
	}

	.header-bottom-row {
		display: none;
	}

	.icons {
		width: 28px;
		height: 28px;
		cursor: pointer;
	}

	.logo {
		width: 80px;
		height: auto;
	}

	#search-icon {
		margin-top: 2px;
		filter: invert(100%);
		width: 28px;
		height: 28px;
	}

	body.menu-open #search-icon {
		filter: invert(100%);
	}

	body:not(.menu-open) header[style*="opacity: 1"] #search-icon {
		filter: invert(0%);
	}

	.content-text {
		text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
		color: rgba(255, 255, 255, 0.8);
		text-align: center;
		justify-content: space-around;
		font-family: "Montserrat", sans-serif;
		font-weight: 500;
		letter-spacing: 1px;
	}

	.content-text h2 {
		font-size: 36px;
		margin: 5px;
	}

	.content-text p {
		font-size: 20px;
		margin-top: -10px;
		margin-bottom: -10px;
	}

	/* === Contact styles mobile === */

	.contact-body {
		height: calc(var(--vh, 1vh) * 100);
		width: 100vw;
	}

	.contact-main {
		justify-content: flex-start;
		margin-top: calc(var(--vh, 1vh) * 8.5);
		height: calc(var(--vh, 1vh) * 100);
	}

	.contact-main h2 {
		height: auto;
		font-size: 30px;
		font-weight: 500;
	}

	.contact-main p {
		height: auto;
		font-size: 14px;
		margin-top: -5px;
	}

	#contact-form {
		width: 100vw;
		height: auto;
		font-size: 14px;
	}

	#form-container {
		width: 80vw;
		height: auto;
	}

	#contact-content {
		height: auto;
		margin-bottom: 10px;
	}

	#contact-button {
		margin-top: 20px;
	}
}

/* Styles Tablettes */

@media (min-width: 501px) and (max-width: 1024px) {
	.icons {
		filter: invert(100%);
	}

	.content-text {
		text-shadow: none;
		color: rgba(0, 0, 0, 0.8);
		text-align: center;
		justify-content: space-around;
	}

	.content-text h2 {
		font-size: 44px;
		margin: 5px;
	}

	.content-text p {
		font-size: 28px;
		margin-top: -20px;
	}
}
