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

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

body {
  font-family: "Raleway", sans-serif;
  background-color: var(--primary);
  color: #fff;
  /* min-height: 6000px; */
}

/* Navbar Start */
.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.4rem 7%;
  /*background-color: var(--bg);*/
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  opacity: 1;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.navbar .navbar-logo {
  margin-right: 1rem;
}

.navbar .logo-img {
  height: 60px;
}

#navbar-title {
  font-size: 5rem;
  font-weight: 900;
  color: var(--primary);
  /*font-style: italic; */
}

.navbar .container {
  background-color: #fff;
  padding: 1rem 2rem;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
}

.navbar .navbar-nav {
  display: flex;
  gap: 2.4rem;
}

.navbar .navbar-nav a {
  color: #FFFF;
  display: inline-block;
  font-size: 2rem;
  font-weight: 900;
  margin: 0 1rem;
}

.navbar .navbar-nav a:hover {
  color: var(--bg);
}

.navbar .navbar-nav a::after {
  content: "";
  display: block;
  padding-bottom: 0.5rem;
  border-bottom: 0.1rem solid var(--bg);
  transform: scaleX(0);
  transition: 0.2s linear;
}

.navbar .navbar-nav a:hover::after {
  transform: scale(0.5);
}

.navbar .navbar-extra a {
  color: #010101;
  margin: 0 1rem;
}

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

#navbar-title {
  display: none;
}
#hamburger-menu {
  display: none;
}

.navbar .navbar-title {
  display: none;
  font-size: 2rem;
  font-weight: 900;
  color: #010101;
}
/* Navbar End */

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

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

body {
  font-family: "Raleway", sans-serif;
  background-color: #fff;
  color: #fff;
  /* min-height: 6000px; */
}

/* Navbar Start */
.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.4rem 7%;
  background-color: var(--bg);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  opacity: 1;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.navbar .navbar-logo {
  margin-right: 1rem;
}

.navbar .logo-img {
  height: 60px;
}

#navbar-title {
  font-size: 5rem;
  font-weight: 900;
  color: #FFFF;
  /*font-style: italic; */
}

.navbar .container {
  background-color: #fff;
  padding: 1rem 2rem;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
}

.navbar .navbar-nav {
  display: flex;
  gap: 2.4rem;
}

.navbar .navbar-nav a {
  color: #010101;
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 900;
  margin: 0 1rem;
}

.navbar .navbar-nav a:hover {
  color: var(--bg);
}

.navbar .navbar-nav a::after {
  content: "";
  display: block;
  padding-bottom: 0.5rem;
  border-bottom: 0.1rem solid var(--bg);
  transform: scaleX(0);
  transition: 0.2s linear;
}

.navbar .navbar-nav a:hover::after {
  transform: scale(0.5);
}

.navbar .navbar-extra a {
  color: #010101;
  margin: 0 1rem;
}

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

#navbar-title {
  display: none;
}
#hamburger-menu {
  display: none;
}

.navbar .navbar-title {
  display: none;
  font-size: 2rem;
  font-weight: 900;
  color: #010101;
}
/* Navbar End */

/* Home Section Start*/
.hero,
.menu,
.contact {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-image: linear-gradient(to right,#f15b56,#f1ab56);/* url("../img/bg.jpg"); */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero::after {
  content: "";
  display: block;
  position: absolute;
  width: 100vw;
  height: 10%;
  bottom: 0;
  left: 0;
  /*background: linear-gradient(
    0deg,
    rgba(255, 255, 255) 8%,
    rgba(254, 182, 0, 0.393) 55%
  ); */
}

.hero .content {
  z-index: 1;
  padding: 1.4rem 7%;
  max-width: 60rem;
  position: relative;
  flex: 1; /* Allow content to take up available space */
}

.hero .hero-image {
  max-width: 60%; /* Sesuaikan lebar maksimum gambar */
  height: auto;
  position: absolute; /* Posisi absolut agar bisa ditempatkan di pojok kanan */
  right: 5%; /* Menempel pada sisi kanan */
  top: 20%; /* Posisi vertikal tengah */
  transform: translateY(0, -50%); /* Pusatkan vertikal dengan transformasi */
  margin: 0; /* Menghilangkan margin */
  z-index: 0;
}

.hero .hero-image img {
  max-width: 60%; /* Mengatur lebar maksimum gambar */
  height: auto; /* Menjaga proporsi gambar */
}

.hero .content h1 {
  font-size: 5em;
  color: #fff;
  font-weight: 700;
  text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
  line-height: 1.2;
  margin-bottom: 1.4rem;
}

.hero .content p {
  font-size: 1.6rem;
  margin-top: 1rem;
  line-height: 1.4;
  font-weight: 600;
  text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
  margin-bottom: 1.4rem;
}

.hero .content .cta {
  margin-top: 1rem;
  display: inline-block;
  padding: 1rem 3rem;
  font-size: 2rem;
  font-weight: 800;
  color: var(--bg);
  background-color: #fff;
  border-radius: 2rem;
  box-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
}
/* Home Section End */

/* About Us Section Start */
.about,
.testim,
.order {
  padding: 11rem 7% 1.4rem;
  color: var(--bg);
  position: relative;
}

.about h2,
.menu h2,
.testim h2,
.contact h2,
.order h2 {
  text-align: center;
  font-size: 4rem;
  margin-bottom: 3rem;
}

.about .row {
  display: flex;
  align-items: center;
}

.about .row .about-img {
  flex: 1 1 40%;
  max-width: 40%;
}

.about .row .about-img img {
  width: 60%;
  display: block;
}

.about .row .content {
  flex: 1 1 40%;
  padding-left: 2rem;
}

.about .row .content p {
  margin-bottom: 2.8rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}

.about .row .content h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
/* About Us Section End */

/* Menu Section Start */
.menu,
.contact {
  padding: 8rem 6% 1.4rem;
  color: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.menu::before,
.contact::before {
  content: "";
  display: block;
  position: absolute;
  width: 100vw;
  height: 10%;
  top: 0;
  left: 0;
  /*background: linear-gradient(
    0deg,
    rgba(254, 182, 0, 0.393) 8%,
    rgba(255, 255, 255) 55%
  ); */
}

.menu::after,
.contact::after {
  content: "";
  display: block;
  position: absolute;
  width: 100vw;
  height: 5%;
  bottom: 0;
  left: 0;
  /*background: linear-gradient(
    0deg,
    rgba(255, 255, 255) 8%,
    rgba(254, 182, 0, 0.393) 55%
  ); */
}

.menu .menu-poster {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -2%;
  width: 70%;
  overflow: hidden;
}

.menu .menu-poster img {
  width: 70%;
  height: auto;
}
/* Menu Section End */

/* Testimonials Section Start */
.testim {
  padding: 10rem 1%;
  text-align: center;
  background-color: #f5f5f5;
}

.testim-content .testim-card {
  color: #010101;
  width: 300px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 3px solid #ffffff;
}

.testim-content .testim-card .testim-img {
  width: 250px;
  height: 250px;
  margin-bottom: 20px;
  border: 3px solid #010101;
  padding: 4px;
}
/* Testimonials Section End */

/* Contact Section Start*/
.contact {
  /* padding: 1rem 1%; */
  background-color: #f5f5f5;
  text-align: center;
}

.contact h2 {
  margin-bottom: 2rem;
}

.contact .row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem; /* Jarak antara konten dan peta */
  padding: 1rem 2rem;
  background-color: #fff;
}

.contact .row .content {
  flex: 1; /* Konten akan mengambil ruang yang tersedia */
  margin-top: 15%;
}

.contact .row .content h3 {
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--bg);
}

.contact .row .content p {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--bg);
}

.contact .row .map {
  flex: 1; /* Peta akan mengambil ruang yang tersedia */
  width: 100%; /* Memastikan peta menggunakan seluruh lebar yang tersedia */
  height: 400px; /* Sesuaikan tinggi peta sesuai kebutuhan */
  border: 0;
}
/* Contact Us Section End */

/* Order Section Start */
.order {
  padding: 7rem;
  text-align: center; /* Center align all text and inline elements */
}

.order h3 {
  font-size: 2.4rem;
  font-weight: 400;
  margin-bottom: 20px; /* Increased margin for better spacing */
  text-align: center; /* Center align the h3 text */
}

.order .links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.order .icon-link {
  text-decoration: none;
  color: #333;
  font-size: 1.2em;
  display: flex;
  align-items: center;
  gap: 5px;
}

.order .icon-link:hover {
  color: #007bff;
}

.order .icon-img {
  /* width: 128px; */
  height: 30px; /* Adjust size as needed */
  vertical-align: middle;
}

.order .icon-link-instagram {
  display: inline-flex; /* Ensure the link is as wide as its content */
  align-items: center;
  justify-content: center; /* Center the icon and text horizontally */
  text-decoration: none;
  color: #333;
  font-size: 1.2em; /* Adjust size as needed */
  margin: 0 auto; /* Center the link block horizontally */
}

.order .icon-link-instagram img {
  /* width: 128px; */
  height: 30px; /* Adjust size as needed */
  margin-right: 10px; /* Space between icon and text */
}

.order .icon-link-instagram:hover {
  color: #007bff; /* Hover color for text */
}
/* Order Section End */

/* Footer Start */
footer {
  background-color: #333; /* Warna dasar sesuai navbar */
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

.footer-container {
  display: flex;
  justify-content: center; /* Mengatur semua elemen di dalam container agar berada di tengah secara horizontal */
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.footer-links {
  flex: 1;
  margin: 10px;
  text-align: center; /* Mengatur teks di dalam footer-links agar berada di tengah */
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin: 5px 0;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #ccc;
}

.footer-copyright {
  flex-basis: 100%;
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
}
/* Footer End */

/* Media Queries */
/* Laptop */
@media (max-width: 1366px) {
  html {
    font-size: 80%;
  }
}

/* Tablet */
@media (max-width: 768px) {
  html {
    font-size: 42.5%;
  }
  /* Navbar Start */
  .navbar .logo-img {
    height: 50px;
  }

  #navbar-title {
    display: inline-block;
  }

  #hamburger-menu {
    display: inline-block;
  }

  .navbar .navbar-nav {
    position: absolute;
    top: 100%;
    right: -100%;
    background-color: rgba(241, 189, 86, 0.75);
    width: 30rem;
    height: 100vh;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
  }

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

  .navbar .navbar-nav a {
    color: #FFFF;
    display: block;
    margin: 1.5rem;
    padding: 0.5rem;
    font-size: 3rem;
  }
  /* Navbar End */

  /* Home Section Start */
  .hero {
    flex-direction: column;
    justify-content: flex-start;
    padding: 2rem 5%;
  }

  .hero .content {
    text-align: center;
    padding: 13rem 10% 1rem;
    order: 1;
  }

  .hero .hero-image {
    max-width: 50%;
    position: relative;
    right: -7%;
    margin: 12rem auto;
    order: 2;
  }

  .hero::after {
    height: 10%;
  }
  /* Home Section End */

  /* About Us Section Start */
  .about .row {
    flex-wrap: wrap;
  }

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

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

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

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

  .menu .menu-poster {
    width: 120%;
  }

  /* Testimonials Section */
  .testim {
    padding: 10rem 2%; /* Sesuaikan padding untuk responsivitas */
  }

  .carousel {
    width: 100%; /* Sesuaikan lebar carousel */
    max-width: 100%; /* Pastikan carousel tidak melebihi lebar container */
  }

  .testim-content {
    width: 100%; /* Pastikan konten testimonial lebar penuh */
  }

  .testim-content img {
    width: 100%; /* Sesuaikan lebar gambar agar sesuai dengan carousel */
    height: auto; /* Menjaga proporsi gambar */
  }

  /* Contact Section */
  .contact {
    padding: 10rem 2% 8rem; /* Tambahkan padding atas dan bawah yang lebih besar */
  }

  .contact .row {
    flex-direction: column; /* Stack content vertically */
    gap: 2rem; /* Add space between content and map */
  }

  .contact .row .content {
    margin-top: 0; /* Remove top margin */
    width: 100%; /* Ensure full width */
  }

  .contact .row .map {
    width: 100%; /* Ensure full width */
    height: 300px; /* Adjust height */
  }

  /* Order Section */
  .order {
    padding: 5rem 2%;
    text-align: center; /* Center align text and inline elements */
  }

  .order h3 {
    font-size: 1.8rem; /* Adjust font size */
    margin-bottom: 1.5rem; /* Adjust margin */
  }

  .order .links {
    display: flex;
    flex-direction: column; /* Stack links vertically */
    gap: 10px; /* Adjust gap between links */
    align-items: center; /* Center links horizontally */
  }

  .order .icon-link {
    font-size: 1.1em; /* Adjust font size */
  }

  .order .icon-link-instagram {
    display: flex;
    justify-content: center; /* Center icon and text horizontally */
    align-items: center; /* Center icon and text vertically */
  }

  .order .icon-link-instagram img {
    height: 30px; /* Adjust size */
    margin-right: 5px; /* Adjust spacing */
  }
}

/* Mobile Phone */
@media (max-width: 450px) {
  html {
    font-size: 35%;
  }

  .navbar .logo-img {
    height: 40px;
  }

  /* Home Section Start */
  .hero {
    flex-direction: column;
    justify-content: flex-start;
    padding: 2rem 5%;
  }

  .hero .content {
    text-align: center;
    padding: 13rem 10% 1rem;
    order: 1;
  }

  .hero .hero-image {
    max-width: 45%;
    position: relative;
    right: -7%;
    margin: 12rem auto;
    order: 2;
  }

  .hero::after {
    height: 15%;
  }
  /* Home Section End */

  /* About Us Section Start */
  .about .row {
    flex-wrap: wrap;
  }

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

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

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

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

  .menu::after {
    height: 20%;
  }

  .menu .menu-poster {
    width: 120%;
  }
  /* About Us Section End */

  /* Testimonials Section */
  .carousel {
    width: 100%; /* Lebar penuh pada smartphone */
    max-width: none; /* Menghilangkan batas maksimum lebar */
    height: auto; /* Menyesuaikan tinggi otomatis */
  }

  .testim-content {
    width: 400%; /* Memperluas lebar konten carousel agar dapat menampilkan gambar dengan benar */
  }

  .testim-content img {
    width: 25%; /* Lebar setiap gambar untuk menyesuaikan dengan lebar container */
  }

  /* Contact Section */
  .contact {
    padding: 10rem 2% 8rem; /* Tambahkan padding atas dan bawah yang lebih besar */
  }

  .contact .row {
    flex-direction: column; /* Stack content vertically */
    gap: 2rem; /* Add space between content and map */
  }

  .contact .row .content {
    margin-top: 0; /* Remove top margin */
    width: 100%; /* Ensure full width */
  }

  .contact .row .map {
    width: 100%; /* Ensure full width */
    height: 300px; /* Adjust height */
  }

  /* Order Section */
  .order {
    padding: 5rem 2%;
    text-align: center; /* Center align text and inline elements */
  }

  .order h3 {
    font-size: 1.8rem; /* Adjust font size */
    margin-bottom: 1.5rem; /* Adjust margin */
  }

  .order .links {
    display: flex;
    flex-direction: column; /* Stack links vertically */
    gap: 10px; /* Adjust gap between links */
    align-items: center; /* Center links horizontally */
  }

  .order .icon-link {
    font-size: 1.1em; /* Adjust font size */
  }

  .order .icon-link-instagram {
    display: flex;
    justify-content: center; /* Center icon and text horizontally */
    align-items: center; /* Center icon and text vertically */
  }

  .order .icon-link-instagram img {
    height: 30px; /* Adjust size */
    margin-right: 5px; /* Adjust spacing */
  }
}
