:root {
  --bg-primer: #f9f9f9;
  --bg-primer-rgb: 249, 249, 249;
  --bg-dark: #121212;
  --bg-mediumwhite: #e0e0e0;
  --color--primer: #fbfbfb;
  --color-dark: #121212;

  --color-textmirage: #14172c;
  --color-textrhino: #2a3364;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  border: none;
  outline: none;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: white;
  color: black;
  scroll-behavior: smooth;
  display: flex;
  flex-direction: column;
  overflow-y: scroll;
}

header {
  background-color: rgba(var(--bg-primer-rgb), 0.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 20px 40px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100%;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

section {
  scroll-margin-top: 80px; /* tinggi header */
}

.navbar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 80px;
  gap: 20px;
  width: 100%;
}

.nav-link {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.brand-name a {
  text-decoration: none;
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-textmirage);
  font-style: italic;
}

.brand-name a span {
  color: var(--color-textrhino);
}

.nav-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-left ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-left a {
  text-decoration: none;
  color: var(--color-dark);
  font-weight: 700;
  transition: transform 150ms ease-in-out;
}

.nav-left a:hover {
  cursor: pointer;
  transform: scale(1.1);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.search-bar {
  display: flex;
  position: relative;
  align-items: center;
  border: 1px solid var(--bg-dark);
  border-radius: 20px;
  padding: 4px 8px;
  background: white;
}

.search-bar input {
  border: none;
  outline: none;
  font-size: 14px;
  font-style: normal;
}

.search-bar input::placeholder {
  font-style: italic;
}

.search-bar,
.search-icon {
  color: #555;
}

.search-icon,
.moon-icon,
.menu-icon,
.shopping-icon {
  width: 24px;
  height: 24px;
  cursor: pointer;
  display: block;
}

.moon-icon,
.shopping-icon {
  stroke-width: 2;
}

.menu-icon,
.mobile-icons {
  display: none;
}

/* Main Section */
.main {
  flex: 1;
}

.hero-container {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-content img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-wrapper {
  position: absolute;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  height: 100%;
  width: auto;
  padding-left: 10%;
  top: 8%;
  padding-top: 0;
  color: #121212;
}

.hero-text {
  width: auto;
}

.hero-text h2 {
  font-size: 3rem;
}

.hero-text h3 {
  font-size: 1.5rem;
}

.hero-btn {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 20px;
  background-color: white;
  border-radius: 20px;
  border: 1px solid var(--bg-dark);
  margin-top: 1rem;
  color: var(--color-dark);
  transition: background-color 0.4s ease, color 0.4s ease;
}

.hero-btn:hover {
  cursor: pointer;
  background-color: var(--bg-dark);
  /* border: 1px solid var(--bg-primer); */
  color: white;
  transition: background-color 0.3s ease;
}

.hero-btn {
  text-decoration: none;
  color: var(--color-dark);
  font-size: 1rem;
  font-weight: 500;
}

.hero-btn:hover {
  color: white;
  transition: color 0.3s ease;
}

.temukan-icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

/* About */
.about-container {
  /* height: 100vh; */
  scroll-margin-top: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
  margin: 0;
  /* padding-top: 150px; */
  width: 100%;
}

.about-content {
  text-align: center;
  width: 100%;
  /* max-width: 1100px; */
  margin-bottom: 2rem;
}

.about-content h3 {
  font-size: 16px;
  font-weight: 200;
}

.about-content h2 {
  font-size: 2rem;
  font-weight: 700;
}

.about-subcontent {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 30px;
  /* margin: 50px 0; */
}

.container-abouttext {
  background-color: var(--bg-mediumwhite);
  padding: 25px 30px;
  border-radius: 0 15px 15px 0;
  flex: 1;
  max-width: 90%;
  min-height: 400px;
  /* margin: 0;
  align-self: stretch;  */

  display: flex;
  justify-content: center;
  align-items: center;
  /* opacity: 0;
  transform: translateX(-60px);
  animation: slideInLeft 1s ease-out forwards; */
}

.container-abouttext p {
  text-align: justify;
  padding-left: 10%;
  margin: 0 auto;
  max-width: 70%;
  line-height: 1.5;
}

.container-quicksocial {
  background-color: var(--bg-mediumwhite);
  border-radius: 15px 0 0 15px;
  padding: 15px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: auto;
  /* margin: 0;
  align-self: stretch; */

  /* opacity: 0;
  transform: translateX(60px);
  animation: slideInRight 1s ease-out forwards;
  animation-delay: 0.3s; */
}

.icon-social {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.icon-social a img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.icon-social a img:hover {
  transform: scale(1.2);
}

/* Products */
.product-container {
  margin-top: 5%;
  scroll-margin-top: 150px;
  /* min-height: 100vh;
  padding-top: 150px; */
}

.title-product {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 20px;
}

.title-product p {
  font-size: 16px;
  font-weight: 200;
}

.title-product h2 {
  font-size: 2rem;
  font-weight: 700;
}

.items-container {
  display: grid;
  justify-items: center;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 0 50px;
}

.item {
  display: flex;
  /* justify-content: space-between; */
  background-color: var(--bg-mediumwhite);
  padding: 15px;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
}

.item img {
  width: 55%;
  height: 200px;
  display: block;
  margin: 0 auto;
  /* object-fit: cover; */
  margin-bottom: 0;
}

.name-product {
  text-align: center;
  margin-bottom: 0;
}

.about-product {
  font-size: 14px;
  text-align: left;
  margin: 0 3px;
  padding: 0 5px;
}

.price-product {
  display: flex;
  justify-content: space-between;
}

.btn-product {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.btn-product .buy {
  border: 1px solid var(--bg-dark);
  padding: 4px 8px;
  border-radius: 15px;
  font-size: 12px;
  color: var(--color-dark);
}

.btn-product .buy:hover,
.btn-product .add:hover {
  cursor: pointer;
  background-color: var(--bg-dark);
  color: var(--color--primer);
}

.btn-product .add {
  border: 1px solid var(--bg-dark);
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 12px;
  color: var(--color-dark);
}

/* Contact */
.contact-container {
  scroll-margin-top: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 50px 0;
  width: 100%;
  padding: 50px 20px;
}

.title-contact {
  text-align: center;
  width: 100%;
  margin-bottom: 1rem;
}

.title-contact h3 {
  font-size: 16px;
  font-weight: 200;
}

.title-contact h2 {
  font-size: 2rem;
  font-weight: 700;
}

.contact-wrapper {
  background-color: var(--bg-mediumwhite);
  border-radius: 10px;
  padding: 30px 20px;

  display: flex;
  justify-content: center;

  width: 100%;
  max-width: 65%;
  margin: 0 auto;
}

.contact-wrapper form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.form-input {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 65%;
  font-size: 16px;
  /* margin: 0 auto; */
}

.form-input input,
.form-input textarea {
  border: 1px solid var(--bg-dark);
  padding: 10px 15px;
  border-radius: 10px;
  font-size: 16px;
  width: 100%;
}

.form-input textarea {
  height: 150px;
}

.form-input input::placeholder,
.form-input textarea::placeholder {
  font-style: italic;
  font-size: 12px;
}

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

.btn-cancel,
.btn-submit {
  border: 1px solid var(--bg-dark);
  background-color: var(--bg-primer);
  color: var(--color-dark);
  padding: 6px 30px;
  border-radius: 20px;
  line-height: 1;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-cancel:hover,
.btn-submit:hover {
  cursor: pointer;
  color: var(--color--primer);
  background-color: var(--bg-dark);
}

/* Footer Section */
.footer-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 5%;
  background-color: var(--bg-mediumwhite);
  padding: 50px 20px 0 20px;
}

.footer-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-link {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  width: 100%;
}

.services-program,
.about-program,
.category-program,
.following-program,
.paymentfind-program {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.title-program {
  font-size: 14px;
  font-weight: 600;
}

.program-link {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.program-link a {
  text-decoration: none;
  color: var(--color-dark);
}

.programicon-link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.programicon-link a img {
  width: 24px;
  height: 24px;
}

.programicon-link a img:hover {
  transform: scale(1.1);
}

.programpayment-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.ewallet-payment,
.cardbank-payment,
.findus {
  display: flex;
  gap: 10px;
  align-items: center;
}

.ewallet-payment img,
.cardbank-payment img,
.findus img {
  height: 24px;
  width: auto;
  object-fit: contain;
}

.teks-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 20px;
}

.garis-footer {
  width: 100%;
  max-width: 1200px;
  height: 1px;
  background-color: black;
  margin-bottom: 10px;
}

.teks-footer p {
  text-align: center;
  font-style: italic;
  font-weight: 200;
  font-size: 14px;
  padding: 0;
  margin: 0;
  color: black;
}
.teks-footer p span {
  color: var(--color-textmirage);
  font-weight: 500;
}

.teks-footer p span.pertama,
.teks-footer p span.kedua {
  color: var(--color-textrhino);
}

.teks-footer p span.pemisah {
  font-style: normal;
  font-weight: 200;
  color: black;
}

/* Media Quiries */

/* Small Mobile */
@media (max-width: 600px) {
  /* Navbar */
  .navbar-container {
    flex-direction: row;
    justify-content: space-between;
    padding: 0 10px;
  }

  .brand-name a {
    font-size: 1.5rem;
  }

  .nav-left ul {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 76px;
    right: -100%;
    /* height: calc(100%-60px); */
    width: 70%;
    max-width: 300px;
    background: var(--bg-mediumwhite);
    padding: 20px 20px 20px 20px;
    gap: 20px;
    transition: right 0.5s ease-in-out;
    z-index: 1000;
    border-radius: 0 0 0 10px;
  }

  .nav-left ul.active {
    right: 0;
  }

  .mobile-icons {
    display: flex;
    gap: 10px;
    align-items: center;
  }

  .mobile-icons svg {
    width: 24px;
    height: 24px;
  }

  .nav-right > div:not(.search-bar):not(.hamburger-menu) {
    display: none;
  }

  .nav-right {
    display: flex;
    margin-left: auto;
    gap: 1px;
  }

  .search-bar {
    width: 100px;
    margin: 0;
    padding: 2px 4px;
  }

  .search-bar input {
    font-size: 10px;
    width: 100%;
  }

  .moon-icon,
  .shopping-icon {
    display: none;
  }

  .menu-icon {
    display: flex;
    width: 20px;
    height: 20px;
    stroke-width: 2;
    padding: 0;
    margin: 0;
  }

  /* Hero */
  .hero-text h2 {
    font-size: 20px;
  }

  .hero-text h3 {
    font-size: 16px;
  }

  .hero-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  /* About */
  .about-container {
    padding-top: 15%;
  }

  .container-abouttext {
    min-height: auto;
    padding: 15px;
  }

  .container-abouttext p {
    max-width: 90%;
    padding-left: 5%;
    font-size: 12px;
  }

  .container-quicksocial {
    width: 60px;
  }

  .icon-social a img {
    width: 20px;
    height: 20px;
  }

  /* Product */
  .items-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0;
  }

  .item {
    padding: 15px;
    gap: 5px;
    margin-bottom: 5px;
  }

  .item img {
    width: 25%;
    height: auto;
  }

  /* Contact */
  .contact-wrapper {
    max-width: 100%;
    padding: 15px 10px;
  }

  .form-input {
    width: 100%;
  }

  .form-input input,
  .form-input textarea {
    font-size: 14px;
  }

  .form-btn {
    width: 100%;
    gap: 8px;
  }

  /* Footer */
  .footer-link {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
  }

  .services-program,
  .about-program,
  .category-program,
  .following-program,
  .paymentfind-program {
    align-items: center;
  }

  .title-program {
    font-size: 10px;
  }

  .program-link {
    align-items: center;
  }

  .programicon-link {
    justify-content: center;
    align-items: center;
    margin-top: 5%;
  }

  .programpayment-link {
    margin-top: 5%;
    align-items: center;
  }

  .programicon-link a img,
  .ewallet-payment img,
  .cardbank-payment img,
  .findus img {
    width: 20px;
    height: 20px;
  }

  .about-container {
    scroll-margin-top: 75px;
    padding-top: 10%;
  }

  .product-container {
    scroll-margin-top: 10px;
    padding-top: 25%;
  }

  .contact-container {
    scroll-margin-top: 80px;
  }
}

/* Mobile */
@media (min-width: 600.01px) and (max-width: 768px) {
  .navbar-container {
    flex-direction: row;
    justify-content: space-between;
    padding: 0 16px;
  }

  /* .nav-left ul {
    display: none;
  } */

  .nav-left ul {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 85px;
    right: -100%;
    height: calc(100%-60px);
    width: 70%;
    max-width: 300px;
    background: var(--bg-mediumwhite);
    padding: 40px 20px;
    gap: 20px;
    transition: right 0.5s ease-in-out;
    z-index: 1000;
    border-radius: 0 0 0 10px;
  }

  .nav-left ul.active {
    right: 0;
  }

  .nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .search-bar {
    display: flex;
    position: relative;
    align-items: center;
    padding: 3px 6px;
  }

  .search-bar input {
    font-size: 12px;
  }

  .search-bar input::placeholder {
    font-size: 12px;
  }

  .menu-icon {
    stroke-width: 2;
    display: block;
  }

  /* Main - Hero */
  .hero-text h2 {
    font-size: 32px;
  }

  .hero-text h3 {
    font-size: 24px;
  }

  .hero-btn {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  /* Product */
  .items-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 20px;
  }

  .item img {
    width: 80%;
    height: auto;
  }

  /* Contact */
  .contact-wrapper {
    max-width: 100%;
    padding: 20px 10px;
  }

  .form-input {
    width: 100%;
  }

  .form-btn {
    flex-direction: column;
    margin: 0 auto;
    gap: 10px;
    width: 50%;
  }

  .btn-cancel,
  .btn-submit {
    width: 100%;
    text-align: center;
  }

  /* FOOTER */
  .footer-link {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
  }

  .title-program {
    font-size: 12px;
    font-weight: 500;
  }

  .services-program,
  .about-program,
  .category-program,
  .following-program,
  .paymentfind-program {
    align-items: center;
  }

  .program-link {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .programicon-link {
    justify-content: center;
  }

  .programpayment-link {
    margin-top: 5%;
    align-items: center;
  }

  .about-container {
    scroll-margin-top: 80px;
    padding-top: 10%;
  }

  .product-container {
    scroll-margin-top: 10px;
    padding-top: 10%;
  }

  .contact-container {
    scroll-margin-top: 80px;
  }
}

/* Tablet */
@media (min-width: 768.01px) and (max-width: 1024px) {
  .navbar-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    gap: 8px;
  }

  .nav-left ul {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 85px;
    right: -100%;
    height: calc(100%-60px);
    width: 70%;
    max-width: 300px;
    background: var(--bg-mediumwhite);
    padding: 40px 20px;
    gap: 20px;
    transition: right 0.5s ease-in-out;
    z-index: 1000;
    border-radius: 0 0 0 10px;
  }

  .nav-left ul.active {
    right: 0;
  }

  .menu-icon {
    stroke-width: 2.5;
    display: block;
  }

  /* Product */
  .items-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0 20px;
  }

  /* Footer */
  .footer-link {
    gap: 3px;
  }

  .title-program {
    font-size: 12px;
    font-weight: 500;
  }

  .services-program,
  .services-program,
  .about-program,
  .category-program,
  .following-program,
  .paymentfind-program {
    gap: 5px;
  }

  .about-container {
    scroll-margin-top: 80px;
    padding-top: 5%;
  }

  .product-container {
    scroll-margin-top: 10px;
    padding-top: 10%;
  }

  .contact-container {
    scroll-margin-top: 80px;
  }
}
