/* ================= ROOT ================= */
:root {
  --primary: #2b7a78;
  --bg: #ffffff;
}

/* ================= RESET ================= */
* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: rgb(29, 105, 124);
  min-height: 2000px;
}

/* ================= NAVBAR ================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 7%;
  background-color: rgba(43, 122, 120, 0.8);
  border-bottom: 1px solid var(--primary);
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 9999;
}

.navbar-logo {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  font-style: italic;
}

.navbar-logo span {
  color: rgb(40, 186, 186);
}

/* NAV MENU HORIZONTAL */
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.navbar-nav a {
  color: #fff;
  font-size: 1.3rem;
  font-style: italic;
  position: relative;
}

.navbar-nav a:hover {
  color: var(--primary);
}

/* underline animation */
.navbar-nav a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.navbar-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* NAV ICONS */
.navbar-extra a {
  color: #fff;
  margin-left: 0.8rem;
}

.navbar-extra a:hover {
  color: var(--primary);
}

#hamburger-menu {
  display: none;
}

/* ================= HERO ================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url(../img/background.jpg) center / cover no-repeat;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgb(255, 255, 255) 3%,
    rgba(255, 255, 255, 0) 25%
  );
}

.hero .content {
  padding: 1.4rem 7%;
  max-width: 60rem;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 5rem;
  color: #fff;
  line-height: 1.2;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero h1 span {
  color: #36a4a1;
}

.hero p {
  font-size: 2rem;
  margin-top: 1rem;
  font-weight: 300;
  color: #fff;
}

.hero .cta {
  margin-top: 1.5rem;
  display: inline-block;
  padding: 1rem 3rem;
  font-size: 1.4rem;
  color: #fff;
  background-color: var(--primary);
  border-radius: 0.5rem;
}

/* ================= SECTION ================= */
.about,
.menu,
.contact{
  padding: 10rem 7% 2rem;
  text-align: center;
}

.about .row .content {
  background-color: #2b7a78;
  border-radius: 20%;
  color: #fff ;
  text-align: center; 
  padding: 2rem;
}

.about h2,
.menu h2,
.contact h2 {
  font-size: 2.6rem;
  margin-bottom: 3rem;
}

.about h2 span,
.menu h2 span ,
.contact h2 span {
  color: rgb(88, 159, 159);
}

/* ================= ABOUT ================= */
.about .row {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.about-img {
  flex: 1;
}

.about-img img {
  width: 80%;
  border-radius: 5%;
  background-color: var(--primary);
  padding: 10px;
}

.about .content {
  flex: 1;
  text-align: left;
}

.about h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.about p {
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* ================= MENU ================= */
.menu p {
  max-width: 30rem;
  margin: auto;
  font-weight: 300;
  color: #000000;
}


.menu .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 4rem;
}

.menu-card {
  width: 18rem;
  text-align: center;
  padding: 1rem;
  background-color: #36a4a1;
  border-radius: 10%;
  color: #fff;
}

.menu-card img {
  width: 100%;
  border-radius: 10%;
}

.menu .menu-card h3 {
    padding: 1rem;
    font-size: 1.5rem;
}

.menu-card-title {
  margin-top: 1rem;
  font-size: 1.4rem;
}

.menu-card-price {
  color: var(--primary);
}

.btn-beli {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background-color: #2b7a78;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9rem;
  transition: 0.3s;
}

.btn-beli:hover {
  background-color: #205e5c;
}


/* kontak kami */

.contact .row {
  display: flex;
  margin-top: 2rem;
  background-color: #36a4a1;
  border-radius: 2rem;
  padding: 2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  align-items: flex-start;


}

.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;
}

.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: 2rem;
  font-size: 1.7rem;
  background: none;
  color: #000000;
}

.contact .row form .btn {
  margin-top: 3rem;
  display: inline-block;
  padding: 1rem 3rem;
  font-size: 1.7rem;
  color: #fff;
  background-color: var(--primary);
  cursor: pointer;
}

/* footer */

footer {
  background-color: var(--primary);
  text-align: center;
  padding: 1rem 0 3rem;
  margin-top: 3rem;
}

footer .socials {
  padding: 1rem 0;
}

footer .socials a {
  color: #fff;
  margin: 1rem;
}

footer .socials a:hover,
footer .links a:hover {
  color: #fff;
}

footer .links {
  margin-bottom: 1.4rem;
}

footer .credit {
  color: #36a4a1;
  text-shadow: #000000;
}

footer .links a {
  color: #fff;
  padding: 0.7rem 1rem;
}

footer .credit {
  font-size: 0.8rem;
}

footer .credit a {
  color: #fff;
  font-weight: 700;
}

/* footer end */

/* login box */

body {
  font-family: Arial, sans-serif;
  background: #f4f4f4;
}

.login-box {
  width: 300px;
  margin: 100px auto;
  background: #fff;
  padding: 20px;
  border-radius: 6px;
}

input, button {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
}





/* ================= RESPONSIVE ================= */

/* Laptop */
@media (max-width: 1366px) {
  html {
    font-size: 75%;
  }
}

/* Tablet */
@media (max-width: 768px) {
  html {
    font-size: 62.5%;
  }

  #hamburger-menu {
    display: inline-block;
  }

  .navbar-nav {
    position: absolute;
    top: 100%;
    right: -100%;
    flex-direction: column;
    align-items: flex-start;
    background-color: #fff;
    width: 30rem;
    height: 100vh;
    padding: 2rem;
    transition: 0.3s;
  }

  .navbar-nav.active {
    right: 0;
  }

  .navbar-nav a {
    color: var(--primary);
    font-size: 2rem;
  }

  .about .row {
    flex-direction: column;
  }
}

/* Mobile */
@media (max-width: 450px) {
  html {
    font-size: 55%;
  }
}
