@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Jost:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  /*colors*/
  --main_color: #ac926b;
  --secondary_color: #152032;
  /*font-fam*/
  --jost_font: "Jost", sans-serif;
  --main_font: "Cormorant-Garamond", serif;
}

html,
body {
  max-width: 101vw;
  scroll-behavior: smooth;
  background-color: var(--secondary_color);
  color: white;
  /* overflow-x: hidden; */
}

section {
  overflow-x: clip;
}

/* #landing_section {
  overflow-y: hidden;
} */

body {
  padding: 0;
  margin: 0;
}

h3 {
  padding: 0;
  margin: 0;
  font-weight: 300;
  font-family: var(--jost_font);
  text-transform: uppercase;
  font-size: 2vw;
  text-align: center;
}

/* NAVBAR */

nav {
  display: flex;
  flex-direction: column;
  position: fixed;
  z-index: 5;
  top: 0;
  justify-items: center;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 10vh;
  font-family: var(--jost_font);
  font-weight: 100;
  background-color: var(--secondary_color);
}

a {
  color: #ffff;
  text-decoration: none;
  transition: 0.2s ease-in-out;
}

li a:hover {
  color: var(--main_color);
}

.navlinks.open li a {
  color: var(--secondary_color);
}

#language-switcher,
#articles {
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
}

.dropdown {
  display: flex;
  flex-direction: column;
  font-size: 80%;
  opacity: 0;
  padding: 1rem 0 0 1rem;
  gap: 0.5rem;
  top: 10px;
  position: absolute;
  transition: 0.5s ease-in-out;
  width: 250px;
}

#language-switcher:hover .dropdown {
  opacity: 1;
}

#articles:hover .dropdown {
  opacity: 1;
}

.dropdown li {
  list-style: none;
}

/* HAMBURGER ICON */

.hamburger-icon {
  display: none;
  flex-direction: column;
  justify-content: space-evenly;
  height: 24px;
  width: 24px;
  cursor: pointer;
}

.hamburger-icon span {
  height: 1px;
  background-color: white;
  transition: all 0.2s ease-in-out;
}

.hamburger-icon.open span:last-child {
  transform: rotate(-45deg) translateY(-3px) translateX(5px);
}

.hamburger-icon.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-icon.open span:nth-child(1) {
  transform: rotate(45deg) translateY(5px) translateX(5px);
}

#nav_bar {
  transition: 0.5s ease-out;
}

.nav_links {
  display: flex;
  text-transform: uppercase;
  gap: 10vw;
  list-style: none;
}

/* SECTIONS */

/* 1 */

#logo {
  width: 30vw;
  position: fixed;
  transition: 0.2s ease-out;
}

section {
  height: 100vh;
  width: auto;
}

#landing_section {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

#animationLottie {
  height: 5vh;
  font-weight: 100;
  margin: auto;
  position: absolute;
  transition: 0.2s ease-in-out;
  bottom: 30%;
  text-align: center;
  justify-content: center;
  font-family: var(--jost_font);
  opacity: 0;
}

#branch_down_left,
#branch_top_right,
#flower_down_mid,
#flower_top_left,
#flower_mid_left {
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  transition: 0.1s ease-in-out;
  overflow: hidden;
  will-change: transform;
}

#branch_down_left {
  height: 20vh;
  width: 20vw;
  background-image: url("assets/landing/branch_down_left.png");
  position: absolute;
  bottom: -10px;
  transform-origin: bottom left;
  left: 0;
}

#branch_top_right {
  margin: 5rem 0 0 0;
  height: 30vh;
  width: 20vh;
  background-image: url("assets/landing/top_left_branch.png");
  position: absolute;
  top: -20px;
  right: 0;
  transform-origin: top right;
}

#flower_down_mid {
  height: 25vh;
  width: 25vh;
  background-image: url("assets/landing/full_flower.png");
  position: absolute;
  bottom: 0;
  right: -50px;
}

#flower_top_left {
  height: 20vh;
  width: 25vh;
  background-image: url("assets/landing/flower-top-left.png");
  position: absolute;
  left: -50px;
  top: 0;
  transform-origin: top left;
}

#flower_mid_left {
  margin: 7vh 0 0 0;
  height: 30vh;
  width: 9vh;
  background-image: url("assets/landing/flower_mid_right.png");
  position: absolute;
  right: -30px;
}

/* 2 */

#articles {
  display: flex;
  justify-content: center;
  flex-direction: column;
  max-width: 100vw;
}

.title_page {
  font-family: var(--jost_font);
  font-weight: 200;
  font-size: 3rem;
  padding: 0 0 5rem 0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 10.5px;
}

.articles_container {
  display: flex;
  grid-template-columns: 1fr 1fr;
  align-items: flex-start;
  justify-items: center;
  justify-content: space-around;
  transition: opacity 0.5s ease-in-out;
  max-width: 100vw;
}

.article {
  display: flex;
  align-items: center;
  justify-items: center;
}

article {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-direction: column;
  width: 20vw;
  transition: 0.5s ease-in-out;
  letter-spacing: 0.5px;
}

article img {
  width: 20vw;
  max-width: 150px;
  transition: 0.5s ease-in-out;
}

article img:hover {
  scale: 1.1;
}

article p {
  font-weight: 200;
  font-size: 1rem;
  font-family: var(--jost_font);
  opacity: 0.5;
  text-align: center;
}

/* 3 */

#passion {
  display: flex;
  height: auto;
  position: relative;
  margin: 5vh 0 5vh 0;
}

.stephan_chayto {
  background-image: url("assets/landing/stephane_chayto.png");
  background-size: cover;
  background-position: center;
  width: 50%;
}

.about_container {
  display: flex;
}

.about_text {
  width: 50%;
  display: flex;
  flex-direction: column;
  margin: 0 180px 0 50px;
}

.about_text .title_page {
  color: var(--main_color);
}

.about_text p {
  font-size: 1rem;
  font-weight: 200;
  margin: 0 0 50px 0;
  font-family: var(--jost_font);
  max-width: 100%;
  letter-spacing: 0.5px;
  line-height: 1.5;
}

#bird_left {
  height: 271.5px;
  width: 135.75px;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("assets/landing/birdLeft.png");
  transition: 1s ease-in-out;
  position: absolute;
  bottom: 0;
  left: 0;
}

#bird_right {
  height: 362px;
  width: 181px;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("assets/landing/birdRight.png");
  transition: 1s ease-in-out;
  position: absolute;
  right: 0;
}

/* MAP */

#contact {
  margin: 10rem 0 0 0;
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100vh;
  overflow: hidden;
}

#map {
  margin: 1rem 0 0 0;
  width: 100vw;
  height: 40vh;
}

.contact_banner {
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  margin: 5vh 0 0 0;
  justify-content: space-around;
  font-family: var(--jost_font);
  width: 100vw;
}

.contact_banner #logo_contact {
  width: 30vw;
}

.contact_grid {
  display: grid;
  grid-template-columns: repeat(2, auto);
  grid-auto-rows: auto;
  align-items: center;
  font-weight: 100;
  gap: 10px;
}

.contact_icons {
  display: flex;
  align-items: center;
  justify-items: center;
  gap: 1rem;
}

.icon {
  width: 5vw;
  height: 5vh;
  stroke: #ffff; /* Default stroke color for paths */
  stroke-width: 2; /* Adjust stroke width as needed */
  transition: 0.2s ease-in-out;
}

.icon:hover {
  scale: 1.2;
}

.icon:hover path {
  stroke: var(--main_color);
}
.icon:hover circle {
  stroke: var(--main_color);
}

.icon:hover rect {
  stroke: var(--main_color);
}

#contact p {
  font-weight: 100;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  font-family: var(--jost_font);
}

/*ARTICLES*/

#articles_bg {
  display: flex;
  flex-direction: column;
  background-image: url("./assets/articles_background/drap_blue.png");
  background-size: cover;
  background-repeat: none;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
}

#articles_bg #article_description {
  font-family: var(--jost_font);
  font-weight: 100;
}

#article_img {
  width: 30vw;
}

#arrowRight {
  position: absolute;
  height: 3vh;
  right: 20px;
  margin: 2rem;
  z-index: 1;
}

#arrowLeft {
  position: absolute;
  height: 3vh;
  left: 20px;
  transform: scaleX(-1);
  margin: 2rem;
  z-index: 2;
}

.article_container {
  display: flex;
  align-items: center;
}

#article_text {
  font-family: var(--jost_font);
  text-transform: uppercase;
  font-weight: 300;
  color: #ffff;
  text-align: center;
}

#mini {
  background-image: url("assets/icons/mini.png");
  background-size: cover;
  transition: 1s ease;
  position: absolute;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
}

/* ARTICLES CHOICES */

#articles_types {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20vh 0 0 0;
}

.articles_types_container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: auto;
  width: 100vw;
}

.article_img {
  width: 100%;
  max-width: 200px;
  height: auto;
  display: block;
  transition: 0.5s ease-in-out;
}

.img_container {
  padding: 0.5rem;
  position: relative;
}

.image_text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  opacity: 0;
  text-transform: uppercase;
  transition: 0.5s ease-in-out;
  text-align: center;
  letter-spacing: 2.5px;
}

.img_container:hover .image_text {
  opacity: 1;
}

.img_container:hover .article_img {
  filter: brightness(0.4);
}

/* GALLERY */

#gallery,
#necklaces,
#rings,
#earings {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  padding: 20vh 0 0 0;
}

#guide {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: auto;
  margin: 20vh 0 0 0;
}

.gallery_container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  width: 100vw;
  gap: 1.5rem;
  padding: 0 0 1rem 0;
}

.gallery_img {
  width: 150px;
  height: 330px;
  clip-path: polygon(25% 0%, 75% 0%, 75% 100%, 25% 100%);
  transition: 0.5s ease-in-out;
}

.gallery_img:hover {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.modal {
  display: none;
  position: fixed;
  z-index: 9;
  padding-top: 15vh;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  margin: auto;
  display: block;
  justify-content: center;
  height: 70vh;
}

.close {
  position: absolute;
  top: 10vh;
  right: 30px;
  color: #fff;
  font-family: var(--jost_font);
  font-size: 40px;
  font-weight: 100;
  transition: 0.3s;
  z-index: 100;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* GUIDE */

.guide_text_container {
  padding: 2.5rem 0 2.5rem 0;
  max-width: 90vw;
  text-align: center;
}

#guide {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: auto;
  margin: 20vh 0 0 0;
}

.guide_min_title {
  font-weight: 200;
  font-family: var(--jost_font);
  font-size: 1.5rem;
  letter-spacing: 7.5px;
}

.guide_text {
  font-weight: 100;
  font-size: 1rem;
  letter-spacing: 1.5px;
  font-family: var(--jost_font);
  padding: 1rem 0 0 0;
  max-width: 90vw;
}

.diamond_shapes_img {
  height: auto;
  padding: 3rem 0 0 0;
  max-width: 80vw;
  max-height: 80vh;
}

.clarity_container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 1rem;
  font-family: var(--jost_font);
  font-weight: 100;
}

.clarity_item {
  border: 1px solid #fff;
  padding: 1rem;
  margin: 1rem;
  max-width: 20vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.classification {
  font-weight: 300;
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.description {
  padding-top: 0.5rem;
}

/* NECKLACES */

#jewellery_yarticles_container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: flex-start;
  justify-items: center;
  gap: 5vh 10vw;
  padding: 1rem;
}
