@import url("https://fonts.googleapis.com/css2?family=Inter&family=Lora&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");

:root {
  --primary-color: #ffffff;
  --secondary-color: #f9f7f3;
  --tertiary-color: #dddddd;
  --quaternary-color: #40403f;
  --quinary-color: #121212;
  --senary-color: #a88755;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  scroll-behavior: smooth;
}

body {
  background-color: var(--primary-color);
  overflow-x: hidden;
  font-family: "poppins", sans-serif;
  color: var(--quaternary-color);
  scroll-behavior: smooth;
}

html {
  overflow-x: hidden;
}

/* ? _max-width_ */
.max-width {
  padding: 0.5rem 1.5rem;
}
/* ? end_max-width_ */

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25d366; /* Warna hijau WhatsApp */
  color: #fff;
  border-radius: 50%;
  padding: 15px;
  font-size: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: background-color 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #128c7e; /* Warna hijau lebih gelap saat hover */
}

.whatsapp-float i {
  margin: 0;
}

.ri-whatsapp-fill {
  color: #fff;
  padding-left: 1px;
  font-size: larger;
}

/* *_navbar_ */
.navbar {
  position: fixed;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgb(255, 255, 255, 0.8);
  width: 100%;
  backdrop-filter: blur(10px);
  z-index: 2;
}
.navbar.fixed {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.navbar__logo {
  font-size: 1.5rem;
  font-family: "Lora", serif;
  font-weight: 700;
}

.navbar__logo a {
  color: var(--senary-color);
}
.navbar__menu ul {
  display: flex;
}
.navbar__menu li {
  list-style: none;
  /* margin-right: 1rem; */
}
.navbar__menu li a {
  text-decoration: none;
  color: var(--quaternary-color);
  font-size: 1.2rem;
  font-family: "poppins", sans-serif;
  font-weight: 500;
}
.navbar__menu li a.active {
  color: var(--quinary-color);
  border-bottom: 2px solid var(--senary-color);
  border-width: 1px;
  font-weight: 550;
}
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 5px;
  background-color: var(--senary-color);
  font-family: "poppins", sans-serif;
  font-weight: 500;
  cursor: pointer;
  width: fit-content;
}
.btn__nav a {
  color: var(--secondary-color);
}
.btn__nav-sm {
  display: none;
}

/* ? hamburger-menu__start */
.ham {
  display: block;
  height: 40px;
  width: 40px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 400ms;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  stroke: var(--quaternary-color);
}
.hamRotate.active {
  transform: rotate(45deg);
}
.hamRotate180.active {
  transform: rotate(180deg);
}
.line {
  fill: none;
  transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
  stroke-width: 5.5;
  stroke-linecap: round;
  stroke: var(--hamburger-menu__icon);
}
.line.active {
  stroke: var(--font-color__default);
}
.ham1 .top {
  stroke-dasharray: 40 139;
}
.ham1 .bottom {
  stroke-dasharray: 40 180;
}
.ham1.active .top {
  stroke-dashoffset: -98px;
}
.ham1.active .bottom {
  stroke-dashoffset: -138px;
}
/* ? hamburger-menu__end*/

/* *__end_navbar_ */

/* *_home_ */
.home__content {
  display: flex;
  flex-direction: column;
  margin-top: 5rem;
}
.home__img-1 {
  display: flex;
  justify-content: center;
  order: 3;
  display: none;
}
.home__img-1 img {
  width: 300px;
  border-radius: 10px;
  background-position: center;
  background-size: cover;
}
.home__text-1 {
  font-size: 2.5rem;
  font-family: "inter", sans-serif;
}
.home__img-2 {
  display: flex;
  justify-content: center;
}
.home__img-2 img {
  width: 350px;
  border-radius: 10px;
  background-position: center;
  background-size: cover;
  margin: 1rem 0;
}
.home__text-2 {
  font-family: "inter", sans-serif;
  font-size: 1.2rem;
}
.btn__home {
  margin: 0.5rem 0 2rem 0;
}
.btn__home a {
  font-family: "poppins", sans-serif;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}
.right-up-line {
  font-size: 1.2rem;
}

/* *__end_home_ */

/* *_about-us_ */
.head-title {
  text-align: center;
  margin: 3.5rem 0 0 0;
}
.about-us__box-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.about-us__box-title {
  font-size: 1.2rem;
  margin: 0.5rem;
}
.about-us__box {
  width: 100%;
  margin: 1rem 0;
  padding: 1rem;
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.08);
  border-radius: 0.5rem;
  text-align: center;
  align-items: center;
}
.btn__about {
  margin: 1rem 0;
  text-align: center;
  align-items: center;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  color: var(--senary-color);
}
/* *__end_about-us_ */

/* *_product_ */
.title {
  color: var(--senary-color);
  font-size: 1.1rem;
  letter-spacing: 0.2rem;
  font-weight: 600;
}
.sec__title {
  color: var(--quinary-color);
  font-size: 1.5rem;
  margin: 0.2rem 0 0 0;
}
.desc__title {
  margin: 1rem 0 1.5rem 0;
}
/* ?carousel */
.gallery {
  padding: 1rem;
  overflow: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.gallery::-webkit-scrollbar {
  display: none;
  background: transparent;
}
.gallery.active {
  scroll-snap-type: unset;
}
/* ?end__carousel */

.product__content-right {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}
.product-box {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.1);
  border-radius: 0.4rem;
  cursor: grab;
}
.product-box__category {
  background-color: var(--tertiary-color);
  color: var(--senary-color);
  width: fit-content;
  padding: 0.3rem 0.7rem;
  border-radius: 0.4rem;
  font-size: 0.8rem;
  margin: 0.5rem 0 0.8rem 0;
}
.product-box__img {
  width: 100%;
}
.btn__product {
  color: var(--primary-color);
  align-items: center;
  margin-top: 0.5rem;
  text-align: center;
  gap: 0.5rem;
}
.product-box__img img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 0.4rem;
}
.product-box__title {
  margin-bottom: 0.5rem;
}
.product-box__desc {
  color: var(--quaternary-color);
}
/* *__end_product_ */

/* *_How-it-Work_ */
.how-does-work__content-left {
  margin: 2rem 0 1rem 0;
}
.content-right__text {
  color: var(--quaternary-color);
}
/* ? cleanser */
.how-does-work__content-2 {
  display: flex;
  flex-direction: column-reverse;
}
.how-does-work__content-2-right {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0;
  width: 100%;
}
.how-does-work__content-2-right img {
  width: 300px;
  border-radius: 0.4rem;
  background-size: cover;
  object-fit: cover;
}
/* ? toner */
.how-does-work__content-3 {
  display: flex;
  flex-direction: column-reverse;
}
.how-does-work__content-3-right {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0;
  width: 100%;
}
.how-does-work__content-3-right img {
  width: 300px;
  border-radius: 0.4rem;
  background-size: cover;
}
/* ? serum */
.how-does-work__content-4 {
  display: flex;

  flex-direction: column-reverse;
}
.how-does-work__content-4-right {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0;
  width: 100%;
}
.how-does-work__content-4-right img {
  width: 300px;
  border-radius: 0.4rem;
}
/* ? moisturizer */
.how-does-work__content-5 {
  display: flex;
  flex-direction: column-reverse;
}
.how-does-work__content-5-right {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0;
  width: 100%;
}
.how-does-work__content-5-right img {
  width: 300px;
  border-radius: 0.4rem;
}
/* ? sunscreen */
.how-does-work__content-6 {
  display: flex;

  flex-direction: column-reverse;
}
.how-does-work__content-6-right {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0;
  width: 100%;
}
.how-does-work__content-6-right img {
  width: 300px;
  border-radius: 0.4rem;
  background-size: cover;
}
.text-left {
  color: var(--tertiary-color);
  font-size: 1.2rem;
}
.btn__how-work {
  color: var(--senary-color);
  background-color: var(--tertiary-color);
  font-weight: 600;
  /* margin: 1.5rem 0; */
  margin-bottom: 0.5rem;
}
.text-content__how {
  font-size: 1.3rem;
}
.content-right__text-2 {
  margin: 0.5rem 0;
}
/* *__end_How-it-Work_ */

/* *_Testimonial_ */
.testimonial__content::before {
  content: open-quote;
  font-family: sans-serif;
  font-size: 7rem;
  color: var(--quaternary-color);
  position: absolute;
  top: -1rem;
  left: 0;
}
.testimonial__content::after {
  content: close-quote;
  font-family: sans-serif;
  font-size: 7rem;
  color: var(--quaternary-color);
  position: absolute;
  bottom: -2rem;
  right: 0;
}

.testimonial__content {
  position: relative;
  background-color: var(--tertiary-color);
  padding: 3rem 1.5rem 1rem 1.5rem;
  border-radius: 0.4rem;
  margin: 1rem 0;
  color: var(--quinary-color);
}
.testimonial__content-name {
  text-align: center;
  margin-top: 2rem;
}
.testimonial__content-name span {
  font-weight: 600;
}
.testimonial__content-name p {
  color: var(--quaternary-color);
}
/* *__end_Testimonial_ */

/* *_FAQ_ */
.faq__contact {
  color: var(--senary-color);
  font-size: 1.2rem;
  border-bottom: 1px solid var(--senary-color);
}
.FAQ__text-left {
  color: var(--quinary-color);
  font-size: 1.2rem;
}
.FAQ__content-right {
  margin-top: 2rem;
}
.FAQ__content-right-box {
  border-top: 1px solid var(--tertiary-color);
  padding: 1rem 0;
}
.FAQ__content-right-box-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  margin-top: 1rem;
}
.FAQ__content-right-box-desc {
  display: none;
}
.FAQ__content-right-box-desc.active {
  display: block;
}
.ri-subtract-line {
  color: var(--secondary-color);
  background-color: var(--senary-color);
  border-radius: 50%;
  padding: 0.5rem;
  font-size: 1.4rem;
}
.ri-add-line {
  color: var(--senary-color);
  border-radius: 50%;
  border: 1px solid var(--senary-color);
  padding: 0.5rem;
  font-size: 1.4rem;
}
.FAQ__content-left h3 {
  margin-bottom: 1rem;
}
/* *__end_FAQ_ */

/* *Biodata */
.biodata__content-right-box {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  align-items: center;
  flex-direction: column;
}
.biodata__content-right-box-img {
  border: 1px solid var(--tertiary-color);
  width: 300px;
  /* ! buat test */
  height: 300px;
  border-radius: 0.4rem;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  color: crimson;
  font-weight: bold;
}
.biodata__content-right-box-desc {
  margin-top: 1rem;
  text-align: center;
}
.biodata__content-right-box-desc-text {
  margin: 0.5rem 0;
}
.twitter,
.instagram,
.tiktok {
  font-size: 32px;
  margin-top: 0.5rem;
  padding: 0 0.5rem;
  color: var(--quinary-color);
}
/* *__end_Biodata */

/* *_Footer_ */
.footer__content {
  border-top: 1px solid var(--quaternary-color);
  padding: 1rem 0;
  margin-top: 2rem;
}
.quick-link {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.quick-link a {
  color: var(--quaternary-color);
  font-size: 0.9rem;
}
.footer__content-left-text {
  margin: 1rem 0;
}
.footer__content-left .title {
  font-family: "lora", serif;
  letter-spacing: normal;
  font-size: 1.2rem;
}
.footer__content-right .title {
  color: var(--quaternary-color);
  margin-bottom: 0.5rem;
  letter-spacing: normal;
}
.footer__content-2 {
  border-top: 1px solid var(--quaternary-color);
  padding: 1rem 0;
}
.footer__content-2 span {
  text-align: center;
  align-items: center;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.footer__content-2 span .heart {
  color: crimson;
  font-size: 1.1rem;
  padding: 0 0.2rem;
}
.footer__content-2 span strong {
  padding-left: 0.2rem;
}
/* *__end_Footer_ */

/* ! default device */
@media screen and (max-width: 639px) {
  .ham {
    display: block;
  }
  .navbar__menu-content {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 2rem;
    visibility: hidden;
  }
  .navbar__menu-content.open {
    opacity: 1;
    visibility: visible;
  }
  .navbar__menu {
    display: none;
  }
  .navbar__menu.open {
    position: fixed;
    top: 0;
    right: 0;
    left: 50%;
    bottom: 0;
    height: 100vh;
    background-color: var(--secondary-color);
    display: flex;
    flex-direction: column;
    padding-top: 3.5rem;
    z-index: 99;
    gap: 1rem;
    text-align: center;
    align-items: center;
    padding-bottom: 5rem;
  }
  .btn__nav {
    margin-top: 3rem;
    display: none;
  }
  .ham {
    z-index: 999;
  }
  .ham.active {
    stroke: crimson;
  }
  .btn__nav-sm {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    background-color: var(--senary-color);
    font-family: "poppins", sans-serif;
    font-weight: 500;
    cursor: pointer;
    width: fit-content;
  }
  .btn__nav-sm a {
    color: var(--secondary-color);
  }
}

/* ! small device  */
@media screen and (min-width: 640px) {
  .max-width {
    padding: 0.5rem 2rem;
  }
  .ham {
    display: none;
  }
  /* body {
    background-color: lightblue;
  } */
  .navbar__menu {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
  /* .home__content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    gap: 1rem;
    grid-auto-flow: row;
    grid-template-areas:
      "home__text-1 home__text-1 home__img-2 home__img-2"
      "home__text-1 home__text-1 home__img-2 home__img-2"
      "home__img-1 home__img-1 home__img-2 home__img-2"
      "home__img-1 home__img-1 home__text-2 home__text-2";
    align-items: center;
    margin: 1rem 0 0 0;
  }

  .home__text-1 {
    grid-area: home__text-1;
    font-size: 3rem;
    font-family: "poppins", sans-serif;
  }

  .home__img-2 {
    grid-area: home__img-2;
  }
  .home__img-2 img {
    width: 100%;
    height: 100%;
  }

  .home__text-2 {
    grid-area: home__text-2;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
  }

  .home__img-1 {
    grid-area: home__img-1;
    display: block;
    width: 100%;
  }
  .home__img-1 img {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
  } */

  .home__content {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    gap: 1rem;
  }
  .home__img-1 {
    display: inline-block;
  }
  .home__content-left {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .home__content-right {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1rem;
  }
  .home__img-2 img {
    width: 250px;
    border-radius: 10px;
    background-position: center;
    background-size: cover;
    margin: 1rem 0;
  }
  .home__img-1 img {
    width: 250px;
    border-radius: 10px;
    background-position: center;
    background-size: cover;
  }

  .about-us__box-content {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
  }
  .about-us__box-title {
    font-size: 1.2rem;
    margin: 0.5rem;
  }
  .about-us__box {
    width: 250px;
    margin: 1rem 0;
    padding: 1rem;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.08);
    border-radius: 0.5rem;
    text-align: center;
    align-items: center;
  }
  .product__content {
    display: flex;
    gap: 1rem;
  }
  .product__content-left {
    width: 50%;
  }
  .product__content-right {
    width: 50%;
  }
  .product__content-left .head-title {
    text-align: start;
  }
  .how-does-work__content {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
  }
  .how-does-work__content-left {
    width: fit-content;
  }
  .how-does-work__content-right {
    width: 50%;
  }
  /* ? cleanser */
  .how-does-work__content-2 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
  .how-does-work__content-2-left {
    width: fit-content;
  }
  .how-does-work__content-2-right img {
    width: 300px;
    background-position: center;
    background-size: cover;
  }
  /* ? toner */
  .how-does-work__content-3 {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-direction: row-reverse;
  }
  .how-does-work__content-3-right {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
    width: 100%;
  }
  .how-does-work__content-3-right img {
    width: 300px;
    border-radius: 0.4rem;
    background-size: cover;
  }
  /* ? serum */
  .how-does-work__content-4 {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-direction: row;
  }
  .how-does-work__content-4-right {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
    width: 100%;
  }
  .how-does-work__content-4-right img {
    width: 300px;
    border-radius: 0.4rem;
    background-size: cover;
  }
  /* ? moisturizer */
  .how-does-work__content-5 {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-direction: row-reverse;
  }
  .how-does-work__content-5-right {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
    width: 100%;
  }
  .how-does-work__content-5-right img {
    width: 300px;
    border-radius: 0.4rem;
    background-size: cover;
  }
  /* ? sunscreen */
  .how-does-work__content-6 {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-direction: row;
  }
  .how-does-work__content-6-right {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
    width: 100%;
  }
  .how-does-work__content-6-right img {
    width: 300px;
    border-radius: 0.4rem;
    background-size: cover;
  }

  .testimonial__content {
    padding: 3rem 4rem 1.5rem 4rem;
    text-align: center;
  }
  .FAQ__content {
    display: flex;
    gap: 2rem;
    justify-content: space-between;
  }
  .FAQ__content-left {
    width: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: fit-content;
  }
  .FAQ__content-right {
    width: 50%;
  }
  .biodata__content-right-box {
    flex-direction: row;
    gap: 1rem;
  }
  .biodata__content-right-box-img {
    width: 50%;
    background-position: center;
    background-size: cover;
  }
  .biodata__content-right-box-desc {
    width: 50%;
    padding: 1rem;
  }
  .footer__content {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
  }
  .footer__content-left {
    width: 50%;
  }
  /* .footer__content-right {
    width: fit-content;
  } */
  .quick-link {
    justify-content: start;
  }
}

/* ! medium device  */
@media screen and (min-width: 768px) {
  .max-width {
    padding: 0.5rem 5rem;
  }
  /* body {
    background-color: salmon;
  } */
  .home__text-1 {
    font-size: 3.1rem;
  }
  .home__content {
    gap: 2rem;
  }
  .FAQ__content {
    gap: 3rem;
  }
  .home__content {
    gap: 3rem;
  }
  .home__img-2 img {
    width: 280px;
  }
  .home__img-1 img {
    width: 280px;
  }
  .biodata__content-right-box {
    flex-direction: row;
    gap: 2rem;
  }
}

/* ! large device  */
@media screen and (min-width: 1024px) {
  .max-width {
    padding: 0.5rem 10rem;
  }
  /* body {
    background-color: lightpink;
  } */
  .navbar__menu {
    display: flex;
    gap: 1rem;
  }
  .product__content {
    display: flex;
    gap: 2rem;
  }
  .FAQ__content {
    gap: 4rem;
  }
  .how-does-work__content-2 {
    gap: 4rem;
  }
  .how-does-work__content-3 {
    gap: 4rem;
  }
  .how-does-work__content-4 {
    gap: 4rem;
  }
  .how-does-work__content-5 {
    gap: 4rem;
  }
  .how-does-work__content-6 {
    gap: 4rem;
  }
  .home__content {
    gap: 4rem;
  }
  .home__img-2 img {
    width: 300px;
  }
  .home__img-1 img {
    width: 300px;
  }
  .biodata__content-right-box {
    flex-direction: row;
    gap: 3rem;
  }
}

/* ! extra large device  */
@media screen and (min-width: 1280px) {
  .max-width {
    padding: 0.5rem 15rem;
  }
  /* body {
    background-color: lightgoldenrodyellow;
  } */
  .navbar__menu {
    display: flex;
    gap: 1rem;
  }
  .product__content-left {
    width: 40%;
  }
  .product__content {
    display: flex;
    gap: 4rem;
  }
  .home__content {
    gap: 5rem;
  }
  .home__img-2 img {
    width: 320px;
  }
  .home__img-1 img {
    width: 320px;
  }
  .biodata__content-right-box {
    flex-direction: row;
    gap: 4rem;
  }
}

/* ! extra extra large device  */
@media screen and (min-width: 1536px) {
  .max-width {
    padding: 0.5rem 25rem;
  }
  /* body {
    background-color: lightgray;
  } */
  .navbar__menu {
    display: flex;
    gap: 1rem;
  }
  .home__content {
    gap: 6rem;
  }
  .home__img-2 img {
    width: 350px;
  }
  .home__img-1 img {
    width: 350px;
  }
  .about-us__box-content {
    gap: 1rem;
  }
}
