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

@font-face {
  font-family: "Poppins";
  src: url("./Poppins/Poppins-Regular.ttf");
}

body {
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #fde3cf;
  padding-top: 100px;
}

.navbar {
  background-color: #ec6426;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  border-radius: 20px;
  top: 20px;
  left: 100px;
  right: 100px;
  margin: 0;
  flex-wrap: wrap;
  position: fixed;
  z-index: 1000;
}

.navbar .logo {
  color: white;
  font-weight: bold;
  font-size: 20px;
}

.menu-toggle {
  display: none;
}

.navbar ul.menu {
  display: flex;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.navbar li {
  margin: 0;
}

.navbar a {
  color: white;
  text-decoration: none;
  display: inline-block;
  padding: 8px 10px;
}

@media (max-width: 768px) {
  body {
    padding-top: 100px;
  }

  .navbar {
    left: 20px;
    right: 20px;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    text-align: left;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    color: white;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
  }

  .menu-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .menu-icon span {
    display: block;
    width: 18px;
    height: 2px;
    background-color: white;
  }

  .navbar ul.menu {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .navbar.menu-open ul.menu {
    display: flex;
  }

  .navbar li {
    width: 100%;
  }

  .navbar a {
    width: 100%;
    text-align: left;
  }

  .navbar .menu a {
    padding: 10px;
  }
}

.beranda {
  text-align: left;
  padding: 50px 40px;
  margin: 0 auto;
  max-width: 1000px;
  background-color: white;
  border-radius: 20px;
}

.beranda .dalemnya {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: 30px;
}

.beranda h1 {
  font-size: 40px;
  color: #ec6426;
  grid-column: 1;
  margin: 0 0 16px;
}

.beranda img {
  width: 300px;
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  grid-column: 2;
  grid-row: 1 / span 3;
  justify-self: center;
}

.beranda p,
.beranda button {
  grid-column: 1;
}

.beranda p {
  line-height: 1.6;
}

.beranda button {
  justify-self: start;
  padding: 15px 40px;
  color: white;
  background-color: #ec6426;
  border: none;
  border-radius: 15px;
  font-weight: bold;
  cursor: pointer;
  font-size: large;
  font-family: Poppins;
}

.beranda button:hover {
  transform: translateY(-5px);
  transition: transform 0.3s ease;
  background-color: #fd8047;
}

@media (max-width: 768px) {
  .beranda {
    margin: 0 20px;
    padding: 35px 25px;
  }

  .beranda .dalemnya {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .beranda img,
  .beranda h1,
  .beranda p,
  .beranda button {
    grid-column: 1;
  }

  .beranda img {
    grid-row: auto;
  }

  .beranda h1 {
    font-size: 30px;
  }

  .beranda button {
    justify-self: center;
  }
}

.container {
  padding: 20px;
  max-width: 1000px;
  margin: 0 auto;
  margin-top: 50px;
}

.container h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #ec6426;
  margin-top: 20px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background-color: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.content {
  padding: 15px;
}

.content h3 {
  margin-bottom: 10px;
  color: #2c3e50;
  font-weight: extra-bold;
  text-align: center;
}

.content p {
  color: #666;
  margin-bottom: 15px;
  line-height: 1.4;
  font-weight: bold;
  text-align: center;
}

.content button {
  background-color: #ec6426;
  color: #ffffff;
  border: none;
  padding: 12px 15px;
  border-radius: 10px;
  cursor: pointer;
  width: 100%;
  font-weight: bold;
  font-size: medium;
}

.card:hover {
  transform: translateY(-5px);
  transition: transform 0.3s ease;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  max-width: 1000px;
  margin: 30px auto 0;
  padding: 30px;
  background-color: white;
  border-radius: 20px;
}

.contact-map iframe {
  display: block;
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 15px;
}

.contact-info h2 {
  margin-bottom: 20px;
  color: #ec6426;
  font-size: xx-large;
}

.contact-info p {
  margin-bottom: 15px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.contact-info a {
  color: #ec6426;
}

.footer {
  background-color: #ec6426;
  color: #fde3cf;
  text-align: center;
  padding: 15px;
  margin-top: 30px;
  font-weight: 600;
}

@media (max-width: 600px) {
  .menu-grid {
    grid-template-columns: 3fr;
  }

  .contact-section {
    grid-template-columns: 1fr;
    margin: 30px 20px 0;
    padding: 20px;
  }

  .contact-map iframe {
    min-height: 260px;
  }
}
