@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lavishly+Yours&display=swap");
body {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  color: #333;
}

header {
  background: linear-gradient(90deg, #332800, #a58e54);
  color: #fff;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 10;
}

header h1 {
  margin: 0;
  font-family: "Lavishly Yours", serif;
  font-style: normal;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: normal;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 15;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background: white;
  margin: 4px 0;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: #a58e54;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  padding: 20px 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 20;
}

.mobile-nav a {
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  display: block;
  font-weight: bold;
}

.mobile-nav a:hover {
  background: #332800;
}

.mobile-nav.show {
  display: flex;
}

.hero {
  position: relative;
  height: 400px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  color: white;
  text-align: left;
  padding: 20px;
  overflow: hidden;
}

.hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: url("../img/shape.png") no-repeat;
  background-size: cover;
  z-index: 1;
}

.hero h1 {
  font-size: 2.5em;
  margin: 0;
  font-family: "Poppins", serif;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.769);
}
.hero h2 {
  font-size: 1.5em;
  margin: 0;
}
.hero p {
  margin: 0;
}

.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  padding: 10px;
}

.card {
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, #332800, #a58e54);
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(4, 83, 14, 0.5);
  flex: 1 1 calc(50% - 30px); /* Responsive width */
  max-width: 300px;
  text-decoration: none;
  color: inherit;
}

.card img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.card span {
  font-size: 18px;
  color: #fff;
  margin-left: 10px;
  flex-grow: 1;
}

.detail {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  gap: 20px;
}
.section {
  flex: 1 1 calc(50% - 20px);
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}
.section h1,
.section h2 {
  color: #333;
}
.rating {
  color: gold;
  font-size: 18px;
}
.button {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 10px;
  background-color: #d4af37;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  cursor: pointer;
}
.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 30px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  border-radius: 15px;
  z-index: 1000;
  width: 90%;
  max-width: 400px;
  text-align: center;
}
.popup h2 {
  font-family: "Georgia", serif;
  font-size: 24px;
  margin-bottom: 15px;
  color: #d4af37;
}
.popup input {
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.popup .submit-button {
  width: 100%;
  padding: 10px;
  background-color: #25d366;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}
.popup-content {
  background: url("../img/popup.jpg") no-repeat center center;
  background-size: cover;
  padding: 30px;
  border-radius: 15px;
}
.popup-content h2 {
  font-size: 32px;
  margin-bottom: 10px;
  font-family: "Lavishly Yours", serif;
  text-shadow: #333;
}
.image {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 5px;
}
.background-section {
  background-size: cover;
  background-position: center;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
  padding: 20px;
}
.background-section h2 {
  margin: 0;
  color: aliceblue;
}
.background-section p {
  margin: 10px 0 0;
}
.img-line {
  justify-content: center;
  align-items: center;
  display: flex;
  padding: 10px;
  margin-top: 100px;
}
.img-line img {
  width: 1000px;
}
.konsul {
  justify-content: center;
  align-items: center;
  display: flex;
  padding: 10px;
}
.konsul p {
  width: 1500px;
  font-size: 32px;
  text-align: center;
}
.maps-location {
  justify-content: center;
  align-items: center;
  display: flex;
  padding: 10px;
}
.maps-location h2 {
  font-size: 42px;
}
#map {
  height: 100vh;
  width: 100%;
}

.footer {
  background: #332800;
  color: #fff;
  padding: 1.5rem;
  text-align: center;
  margin: 0;
  padding: 0;
  height: 10vh;
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
    position: relative;
  }

  nav ul {
    display: none;
  }

  .hero h2 {
    font-size: 1em;
  }

  .hero p {
    font-size: 1em;
  }

  .content {
    padding: 10px;
  }

  .button {
    padding: 10px;
  }
  .card {
    flex: 1 1 100%;
  }
  .detail {
    flex-direction: column;
    padding: 10px;
  }
  .section {
    flex: 1 1 100%;
  }
  .section:nth-child(2) {
    order: 2;
  }
  .button {
    padding: 8px 16px;
    font-size: 14px;
  }
  .img-line img {
    width: 600px;
  }
  .konsul p {
    width: 700px;
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .hero h2 {
    font-size: 0.5em;
  }

  .hero p {
    font-size: 0.9em;
  }

  .button {
    font-size: 0.9em;
    padding: 8px 15px;
  }
  .card {
    flex: 1 1 100%;
  }
  .detail {
    flex-direction: column;
    padding: 10px;
  }
  .section {
    flex: 1 1 100%;
  }
  .section:nth-child(2) {
    order: 2;
  }
  .button {
    padding: 8px 16px;
    font-size: 14px;
  }
  .img-line img {
    width: 400px;
  }
  .konsul p {
    width: 400px;
    font-size: 16px;
  }
}
