html,
body,
* {
  font-family: 'Vendeur', sans-serif;
}

html,
body {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
}

:root {
  --color-primary: #dfb96d;
  --color-secondary: #fff4df;
  --color-text: #242c33;
  --color-shadow: rgba(0, 0, 0, 0.1);
}

/* ===== Vendeur Font ===== */
@font-face {
  font-family: 'Vendeur';
  src: url(../assets/fonts/Vendeur-Regular.ttf) format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Vendeur';
  src: url(../assets/fonts/Vendeur-Italic.ttf) format('truetype');
  font-weight: normal;
  font-style: italic;
}

/* ===== Museo Font ===== */
@font-face {
  font-family: 'Museo';
  src: url(../assets/fonts/Museo-300.otf) format('opentype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Museo';
  src: url(../assets/fonts/Museo-500.otf) format('opentype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Museo';
  src: url(../assets/fonts/Museo-700.otf) format('opentype');
  font-weight: 700;
  font-style: normal;
}

/* =========== HAMBURGER NAVIGATION FULLSCREEN =========== */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--color-secondary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* gap: 30px; */
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 99;
}

.nav-overlay ul {
  /* list-style: none;
  padding: 0;
  margin: 0; */
  text-align: center;
}

.nav-overlay li {
  margin: 20px 0;
}

.nav-overlay a {
  /* text-decoration: none; */
  color: var(--color-text);
  font-size: 24px;
  font-weight: 500;
}

/* Tampilkan menu saat aktif */
.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ======== NAVBAR ======== */
.nav-menu ul {
  display: none;
}

/* ===== Hamburger Animasi ke X ===== */
.hamburger {
  display: block;
  cursor: pointer;
  z-index: 100;
}

.hamburger span {
  display: block;
  width: 35px;
  height: 4px;
  background: black;
  margin: 7px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Transform ke X saat aktif */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -8px);
}

/* ======== SECTION HERO ======== */

#hero-section {
  height: 100vh;
  position: relative;
  /* background-color: red; */
  /* background-image: url(../assets/images/Stamp-Natural.png); */
  background-image: url(../assets/images/Hero-Image.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right 5% bottom;
}

.hero-star {
  display: none;
}

.hero-background {
  --x: 550px;
}

.hero-background img {
  z-index: -5;
  position: absolute;
  /* width: 180vw; */
  /* height: 100vh; */
  /* object-fit: cover; */
  /* object-position: bottom 0 right 70vw; */
  bottom: 0;
  right: 0;
  transform: scale(10%) translateX();
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5vw;
  padding: 20px 3%;
  height: 15vh;
  position: relative;
}

.logo {
  width: 40%;
}

.logo img {
  max-width: 70px;
}

.nav-btn {
  display: none;
}

.hamburger {
  display: block;
}

.hamburger span {
  display: block;
  width: 35px;
  height: 4px;
  background: black;
  margin: 7px 0;
}

.hero-content {
  margin-top: 10px;
}

.hero-text {
  width: 90%;
  margin: 0 auto;
  text-align: center;
}

.hero-text h1 {
  font-size: 36px;
  font-weight: 300;
  color: var(--color-text);
}

.hero-text h2 {
  font-size: 48px;
  font-weight: 300;
  font-style: italic;
  color: var(--color-primary);
}

.hero-text p {
  margin-top: 15px;
  font-family: 'Museo', sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.2;
  color: var(--color-text);
}

.hero-void {
  width: 100%;
  height: 38vh;
  position: relative;
}

.hero-void img {
  max-width: 60px;
  position: absolute;
  top: 10px;
  right: 5%;
}

.hero-btn-container {
  position: absolute;
  transform: translate(-50%, 0);
  left: 50%;
  width: 100%;
  bottom: 5vh;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.hero-buttons a {
  padding: 10px 20px;
  font-size: small;

  border: 1px solid #fff;
  border-radius: 0px 15px 0 15px;
  background: var(--color-primary);
  color: #fff;
}

/* ======== SECTION PRODUCT DESCRIPTION ======== */

.product-description {
  padding: 30px 5% 50px 5%;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 30px;
}

.product-description .star {
  display: none;
}

.product-desc-text h1 {
  font-size: 48px;
  font-weight: 300;
  text-align: center;
  color: var(--color-text);
}

.product-desc-text h2 {
  font-size: 36px;
  font-weight: 300;
  font-style: italic;
  text-align: center;
  color: var(--color-primary);
}

.product-desc-text p {
  margin-top: 15px;
  font-family: 'Museo', sans-serif;
  font-size: 15px;
  font-weight: 300;
  text-align: center;
  line-height: 1.2;
  color: var(--color-text);
}

.product-desc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: -10px 10px 0 -4px #fff, -10px 10px 0 -1px var(--color-primary);
}

/* ======== SECTION RASANYA ======== */

.rasanya {
  width: 100%;
  padding: 30px 5% 50px 5%;
  background-color: var(--color-secondary);
}

.rasanya .star1,
.rasanya .star2 {
  display: none;
}

.rasanya h3 {
  font-family: 'Museo', sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  color: var(--color-text);
}

.rasanya h3 span {
  color: var(--color-primary);
}

.rasanya p {
  margin-top: 15px;
  font-family: 'Museo', sans-serif;
  font-size: 15px;
  font-weight: 300;
  text-align: center;
  line-height: 1.2;
  color: var(--color-text);
}

/* ======== SECTION PROBLEM SOLUTION ======== */

.problem-solution {
  width: 100%;
  padding: 30px 4% 0 4%;
  background-color: #fff;
}

.ps-top-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;

  font-family: 'Museo', sans-serif;
}

.ps-top-container p {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-text);
}

.ps-top-container span {
  color: var(--color-primary);
}

.problem,
.solution {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.list-item {
  display: flex;
  justify-content: left;
  align-items: start;
  gap: 5px;
}

.list-item p {
  font-size: 15px;
}

.ps-top-container img {
  width: 1rem;
}

.ps-top-container ul {
  line-height: 5px;
}

.ps-top-container ul li p {
  font-weight: 300;
}

.problem-solution .btn-container {
  height: 120px;
}

.btn-container {
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.btn-container a {
  font-size: 22px;
  padding: 9px 20px;
  border: 1px solid #fff;
  border-radius: 0px 15px 0 15px;
  background: var(--color-primary);
  color: #fff;
}

/* ======== SECTION HOW TO ======== */

#how-to {
  width: 100%;
  padding: 30px 5% 0 5%;
  background-color: var(--color-secondary);
  color: var(--color-text);

  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.ht-header p {
  font-family: 'Museo', sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
}

.ht-header h2 {
  font-family: 'vendeur', sans-serif;
  font-size: 36px;
  font-weight: 500;
  text-align: center;
}

.ht-star1,
.ht-star2 {
  display: none;
}

.ht-list {
  display: grid;
  grid-template-columns: 1fr 5fr;
  gap: 10px;
}

#how-to .btn-container {
  height: 60px;
  margin-bottom: 30px;
}

.icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ht-list img {
  object-fit: contain;
  height: 2.75rem;
}

.ht-list p {
  font-family: 'Museo', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.2;
}

/* ======== SECTION PERFUME VARIANTS ======== */

#perfume-variants {
  width: 100%;
  padding: 50px 4% 0 4%;
  background-color: #fff;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 22px;
  font-family: 'Museo', sans-serif;
  color: var(--color-text);
}

.pv-header {
  margin-top: 2rem;
  font-family: 'vendeur', sans-serif;
  font-size: 38px;
  font-weight: 500;
  text-align: center;
}

.pv-subtitle {
  margin-top: 1rem;
  font-family: 'Museo', sans-serif;
  font-size: 30px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 0;
}

/* ================= */
.card {
  padding: 20px 0;
}

.card img {
  width: 100%;
  /* height: 100%; */
  margin-top: 10px;
  margin-bottom: 15px;
}

.card h3 {
  font-family: 'museo', sans-serif;
  font-size: 26px;
  text-align: center;
  text-decoration: underline;
  margin-bottom: 15px;
}

.card p {
  font-family: 'Museo', sans-serif;
  font-size: 18px;
  font-weight: 300;
  text-align: center;
  line-height: 1.2;
}

.coming-soon {
  font-family: 'vendeur', sans-serif;
  font-size: 32px;
  font-weight: 500;
  font-style: italic;
  text-align: center;
  line-height: 1.5;
}

#perfume-variants .btn-container {
  font-family: 'vendeur', sans-serif;
  height: 40px;
  margin-bottom: 30px;
}

/* ======== SECTION FAQ ======== */

#faq {
  width: 100%;
  padding: 20px 5% 0 5%;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 25px;

  font-family: 'Museo', sans-serif;
  color: var(--color-text);
}

.faq-header {
  font-size: 36px;
  line-height: 1.2;
  text-align: center;
  font-family: 'vendeur', sans-serif;
}

.faq-container {
  margin: 10px 0 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.faq-item {
  width: 100%;
  border: none;
  box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.05);
  margin-bottom: 8px;
}

.faq-question {
  padding: 8px 16px;
  font-family: 'museo', sans-serif;
  font-size: 16px;
  color: var(--color-text);
  width: 100%;
  font-weight: 500;
  text-align: left;
  position: relative;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.arrow-icon {
  width: 28px;
  height: 28px;
  transition: transform 0.3s;
}

.faq-question.active .arrow-icon {
  transform: rotate(180deg);
}

.faq-answer {
  font-size: 14px;
  line-height: 1.2;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 16px;
  color: #909090;
}

.faq-answer p {
  padding: 16px 0;
  margin: 0;
}

/* ======== SECTION CTA ======== */
#cta {
  width: 100%;
  padding: 20px 0 5px 0;
  background-color: var(--color-secondary);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.cta-star1,
.cta-star2 {
  display: none;
}

.cta-header {
  font-family: 'vendeur', sans-serif;
  font-size: 26px;
  font-weight: 500;
  text-align: center;
}

.countdown {
  font-family: 'Museo', sans-serif;
  text-align: center;

  padding: 5px 5%;

  display: grid;
  grid-template-areas:
    'hours colon1 minutes colon2 seconds'
    'hLabel void1 mLabel void2 sLabel';
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.time {
  font-size: 75px;
  font-weight: 700;

  display: inline-block;
  min-width: 2ch; /* cukup untuk angka 2 digit */
  text-align: center;
}

.hours,
.minutes,
.seconds {
  min-width: 2ch;
  text-align: left;
}

.colon1,
.colon2 {
  min-width: 0.5ch;
}

.countdown small {
  font-family: 'Museo', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text);
}

/* ======== FOOTER ======== */
footer {
  width: 100%;
  padding: 20px 0;
  background-color: var(--color-primary);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 25px;

  font-family: 'Museo', sans-serif;
  color: #fff;
}

footer h2,
h3 {
  font-family: 'vendeur', sans-serif;
  text-align: center;
}

footer h2 {
  font-size: 54px;
  font-weight: 300;
}

footer h3 {
  font-size: 42px;
  font-weight: 300;
  font-style: italic;
}

footer p {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
}

footer .miring {
  font-style: italic;
}

.marketplace {
  padding: 10px 20%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.mp-icon-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.mp-icon {
  width: 75px;
}

.mp-label {
  font-size: 14px;
  text-align: center;
  text-decoration: underline;
}

.copyright {
  padding: 25px 0;
  font-family: 'museo', sans-serif;
  font-size: 14px;
  font-weight: 300;
  text-align: center;
  background-color: var(--color-primary);
  color: #fff;
  border-top: 1px solid #fff;
}

/* ======== Effects ======== */

.btn-hover {
  transition: all 0.2s ease-in-out;
}

.btn-hover:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.nav-hover {
  transition: all 0.1s ease-in-out;
}

.nav-hover:hover {
  color: var(--color-primary);
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
}

#star {
  animation: twinkle 5s infinite ease-in-out;
  transition: filter 0.9s ease;
}

@keyframes twinkle {
  0% {
    opacity: 1;
    filter: brightness(1);
  }
  50% {
    opacity: 0.4;
    filter: brightness(1.5);
  }
  100% {
    opacity: 1;
    filter: brightness(1);
  }
}

/* ======== section testimoni tambahan ======= */

#section-testimoni {
  background-color: var(--color-secondary);
  padding: 40px 0;
  font-size: 54px;
  text-align: center;
}

.slider {
  position: relative;
  /* width: 90%; */
  width: 100%;
  /* max-width: 800px; */
  background-color: var(--color-secondary);
  overflow: hidden;
}

.slider-container {
  display: flex;
  transition: transform 0.3s ease;
  background-color: var(--color-secondary);
  gap: 5px;
}

.card-testimoni {
  background-color: var(--color-secondary);
  margin: 0 10px;
  border-radius: 12px;
  padding: 20px 0;
  text-align: center;
  font-size: 2em;
  flex-shrink: 0;
}

.card-testimoni img {
  max-width: 400px;
}

.nav-slider {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #ffffffcc;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 0.4em;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.nav-slider:hover {
  background: #ffffff;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* ========= Slider Product Variant (use Swiper ======== */
#slider-baru {
  /* height: 20rem; */
  padding: 1rem;
  background: #fff;
}

.swiper {
  width: 100%;
  height: auto;
  margin-bottom: 3rem;
}

.swiper-slide {
  padding: 1rem;
  height: 20rem;
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

#section-testimoni .swiper-slide {
  background: none;
}

#section-testimoni .swiper-wrapper {
  margin-bottom: 2rem;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-custom-next,
.swiper-custom-prev {
  color: black; /* ubah warna panah */
  /* background-color: rgba(0, 0, 0, 0.5); background */
  padding: 5px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 2rem;
}

.custom-next,
.custom-prev {
  font-size: 3rem;
  position: absolute;
  top: 60%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 100%;
  width: 40px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.custom-prev {
  left: 5px;
}

.custom-next {
  right: 5px;
}
