*,
html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: black;
}

body {
  font-family: "Roboto";
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: white;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 0;
  background-color: #ff6700;
  position: sticky;
  top: 0;
  z-index: 9999;
}

nav div.logo {
  padding: 0.5rem;
  width: 15%;
  min-width: 120px;
  text-align: center;
  background-color: rgb(89, 209, 115);
  cursor: pointer;
}

nav div.logo img {
  width: 120px;
}

nav ul {
  width: 85%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  list-style: none;
  align-items: center;
  padding: 0 2rem;
  background-color: #ff6700;
}

nav ul li a {
  text-decoration: none;
  color: white;
}

.menu-icon {
  font-size: 32px;
  display: none;
  padding: 0 1rem;
  cursor: pointer;
  color: white;
}

/* === SECTION HERO === */
article section.Hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  padding: 4rem;
  background-image: url("../assets/background/Buildings -01.png");
}

.Hero .textHero h1 {
  font-size: 3rem;
}

/* === SECTION PENGANTAR === */
.PengantarBaru {
  width: 100%;
  aspect-ratio: 16 / 5;
  background-image: url('./assets/background/Banner third 1.png'); /* sesuaikan path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.linkApp {
  background-image: url('./assets/background/Banner Bawah2.png'); /* atau path baru kamu */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 5%;
  color: white;
}


.linkApp-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.text-button-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  background-color: transparent;
  padding: 1.5rem 2rem;
  border-radius: 12px;
}


.google-play {
  height: 55px;
  width: auto;
}

/* === FOOTER === */
footer {
  text-align: center;
  padding: 0.5rem;
  background-color: #ffffff;
  margin-top: auto;
}

footer h3 {
  margin: 0.5rem;
  color: black;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background-color: transparent;
  z-index: 0;
}

footer ul {
  background-color: transparent;
  color: black;
  margin: 1rem 0;
}

footer nav ul li a {
  color: black;
  position: sticky;
}

footer p {
  margin: 0.5rem 0;
}

#myBtn {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  text-decoration: none;
  bottom: 40px;
  right: 20px;
  background-color: white;
  width: 50px;
  height: 50px;
  color: #ffffff;
  cursor: pointer;
  border-radius: 50%;
  font-size: 30px;
  border: none;
  box-shadow: 1px 1px 5px 1px black;
}

footer a {
  position: fixed;
  width: 64px;
  height: 64px;
  bottom: 120px;
  right: 20px;
  z-index: 100;
}

footer a img {
  width: 54px;
  filter: drop-shadow(2px 2px 2px #000);
  margin-top: 15px;
}

/* === RESPONSIVE MENU === */
@media screen and (max-width: 768px) {
  .menu-icon {
    display: block;
  }

  nav ul {
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    background-color: #ff6700;
    width: 100%;
    display: none;
    padding: 1rem 0;
    z-index: 999;
  }

  nav ul.show {
    display: flex;
    
  }

  nav div.logo {
    width: 100%;
    text-align: left;
    height: auto;
  }

  nav ul li {
    text-align: center;
    padding: 0.5rem 0;
  }
}

/* Hero Section */
.Hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  background-image: url('./assets/background/Buildings -01.png');
  background-size: cover;
  background-position: center;
  padding: 2rem;
  color: white;
}

.textHero {
  flex: 1 1 400px;
  font-size: 1.5rem;
  font-weight: 500;
  padding: 1rem;
}

.videoHero {
  flex: 1 1 500px;
  text-align: center;
}

.videoHero video {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* Pengantar & Link App */
.Pengantar, .linkApp {
  padding: 2rem;
  text-align: center;
}

.textPengantar h1,
.textLinkApp h1 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.textLinkApp img {
  width: 200px;
  margin-top: 1rem;
}

/* Responsive Layout */
@media (max-width: 768px) {
  .Hero {
    flex-direction: column;
    text-align: center;
  }

  .textHero {
    font-size: 1.2rem;
  }

  .textLinkApp img {
    width: 150px;
  }

  footer nav ul {
    flex-direction: column;
    padding: 0;
  }

  nav ul {
    flex-direction: column;
    background-color: #ff6700;
  }

  nav ul li {
    text-align: center;
    padding: 0.5rem 0;
  }

  .menu-icon {
    display: block;
  }

  nav ul.hidden {
    display: none;
  }

  nav ul.show {
    display: flex;
  }
}

/* === BANNER === */
.Banner img {
  width: 100%;
  display: block;
  max-height: 500px;
  object-fit: cover;
}

/* === VIDEO SECTION === */
.VideoOnly {
  padding: 3rem 1rem;
  background-color: #5e0076;
  text-align: center;
}

.video-wrapper {
  max-width: 700px; /* atau 90vw untuk ukuran relatif */
  width: 100%;
  margin: auto;
}

.video-wrapper video {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .text-button-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .text-button-wrapper h1 {
    font-size: 1.5rem;
  }

  .google-play {
    height: 50px;
  }
}

@media (max-width: 768px) {
  .Pengantar {
    height: auto;
    padding: 3rem 1.5rem;
    background-position: center;
  }

  .textPengantar h1 {
    font-size: 1.5rem;
    text-align: center;
    line-height: 1.5;
  }

  .pengantar-wrapper {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 0 1rem;
  }
}

@media (max-width: 768px) {
  .PengantarBaru {
    background-position: center top;
    background-size: cover;
    height: 300px;
  }
}