:root {
  --primary: #fcfcfc;
  --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: #fff;
}

/*navbar*/

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 7%;
  background-color: rgba(1, 1, 1, 0.8);
  border-bottom: 1px solid #4e2121;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

.navbar .navbar-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ff0d0d;
  font-style: italic;
  display: flex;
  align-items: center; /* agar teks sejajar dengan gambar */
  text-decoration: none; /* hilangkan underline */
}

.navbar .navbar-logo .logo-img {
  height: 40px; /* sesuaikan dengan kebutuhan */
  margin-right: 10px;
}

.navbar .navbar-logo span {
  color: var(--primary);
}

.navbar .navbar-nav a {
  color: #fff;
  display: inline-block;
  font-size: 1.4rem;
  margin: 0 1rem;
}
.navbar .navbar-nav a:hover {
  color: #ff0d0d;
}
.navbar .navbar-nav a::after {
  content: "";
  display: block;
  padding-bottom: 0.5rem;
  border-bottom: 0.1rem solid var(--primary);
  transform: scaleX(0);
  transition: 0.2s linear;
}

.navbar .navbar-nav a:hover::after {
  transform: scaleX(0.5);
}

.navbar .navbar-extra a {
  color: #fff;
  margin: 0 0.5rem;
}

.navbar .navbar-extra a:hover {
  color: #ff0d0d;
}

#humberger-menu {
  display: none;
}

/*hero section*/
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url("../img/background1.jpeg");
  background-repeat: no-repeat;
  background-size: cover; /* bisa diganti jadi 'contain' agar tidak terpotong */
  background-position: center;
  position: relative;
}

.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) 50%
  );
}
.hero .content {
  padding: 1.4rem 7%;
  max-width: 55rem;
}

.hero .content h1 {
  font-size: 5rem;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
  line-height: 1.2;
}

.hero .content h1 span {
  color: #ff0d0d;
}

.hero .content p {
  font-size: 1.6rem;
  margin-top: 1rem;
  line-height: 1.7;
  font-weight: 80;
  text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
  mix-blend-mode: difference;
}

.hero .content .cta {
  margin-top: 1rem;
  display: inline-block;
  padding: 1rem 3rem;
  font-size: 1.4rem;
  color: #fff;
  background-color: #ff0d0d;
  border-radius: 0.5rem;
  box-shadow: 1px 1px 3px rgba;
}

/*about section*/

.about,
.menu,
.contact {
  padding: 8rem 7% 1.4rem;
}

.about h2,
.menu h2,
.contact h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 3rem;
}

.about h2 span,
.menu h2 span,
.contact h2 span {
  color: var(--primary);
}

.about .row {
  display: flex;
  align-items: center;
}

.about .row .about-img {
  flex: 1 1 45rem;
}

.about .row .about-img img {
  width: 60%;
  border-radius: 1rem;
  margin-left: 20%;
  box-shadow: 0 0 1px rgba (0, 0, 0, 0, 5);
}
.about .row .content {
  flex: 1 1 35rem;
  padding: 0 1rem;
  text-align: center;
  margin-right: 5%;
}

.about .row .content h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.about .row .content p {
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
  font-weight: 100;
  line-height: 1, 6;
}

/*menu section*/
.menu h2,
.contact h2 {
  margin-bottom: 0.5rem;
}
.menu p,
.contact p {
  text-align: center;
  max-width: 30rem;
  margin: auto;
  font-weight: 100;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.menu .row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 5 rem;
  justify-content: center;
  gap: 20px;
}

.menu .row .menu-card {
  text-align: center;
  padding-bottom: 4rem;
}

.menu .row .menu-card img {
  border-radius: 30%;
  width: 40;
}

.menu .row .menu-card .menu-card-title {
  margin-top: 1rem auto 0.5rem;
}

/*contact section*/
.contact {
  text-align: center;
  padding: 60px 20px;
  background-color: #0d0d0d;
  color: white;
}

.contact h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.contact h2 span {
  color: #ffffff;
}

.contact p {
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
  color: #ccc;
}

.contact .row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

.map-container {
  flex: 1 1 50%;
}

.map {
  width: 100%;
  height: 350px;
  border: 0;
  border-radius: 10px;
}

.contact-info {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
}

.contact-box {
  text-align: left;
  background-color: #1a1a1a;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  max-width: 400px;
  width: 100%;
}

.contact-box h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-align: center;
  color: #ffffff;
}

.contact-box p {
  margin-bottom: 0.8rem;
  line-height: 1.5;
  color: #eee;
}

.contact-box a {
  color: #00d5ff;
  text-decoration: none;
}

.contact-box a:hover {
  text-decoration: underline;
}

.wa-box {
  background-color: #25D366;
  padding: 1rem 2rem;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, background-color 0.3s;
}

.wa-box a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wa-box i {
  font-size: 1.5rem;
}

.wa-box:hover {
  background-color: #1ebe5d;
  transform: scale(1.05);
}


/*footer*/
footer {
  padding: 1rem 0 3rem;
  background-color: rgba(207, 5, 5, 0.8);
  text-align: center;
  margin-top: 3rem;
}
footer .socials {
  padding: 1rem;
}

footer .socials a {
  color: #fff;
  margin: 1rem;
  font-size: 1.5rem;
}
footer .socials a:hover, footer .links a:hover, footer .credit a:hover {
  color: #000000;
}
footer .links {
  margin-bottom: 1.4rem;
}
footer .links a {
  color: #fff;
  padding: 0.7rem;
  margin: 1rem 0;
}

footer .credit {
  font-size: 0.8rem;
} 

footer .credit a {
  color: #fff;
  font-weight: 700;
}
/*media Queris */

/*laptop */
@media (max-width: 1366px) {
  html {
    font-size: 75%;
  }
}

/*tablet */
@media (max-width: 768px) {
  html {
    font-size: 62.5%;
  }

  #humberger-menu {
    display: inline-block;
  }

  .navbar .navbar-nav {
    position: absolute;
    top: 100%;
    right: -100%;
    background-color: #fff;
    width: 30rem;
    height: 100vh;
    transition: 0.3s;
  }
  .navbar .navbar-nav.active {
    right: 0;
  }

  .navbar .navbar-nav a {
    color: var(--bg);
    display: block;
    margin: 1.5rem;
    padding: 0.5rem;
    font-size: 2rem;
  }

  .navbar .navbar-nav a::after {
    transform-origin: 0 0;
  }
  .navbar .navbar-nav a:hover:after {
    transform: scaleX(0.2);
  }

  .about .row {
    flex-wrap: wrap;
  }

  .about .row .about-img img {
    height: 24rem;
  }

  .about .row .content {
    padding: 0;
  }

  .about .row .content h3 {
    margin-top: 1rem;
    font-size: 2rem;
  }

  .about .row .content p {
    font-size: 1.6rem;
  }

  .menu p {
    font-size: 1.2rem;
  }
   .contact .row {
    flex-direction: column;
  }

  .map-container,
  .contact-info {
    flex: 1 1 100%;
  }

  .contact-box {
    margin-top: 2rem;
  }
}

/* mobile phone */

@media (max-width: 450px) {
  html {
    font-size: 55%;
  }
}
