@font-face {
    font-family: 'PolicePrincipale';
    src: url('../fonts/policeprincipale.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'PoliceSecondaire';
    src: url('../fonts/policesecondaire.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}


*,
*::after,
*::before {
	box-sizing: border-box;
	
}

.main {
	max-height: 5400px;
	padding-bottom: 0;
	margin-bottom: 0;
}

html {
	scroll-behavior: smooth;
}

:root {
	font-size: 12px;
	--color-text: #292828;
	--color-bg: #ddd;
	--color-link: #000;
	--color-link-hover: #000;
	--page-padding: 1rem;
	--angle: -15deg;
	--trans-content: -30vh;
}

body {
	margin: 0;
	color: var(--color-text);
	background-color: var(--color-bg);
	font-family: 'PoliceSecondaire', sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

h1,h2,h3,h4,h5 {
    font-family: 'PolicePrincipale', sans-serif;
}

.noscroll {
	height: 100dvh;
	width: 100%;
	overflow: hidden;
	position: fixed;
  top: 0;
}

/* Page Loader */
.js .loading::before,
.js .loading::after {
	content: '';
	position: fixed;
	z-index: 1000;
}

.js .loading::before {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--color-bg);
}

.js .loading::after {
	top: 50%;
	left: 50%;
	width: 60px;
	height: 60px;
	margin: -30px 0 0 -30px;
	border-radius: 50%;
	opacity: 0.4;
	background: var(--color-link);
	animation: loaderAnim 0.7s linear infinite alternate forwards;

}

@keyframes loaderAnim {
	to {
		opacity: 1;
		transform: scale3d(0.5,0.5,1);
	}
}

a {
	text-decoration: none;
	color: var(--color-link);
	outline: none;
	cursor: pointer;
}

a:hover {
	text-decoration: underline;
	color: var(--color-link-hover);
	outline: none;
}

a:focus {
	outline: none;
	background: lightgrey;
}

a:focus:not(:focus-visible) {
	background: transparent;
}

a:focus-visible {
	outline: 2px solid red;
	background: transparent;
}

.unbutton {
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	font: inherit;
	cursor: pointer;
}

.unbutton:focus {
	outline: none;
}

.frame {
	font-size: 12px;
	color: #e3b774;
	padding: var(--page-padding);
	display: grid;
	z-index: 1000;
	grid-row-gap: 1rem;
	grid-column-gap: 2rem;
	pointer-events: none;
	justify-items: space-between;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	grid-template-columns: 1fr;
	grid-template-rows: auto auto;
	grid-template-areas: 'title' 'sponsor';
	transition: opacity 0.3s;
}

.mentions{
	margin-top: 200px;
	width: 1000px;
	margin-bottom: 200px;

}

.hidden {
	opacity: 0;
	pointer-events: none;
}

.frame #cdawrap {
  justify-self: end;
	max-width: 300px;
	text-align: right;
}

.frame a {
  pointer-events: auto;
  font-size: 18px;
  margin-top: 2px;
  text-decoration: none;

}

.content__nav-item {
	color: #fff;
	text-decoration: none;
	padding: 5px 20px 5px 20px;
}

.content__nav-item:hover {
	color: #fff;
	text-decoration: none;
}

.content__nav-item2 {
	color: #000;
	text-decoration: none;
	padding: 5px 20px 5px 20px;
	}

	.content__nav-item2:hover {
		color: #000;
		text-decoration: none;
		padding: 5px 20px 5px 20px;
		}


.frame__title {
  margin: -8px;
  width: 150px;
}

.frame__titlemobile {
	display: none;
	margin-top: -17px;
	margin-left: -25px;
	padding: 0;
	width: 100px;
	height: auto;
  }


.intro {
	width: 100%;
	height: 100vh;
	overflow: hidden;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #000;
}

.intro::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
  background-size: 250px, 100%;
  pointer-events: none;
}

.intro--open {
	height: 80vh;
}

.grid {
	gap: 1rem;
	flex: none;
	position: relative;
	width: 200vw;
	height: 200vh;
	display: grid;
	grid-template-rows: repeat(5,1fr);
	grid-template-columns: 100%;
	transform: rotate(var(--angle));
  transform-origin: center center;
}

.row {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(7,1fr);
  will-change: transform, filter;
}

.row__item {
	position: relative;
}

.row__item-inner {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.row__item-img {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: 50% 50%;
	position: absolute;
	top: 0;
	left: 0;
}

.row__item-img--large {
	width: 100vw;
	height: 100vh;
	top: 50%;
	left: 50%;
	margin: -50vh 0 0 -50vw;
	background-position: 50% 70%;
	will-change: transform, filter;
}


.title{
	transform: translateY(-80px);
	position: absolute;
	text-transform: uppercase;
	padding: 1.75rem 4rem;
	font-weight: 700;
	z-index: 100;
	transition: all 0.3s;
	color: rgb(255, 255, 255);
	font-size: 50px;
}

.titre{
	font-size: 28px;
	color: black;
	text-align: center;
}

.soustitle{
	transform: translateY(-20px);
	position: absolute;
	text-transform: uppercase;
	padding: 1.75rem 4rem;
	font-weight: 500;
	z-index: 100;
	transition: all 0.3s;
	color: rgb(255, 255, 255);
	font-size: 50px;
}

.soustitle{
	font-size: 20px;
	text-align: center;
}

.white {
	color: #fff;
	transform: translateY(-130px);
}

.souswhite {
	color: #fff;
	transform: translateY(-70px);
}

.enter {
    color: black; 
    position: absolute;
    text-transform: uppercase;
    padding-top: 20px;
	padding-bottom: 16px;
	padding-left: 20px;
	padding-right: 20px;
    font-weight: 700;
    z-index: 100;
	font-family: 'PolicePrincipale', sans-serif;    font-size: 20px;
	font-weight: bold;
    background: white;
    border: 2px solid white;
    transition: all 0.3s;
    cursor: pointer;
    scale: 1;
    mix-blend-mode: lighten; 
	transform: translateY(50px);
}
.enter:hover {
    scale: 1.1;
}

.fullview {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	pointer-events: none;
}

.fullview .row__item-inner {
	border-radius: 0px;
}

.content {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.content::before {
	content: '';
	position: absolute;
	border-radius: 10px 10px 0 0;
	height: calc(100% + (-1) * var(--trans-content));
	width: 100%;
	top: 0;
	left: 0;
	z-index: 0;
	background-color: #fff;
  	background-size: 250px, 100%;
}

.content > * {
	position: relative;
}

.content__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 4rem;
	justify-content: end;
}

.content__header h2 {
	font-size: 2rem;
	font-weight: 400;
	margin: 6rem 0 10vh;
	line-height: 0.9;
}

.content__text {
	text-wrap: balance;
	display: flex;
	flex-direction: column;
	gap: 10vh;
	padding: 0 5vw;
}

.content__text p {
	max-width: 700px;
	font-size: 1.5rem;
	line-height: 1.4;
	margin: 0;
	margin-left: auto;
}

.content__text p.highlight {
	max-width: 1000px;
	font-size: 2rem;
	font-weight: 400;
}

.content__footer {
	display: flex;
	justify-content: space-between;
	margin-top: 20vh;
}

@media screen and (min-width: 53em) {
	body {
		--page-padding: 2rem 3rem;
	}
	.frame {
		grid-template-columns: auto 1fr;
		grid-template-areas: 'title sponsor';
		align-content: space-between;
	}
	.content__header h2 {
		font-size: clamp(2rem,20vh,16rem);
	}
	.content__text p.highlight {
		font-size: clamp(2rem,7vh,4rem);
	}
}



  .container {
	width: 90%;
	max-width: 1000px;
	margin: 0 auto;
	text-align: center;
  }

  .reservation-section {
	margin-top: 80px;
	margin-bottom: 80px;
  }
  
  .reservation-section h2 {
	margin-bottom: 15px;
	font-size: 30px;
	text-transform: uppercase;
  }
  
  .reservation-section p {
	margin-bottom: 15px;
	font-size: 1rem;
	color: #fff;
  }
  
  .reservation-sectionbtn {
	display: inline-block;
	margin-top: 15px;
	padding: 10px 20px;
	background-color: rgb(255, 255, 255);
	color: black;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.3s ease;
	border: none;
	font-size: 16px;
	font-weight: bold;
  }
  
  .reservation-sectionbtn:hover {
	background-color: #eaeaea;
  }
  
  .reservation-section {
	background-color: black;
	color: white;
	padding: 50px 20px;
	width: 1200px;
  }


  .reservation-section p{
	font-size: 16px;
  }
  


.shop-propos {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
	width: 1200px;
	margin-top: 60px;
}


  .shop-section {
    padding-top: 00px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.shop-content {
    display: flex;
    gap: 40px;
    align-items: center;
	justify-content: center;
	margin-top: -40px;
    
}

.shop-image img {
    width: 480px;
    height: 500px;
    border-radius: 5px;
    object-fit: cover;
}

.shop-text2 {
    max-width: 480px;
    text-align: start;
}

.shop-text2 h3 {
    font-size: 30px;
	margin: 0;
	margin-bottom: 8px;
}

.shop-text h2 {
    font-size: 40px;
	margin: 0;
}

.shop-text2 p {
    font-size: 16px;
	margin: 8px 0;
}

.shop-text p {
    font-size: 16px;
	width: 480px;
}



/* Carousel */
/* Carousel */
.carousel-section {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 110px;
    opacity: 0;
    transform: translateY(30px);
    transition: height 0.5s ease, opacity 0.5s ease, transform 0.5s ease;
    height: 0px;
}

.carousel-section.show {
    opacity: 1;
    height: 300px;
    transform: translateY(0);
}

.carousel-content {
    display: flex;
    gap: 20px;
}

.carousel-content img {
    width: 300px;  /* Largeur fixe pour les grands écrans */
    height: 330px;
    object-fit: cover;
    border-radius: 5px;
}

/* Responsive pour mobile seulement */
@media (max-width: 768px) {
    .carousel-section {
		width: 100vw;
        overflow-x: auto;  /* Active le défilement horizontal */
        overflow-y: hidden; /* Empêche le défilement vertical */
    }

    .carousel-content {
        flex-wrap: nowrap;  /* Empêche les images de se réorganiser en ligne */
    }

    .carousel-content img {
        width: 80vw;  /* Réduit la taille des images à 80% de la largeur de l'écran */
        height: auto;  /* Ajuste la hauteur proportionnellement */
    }
}

  
  
  @media (max-width: 768px) {
	.shop-content {
	  flex-direction: column;
	}
  
	.shop-text {
	  text-align: center;
	}
  }






/* Section Portfolio */
.portfolio-section {
	background-color: white;
	text-align: center;
  }
  
  .portfolio-section h2 {
	margin-bottom: 30px;
	font-size: 30px;
	margin-top: 80px;
	text-transform: uppercase;
  }

  .shop-sectionh2 {
	margin-bottom: 70px;
	font-size: 40px;
	text-transform: uppercase;
	text-align: center;
  }
  
  .portfolio-grid {
	display: flex;
	justify-content: center;
	gap: 40px;
	width: 1200px;
  }
  
  .portfolio-item {
	position: relative;
	width: 390px;
	height: 400px;
	overflow: hidden;
	border-radius: 5px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .portfolio-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
  }






.scroll-bottom {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 2s ease;
}

.scroll-bottom.visible {
    opacity: 1;
    transform: translateY(0);
}



.scroll-right {

    opacity: 0;
    transform: translateX(100px);
    transition: opacity 1s ease, transform 2s ease;
}

.scroll-right.visible {
    opacity: 1;
    transform: translateX(0);
}


.scroll-left {

    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 1s ease, transform 2s ease;
}

.scroll-left.visible {
    opacity: 1;
    transform: translateX(0);
}



  
  .portfolio-item:hover img {
	transform: scale(1.1);
  }
  
  .overlaytexte{
	opacity: 1;
  }

  .overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	opacity: 0.7;
	transition: opacity 0.3s ease;
  }

  .portfolio-item:hover .overlay {
	opacity: 1;
  }
  
  .overlay span {
	background-color: #000;
	padding: 10px 20px;
	font-size: 16px;
	color: white;
	font-weight: bold;
	text-transform: uppercase;
  }


.about{
	background-color: #000;
	width: 100vw;
	display: flex;
	justify-content: center;
	padding: 40px 0;
	margin-top: 20px;
}

.about-section {
	display: flex;
	justify-content: center;
	gap: 40px;
	width: 1200px;
}

.about-text {
	display: flex;
	flex-direction: column;
	align-items: right;
	justify-content: center;
	width: 490px;
	color: white;
}

.about-text h2{
	font-size: 40px;
	margin: 0;
	margin-bottom: 8px;
}

.about-text p{
	font-size: 16px;
	margin: 8px 0;
}

.about-img img {
	width: 400px;
	height: 400px;
	border-radius: 5px;
	object-fit: cover;
}

#contactForm {
	margin-top: 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: center;
	font-family: 'Arial', sans-serif;
  }
  
  #contactForm input,
  #contactForm textarea {
	width: 100%;
	max-width: 500px;
	padding: 12px;
	border: 1px solid #ccc;
	border-radius: 8px;
	font-size: 16px;
	background-color: #efefef;
	transition: border-color 0.3s, box-shadow 0.3s;
  }
  
  #contactForm input::placeholder,
  #contactForm textarea::placeholder {
	color: #737373;
  }
  
  #contactForm textarea {
	min-height: 120px;
	resize: none;
  }
  
  #contactForm button {
	width: 100%;
	max-width: 500px;
	padding: 12px;
	background-color: #181818;
	color: #fff;
	font-size: 1.1rem;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background-color 0.3s;
  }
  
  #contactForm button:hover {
	background-color: #424242;
  }
  
  #contactForm input:focus,
  #contactForm textarea:focus {
	border-color: #000000;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
	outline: none;
  }
  
  #contactForm label {
	font-weight: bold;
	margin-bottom: 5px;
	color: #333;
  }
  
 

  .contactbtn {
	padding: 10px 20px;
	background-color: rgb(0, 0, 0);
	color: rgb(255, 255, 255);
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.3s ease;
	border: none;
	font-weight: bold;
	font-size: 16px;
	scale: 1;
	transition: scale 0.3s ease;
  }


  .shopbtn {
	margin-top: 15px;
	padding: 10px 20px;
	background-color: rgb(0, 0, 0);
	color: rgb(255, 255, 255);
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.3s ease;
	border: none;
	font-weight: bold;
	font-size: 16px;
	scale: 1;
	transition: scale 0.3s ease;
  }


  .shopbtn:hover {
	scale: 1.1;
  }

  #formMessage{
	margin-top: 7px;
	text-align: center;
  }


/* Footer */
.footer {
	padding: 20px 10px;
	margin-top: -140px;
	background-color: rgb(0, 0, 0);
	text-align: center;
	font-size: 0.9rem;
	color: rgb(255, 255, 255);
	width: 100vw;
	transform: translateY(30vh);
  }
  
  .footer-links {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 20px;
	margin-bottom: 10px;
  }
  
  .footer-links a {
	text-decoration: none;
	color: rgb(255, 255, 255);
	font-weight: bold;
	text-transform: uppercase;
	font-size: 1.3rem;
	transition: color 0.3s ease;
  }
  
  .footer-links a:hover {
	color: gray;
  }
  
  .footer-copyright {
	font-size: 1rem;
	color: rgb(255, 255, 255);
  }

  .textright {
    text-align: right;
  }

  .textright p {
    text-align: right;
  }

  .textright h3 {
    text-align: right;
  }

  .textleft {
    text-align: left;
  }

  .textleft p {
    text-align: left;
  }

  .textleft h3 {
    text-align: left;
  }

@media (max-width: 768px) {

	.portfolio-section {
		border-radius: 20px 20px 0 0;
		padding: 0px 15px;
	  }

	  .portfolio-section h2 {
		margin-bottom: 30px;
		margin-top: 40px;
	  }

	.reverse {
		flex-direction: column-reverse;
	}

	.title{
		text-align: center;
		font-size: 21px;
		transform: translateY(-105px);
		padding: 0;
	}

	.soustitle{
		text-align: center;
		font-size: 18px;
		transform: translateY(-70px);
		padding: 0;
	}

	.enter {
		transform: translateY(30px);
		padding: 1rem 2rem;
		font-size: 16px;

	}

	.frame__title {
		display: none;
	  }

	  .frame__titlemobile {
		display: block;

	  }

	.content__nav {
		gap: 1rem;
	}

	.flex {
		display: flex;
		flex-direction: row;
		justify-content: space-around;
	}

	.frame a {
		pointer-events: auto;
		font-size: 14px;
		margin-top: 2px;
	  }

  .container {
    width: 95%;
  }

  .overlay span {
	font-size: 1.8rem;

  }

  .reservation-section {
    margin-top: 60px;
    padding: 30px 15px;
	margin-bottom: 20px;
    width: 100%;
  }

  .reservation-section h2 {
    font-size: 20px;
  }

  .reservation-section p {
    font-size: 1.2rem;
  }

  .shop-section {
    padding: 0px 15px;
    flex-direction: column;
    align-items: center;
  }

  .shop-content {
    gap: 0px;
  }

  .shop-image img {
    width: 100%;
    height: 350px;
  }

  .shop-text, .shop-text2 {
    width: 100%;
  }

  .shop-text h2, .shop-text2 h3 {
    font-size: 28px;
	margin-top: 20px;
  }

  .shop-text p, .shop-text2 p {
    font-size: 1.2rem;
	width: 100%;
	
  }

  .textright {
    text-align: right;
  }

  .textright p {
    text-align: right;
  }

  .textright h3 {
    text-align: right;
  }

  .textleft {
    text-align: left;
  }

  .textleft p {
    text-align: left;
  }

  .textleft h3 {
    text-align: left;
  }



  .portfolio-grid {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .portfolio-item {
    width: 100%;
    height: 200px;

  }

  .about {
	margin-top: -20px;

  }

  .about-section {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
	padding: 0 15px;

  }

  .shop-propos {
	padding: 20px 15px;
	width: 100%;
}

  .about-text {
    width: 100%;
    text-align: center;
  }

  .about-text h2 {
    font-size: 28px;
	text-align: start;
  }

  .about-text p {
    font-size: 1.2rem;
	text-align: start;
  }

  .about-img img {
    width: 100%;
    height: 300px;
  }

  .imgmariage {
	object-fit: cover;	
	object-position: top;
  }

  #contactForm {
    gap: 10px;
  }

  #contactForm input,
  #contactForm textarea {
    max-width: 100%;
    font-size: 0.9rem;
  }

  #contactForm button {
    max-width: 100%;
    font-size: 1rem;
  }

  .contactbtn, .shopbtn {
    padding: 10px 15px;
    font-size: 0.9rem;
  }

  .carousel-section {

	margin-bottom: 70px;
}


.mentions{
	margin-top: 100px;
	width: 360px;
	margin-bottom: 0px;

}

#contact {
	text-align: start;
}

.scroll-right {

    opacity: 0;
    transform: translateX(0px);
	transform: translateY(50px);
    transition: opacity 1s ease, transform 2s ease;
}

.scroll-right.visible {
    opacity: 1;
	transform: translateY(0px);

}


.scroll-left {

    opacity: 0;
    transform: translateX(0px);
	transform: translateY(50px);
    transition: opacity 1s ease, transform 2s ease;
}

.scroll-left.visible {
    opacity: 1;
	transform: translateY(0px);
}

}