:root {
  --primary: #b6895b;
  --bg: #010101;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--bg);
  color: white;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 7%;
  background: rgba(1, 1, 1, 0.8);
  border-bottom: 1px solid #6f563c;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  outline: none;
}

.navbar .navbar-logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  font-style: italic;
}

.navbar .navbar-logo span {
  color: var(--primary);
}

.navbar .navbar-menu a {
  color: white;
  display: inline-block;
  font-size: 1.2rem;
  margin: 0 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}
.navbar .navbar-menu a:hover {
  color: var(--primary);
}

.navbar .navbar-menu a::after {
  content: "";
  display: block;
  padding-bottom: 0.1rem;
  border-bottom: 2px solid var(--primary);
  transform: scaleX(0);
  transition: all 0.3s;
}

.navbar .navbar-menu a:hover::after {
  transform: scaleX(0.8);
}

.navbar .navbar-extra {
  display: flex;
  align-items: center;
}

.navbar .navbar-extra a {
  color: white;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
  font-size: 2.2rem;
}

.navbar .navbar-extra a:hover {
  color: var(--primary);
}

#menu {
  display: none;
}

/* SEARCH FORM */
.navbar .search-form {
  position: absolute;
  top: 100%;
  right: 9%;
  background-color: var(--primary);
  border-radius: 10px;
  width: 30rem;
  height: 4rem;
  display: flex;
  align-items: center;
  transform: scaleY(0);
  transform-origin: top;
  transition: 0.3s;
}

.search-form.active {
  transform: scaleY(1);
}

.search-form input {
  height: 100%;
  width: 100%;
  font-size: 1.2rem;
  color: var(--bg);
  padding: 1rem;
  border-radius: 10px;
  background-color: #b6895b;
  color: #222;
}

.search-form ::placeholder {
  color: #222;
}

.search-form label {
  cursor: pointer;
  font-size: 2rem;
  margin-right: 1.5rem;
  color: var(--bg);
}

/* SHOPPING CART */
.shopping-cart {
  position: absolute;
  top: 100%;
  right: -100%;
  height: 100vh;
  width: 35rem;
  padding: 0 1.5rem;
  color: #222;
  background-color: white;
  transition: 0.5s ease-in-out;
}

.shopping-cart.active {
  right: 0;
}

.shopping-cart .cart-items {
  position: relative;
  margin: 2rem 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1.3px dashed #222;
}

.shopping-cart img {
  height: 6rem;
  border-radius: 50%;
}

.shopping-cart h3 {
  font-size: 1.6rem;
  padding-bottom: 0.5rem;
}

.shopping-cart .item-price {
  font-size: 1.2rem;
}

.shopping-cart i{
  position: absolute;
  right: 2rem;
  cursor: pointer;
  font-size: 1.5rem;
}

.shopping-cart i:hover {
  color: var(--primary);
}

/* NAVBAR END */
/* ------------------------------------------------------- */
/* HERO SECTION START*/
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url(bg-img.jpg) no-repeat;
  background-size: cover;
  background-position: center;
  background-blend-mode: darken;
  background-color: rgba(0, 0, 0, 0.5);
  position: relative;
  mask-image: linear-gradient(rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0));
}

/* .hero::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 30%;
  bottom: 0;
  background: linear-gradient(
    0deg,
    rgba(1, 1, 3, 1) 8%,
    rgba(255, 255, 255, 0) 55%
  );
} */

.hero .hero-content {
  padding: 1rem 7%;
  /* width: 60rem; */
  /* border: 2px solid black; */
  width: 100%;
  text-align: center;
  position: fixed;
  top: 30%;
}

.hero .hero-content h1 {
  color: white;
  font-size: 4rem;
  text-shadow: 1px 1px 3px rgba(1, 1, 1, 0.8);
  line-height: 1.2;
}

.hero .hero-content span {
  color: var(--primary);
}

.hero .hero-content p {
  font-size: 1.2rem;
  margin-top: 20px;
  font-weight: 400;
  text-shadow: 1px 1px 3px rgba(1, 1, 1, 0.6);

  /* ini untuk apabila jika warna bertabrakan, maka warna akan berubah sesuai lawannya*/
  /* mix-blend-mode: difference;  */
}

.hero .hero-content .cta {
  margin-top: 1rem;
  display: inline-block;
  background: var(--primary);
  color: rgb(48, 39, 24);
  padding: 10px 20px;
  font-size: 1.4rem;
  border-radius: 10px;
  margin-top: 30px;
  font-weight: 500;
}
/* HERO SECTION END */
/* -------------------------------------------------------- */
/* ABOUT SECTION START */
.about,
.hamburger-menu,
.contact {
  padding: 8rem 7% 8rem;
}

.about h2,
.hamburger-menu h2,
.contact h2 {
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 3rem;
  /* text-decoration: underline var(--primary) 1px;
  text-underline-offset: 0.5rem; */
}

.about h2 span,
.hamburger-menu h2 span,
.contact h2 span {
  color: var(--primary);
}

.about .about-row {
  display: flex;
}

.about .about-row .about-img {
  flex: 1 1 45rem;
}

.about .about-row .about-img img {
  width: 100%;
  filter: brightness(0.9);
  mask-image: url(42879.svg);
  mask-size: 50%;
  mask-repeat: no-repeat;
  mask-position: center;
}

.about .about-row .about-content {
  flex: 1 1 35rem;
  padding: 0 1rem;
}

.about .about-row .about-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-align: center;
}

.about .about-row .about-content p {
  margin-bottom: 0.8rem;
  text-align: start;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.6;
}
/* ABOUT SECTION END */
/* --------------------------------------------------- */
/* MENU SECTION START */
.hamburger-menu {
  padding-bottom: 14rem;
}
.hamburger-menu h2,
.contact h2 {
  margin: 1rem;
}
.hamburger-menu p,
.contact p {
  text-align: center;
  max-width: 70rem;
  margin: auto;
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.6;
}

.hamburger-menu .row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 3rem;
  justify-content: center;
}

.hamburger-menu .row .menu-card {
  text-align: center;
  flex: 1 1 10rem; /* Adjust the width of each card */
  margin-bottom: 3em;
  /* border: 1px solid white; */
}

.hamburger-menu .row .menu-card img {
  border-radius: 50%;
  /* width: ; Ensure the image takes the full width of the card */
  max-width: 210px; /* Set a maximum width for the image */
}

.hamburger-menu .row .menu-card .menu-card-title {
  margin: 1rem auto 0.5rem;
  font-size: 1.4rem;
}
.menu-card p {
  margin-bottom: 1rem; /* Add a new CSS rule to style the hero section on mobile devices */
  @media (max-width: 576px) {
    .hero {
      background-position: center;
      background-size: cover;
    }
    .hero .hero-content {
      padding: 1rem 5%;
      top: 20%;
    }
    .hero .hero-content h1 {
      font-size: 3rem;
    }
    .hero .hero-content p {
      font-size: 1rem;
    }
  }
}

.menu-card a {
  font-size: 1.2rem;
  color: white;
  border-radius: 5px;
  text-align: center;
  padding: 0.4rem 1.2rem;
  background: #6f563c;
  font-weight: 500;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 0px 3px rgba(255, 255, 255, 0.5);
}

.menu-card a:hover {
  background: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 1px 8px rgba(255, 255, 255, 0.5);
}
/* MENU SECTION END */
/* ---------------------------------------------------------- */
/* CONTACT SECTION START */

.contact .row {
  border: 1px solid white;
  display: flex;
  margin-top: 2rem;
  background-color: #222;
}

.contact .row .map {
  flex: 1 1 45rem;
  width: 100%;
  object-fit: cover;
}

.contact .row form {
  flex: 1 1 45rem;
  padding: 5rem 2rem;
  text-align: center;
  margin: -2rem auto 3rem;
}

.contact .row form .input-group {
  display: flex;
  align-items: center;
  margin-top: 2rem;
  background-color: var(--bg);
  border: 1px solid #eee;
  padding-left: 2rem;
}

.contact .row form .input-group input {
  width: 100%;
  padding: 1rem;
  font-size: 1.2rem;
  background: none;
  color: white;
}

.contact .row form .btn {
  margin: 3rem auto -5rem;
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1rem;
  color: white;
  background-color: var(--primary);
  cursor: pointer;
}
/* CONTACT SECTION END */
/* FOOTER START */
footer {
  background-color: var(--primary);
  text-align: center;
  padding: 1rem 0.3rem;
  margin-top: 3rem;
}

footer .social {
  padding: 1rem 0;
}

footer .social a {
  color: white;
  margin: 1rem;
  font-size: 1.8rem; /* Adjust the size as needed */
}

footer .social a:hover,
footer .link a:hover {
  color: var(--bg);
}

footer .link {
  margin-bottom: 1.4rem;
}

footer .link a {
  color: white;
  padding: 0.7rem 1rem;
}

footer .credit {
  font-size: 0.8rem;
}

footer .credit a {
  color: var(--bg);
  font-weight: 700;
}
/* FOOTER END */

/* MEDIA QUERIES */
/* LAPTOP */
@media (max-width: 1366px) {
  html {
    font-size: 75%;
  }
}

/* TABLET */
@media (max-width: 768px) {
  html {
    font-size: 62.5%;
  }

  #menu {
    display: inline-block;
  }

  .navbar .navbar-menu {
    position: absolute;
    top: 100%;
    right: -100%;
    background: white;
    width: 30rem;
    height: 100vh;
    transition: 0.4s ease-in-out;
  }

  .navbar .navbar-menu.active {
    right: 0;
  }

  .navbar .navbar-menu a {
    color: var(--bg);
    display: block;
    margin: 1.5rem;
    padding: 0.5rem;
    font-size: 1.7rem;
  }

  .navbar .navbar-menu a::after {
    transform-origin: 0 0;
  }

  .navbar .navbar-menu a:hover:after {
    transform: scaleX(0.3);
  }

  .search-form {
    width: 90%;
    right: 2rem;
  }

  .about .about-row {
    flex-wrap: wrap;
  }

  .about .about-row .about-img img {
    height: 24rem;
    object-fit: cover;
    object-position: center;
  }

  .about .about-row .about-content {
    padding: 0;
  }

  .about .about-row .about-content h3 {
    margin-top: 1rem;
    font-size: 2rem;
  }

  .about .about-row .about-content p {
    font-size: 1.3rem;
  }

  .contact .row {
    flex-wrap: wrap;
  }

  .contact .row .map {
    height: 25rem;
  }

  .contact .row form {
    padding-top: 2rem;
  }
}

/* MOBILE */
@media (max-width: 576px) {
  html {
    font-size: 55%;
  }
  .search-form {
    width: 50%;
  }
}
