@font-face {
  font-family: "AndreasRegular";
  src: url("fonts/AndreasRegular.ttf"), url("AndreasRegular");
}

html,
body {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "AndreasRegular", serif;
  background-color: rgba(228, 199, 174, 0.715);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 253, 245, 0.8) transparent; 
}

.scroll-container {
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  height: 100vh;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 253, 245, 0.8) transparent;
}

.scroll-section {
  height: 100vh;
  scroll-snap-align: start;
}

.scroll-container::-webkit-scrollbar,
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 12px; 
}

.scroll-container::-webkit-scrollbar-track,
html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: transparent; 
}

.scroll-container::-webkit-scrollbar-thumb,
html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  background-color: rgba(212, 189, 168, 0.607);
  border-radius: 6px;
  border: 3px solid transparent; 
}

#section-home {
  background-image: url("assets/option7.jpg");
  background-size: cover;
  background-position: 50% 40%;
}

#logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

#logo-container img {
  max-width: 25vh;
  max-height: 25vh;
}

#section-services {
  background-color: rgba(211, 187, 166, 0.607);
}

#section-philosophie {
  background-color: rgba(211, 187, 166, 0.607);
}

#section-galerie {
  background-color: rgba(211, 187, 166, 0.607);
}


#section-contact {
  background-color: rgba(211, 187, 166, 0.607);
}

#menu-icon {
  position: fixed;
  top: 22px;
  left: 22px;
  cursor: pointer;
  z-index: 1000;
}

.bar {
  width: 35px;
  border-radius: 3px;
  height: 2px;
  background-color: rgb(255, 253, 245);
  margin: 8px 0;
  transition: 0.5s;
}

#menu-icon:hover .bar {
  box-shadow: 0 0 20px rgb(255, 253, 245);
}

#menu-icon.active .bar:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 9px);
}

#menu-icon.active .bar:nth-child(2) {
  opacity: 0;
}

#menu-icon.active .bar:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -9px);
}

#language-dropdown {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 1000;
}

#langSelect {
  padding: 5px;
  font-size: 1.5em;
  font-family: "AndreasRegular";
  letter-spacing: 2px;
  border: none;
  background-color: transparent;
  color: rgb(255, 253, 245);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

#langSelect:hover {
  text-shadow: 0 0 10px rgba(255, 253, 245, 0.8);
  cursor: pointer;
}

#langSelect::after {
  content: "\25BC";
  margin-left: 10px;
}

#menu-overlay {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 999;
  transition: opacity 0.5s ease-in-out;
  display: none;
}

body.menu-overlay-active::before {
  content: "";
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(84, 76, 73, 0.5);
  transition: 0.5s ease-in-out;
  backdrop-filter: blur(5px);
  z-index: 998;
}

.menu-item {
  font-size: 35px;
  margin: 18px;
  color: rgb(255, 253, 245);
  cursor: pointer;
  opacity: 0;
  transition: opacity 1s ease-in-out, font-size 0.5s;
}

.menu-item:hover {
  font-size: 36px;
  text-shadow: 0 0 10px rgba(255, 253, 245, 0.8);
}

.menu-divider {
  border: 1.1px solid rgb(255, 253, 245);
  border-radius: 3px;
  width: 100%;
  margin: 19px auto;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.menu-item.active,
.menu-divider.active {
  opacity: 1;
}

/* titles */

#h1{
  font-size: 3em;
  color: rgb(255, 253, 245); 
}

@media (max-width: 1070px) {
  #h1 {
    font-size: 2em; 
  }
}

#p{
  font-size: 2em;
  color: rgb(255, 253, 246); 
}

@media (max-width: 1070px) {
  #p {
    font-size: 1.3em;
  }
}


/* services */

#star-image {
  position: relative;
  bottom: 0%;
  left: 50%;
  transform: translate(-50%, 50%);
  max-width: 5%;
  max-height: 5%;
}

#services-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 80%;
  text-align: center;
  margin: 0 50px;
}

.services-container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row; 
  align-items: flex-start; 
  justify-content: center; 
  width: 80%;
  height: 70%;
  overflow-y: scroll;
}

.services-description {
  width: 50%;
  padding: 50px;
  box-sizing: border-box;
  margin-bottom: 20px;
}

.services-description h2 {
  font-size: 2em;
  color: rgb(255, 253, 245);
}

.service-description h2:hover{
  text-shadow: 0 0 10px rgba(255, 253, 245, 0.8);
  cursor: pointer;
}

.services-description p {
  font-size: 1.5em;
  color: rgb(255, 253, 245); 
}

.thin-line {
  border: none;
  background-color: white;
  height: 1px;
  width: 70%; 
  margin: 0 auto; 
  box-shadow: 0px 2px 2px rgba(255, 255, 255, 0.5); 
}

#description-bénéfices {
  font-family: "AndreasRegular", serif;
  font-size: 2em;
  color: rgb(255, 253, 245);
  margin-left: 6%;
  margin-right: 6%;
  text-align: justify;
  text-align: center;
}

.description-bénéfices h2{
  font-size: 2.5em;
  color: rgb(255, 253, 245);
}

.events-text {
  font-size: 1.3rem;
  color: rgb(255, 253, 245);
  text-align: center;
  margin-left:10%;
  margin-right:10%;
}

@media (max-width: 768px) {
  .services-container {
    width: 100%;
  }
}

@media (max-width: 1200px) {
  #description-services {
    display: none;
    margin: 0 0px;
    padding:0px;

  }

  #description-bénéfices {
    font-size: 1em;
    margin-left: 0%;
    margin-right: 0%;
  }
  
  .description-bénéfices h2{
    font-size: 1.7em;
  }
  
  .events-text {
    display:none;
  }

  .services-description {
    width: 100%;
    padding: 0px;
    margin-left: 0%;
    margin-right: 0%;
  }
  
  .services-description h2 {
    font-size: 1.7em;
  }
  
  .services-description p {
    font-size: 1em;
    margin-left: 0%;
    margin-right: 0%;
    padding:0px;
  }
}

/* Image Carousel */
.image-carousel {
  position: relative;
  width: 90%;
  overflow: hidden;
  /* margin-top: 50px; */
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 253, 245, 0.8) transparent; 
}

.carousel-container {
  margin-top:20px;
  display: flex;
  align-items: center;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 253, 245, 0.8) transparent;
}

.carousel-container::-webkit-scrollbar,
.image-carousel::-webkit-scrollbar {
  width: 12px; 
}

.carousel-container::-webkit-scrollbar-track,
.image-carousel::-webkit-scrollbar-track {
  background: transparent; 
}

.carousel-container::-webkit-scrollbar-thumb,
.image-carousel::-webkit-scrollbar-thumb {
  background-color: rgba(255, 253, 245, 0.8); 
  border-radius: 6px;
  border: 3px solid transparent;
}

.carousel-track {
  display: flex;
  gap: 8%; 
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  flex: 0 0 100%;
  /* max-width: 50%; */
  scroll-snap-align: center;
    max-width: 20%;
    max-height: 20%;

    width: auto; 
    height: auto; 
}

.image-carousel::-webkit-scrollbar {
  display: none;
}

@media (max-width: 1100px) {
  .carousel-slide {
    max-width: 60%;
    transition: max-width 0.5s ease;
  }
}

/* For smaller screens */
@media (max-width: 800px) {
  .carousel-slide {
    max-width: 100%;
    transition: max-width 0.5s ease;
  }
}



/* philosophie */

#philosophie-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  margin: 0 50px;
}

.philosophie-container {
  display: flex;
  flex-direction: row; 
  align-items: flex-start; 
  justify-content: center; 
  width: 80%;
  height: 50%;
  overflow-y: scroll;
}

.philosophie-text-container {
  flex: 1;
  overflow-y: auto;
  max-height: 100%;
}

#philosophieText {
  overflow: scroll;
}


#philosophie-image {
  width: 80%;
  max-width: 550px;
  margin-left: 10%;
}

@media (max-width: 900px) {
  #philosophie-image {
    max-height: 80%;
  }
  .philosophie-container {
    width: 100%;
  }
}

@media (max-width:1300px){
  #philosophie-image {
    width: 200px;
    margin-left: 50px;
  }
}

@media (max-width: 900px) {
  #philosophie-image {
    display: none;
  }
}


/* galerie */

#galerie-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  margin: 0 50px;
}


/* contact */

#contact-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  margin: 0 50px; /
}

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

#description-services,
#description-philosophie {
  font-family: "AndreasRegular", serif;
  font-size: 2em;
  color: rgb(255, 253, 246);
}
#description-contact {
  font-family: "AndreasRegular", serif;
  font-size: 2em;
  color: rgb(255, 253, 246);
  margin-left: 6%;
  margin-right: 6%;
  text-align: justify;
  text-align: center;
}
@media (max-width: 1070px) {
  #description-services,
  #description-philosophie,
  #description-contact {
    font-size: 1.1em;
  }
}

#email {
  font-family: "AndreasRegular", serif;
  font-size: 2em;
  color: rgb(255, 253, 246);
}

#email a {
  text-decoration: none;
  color: rgb(255, 253, 246);
}

#email:hover{
  text-shadow: 0 0 10px rgba(255, 253, 245, 0.8);
  cursor: pointer;
}

@media (max-width: 1070px) {
  #email {
    font-size: 1.3em;
  }
}

@media (max-width: 768px) {
  #description-contact {
    width: 100%;
  }
}
