* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}

.header {
  min-height: 100vh;
  width: 100%;
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url(./Assets/indonesia-sea.jpg);
  background-size: cover;
  background-position: center;
  position: relative;
}

nav {
  position: fixed; 
  left: 0; 
  right: 0; 
  z-index: 1000; 
  display: flex;
  padding: 2% 6%;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.1);
}
nav img {
  width: 150px;
}

.nav-links {
  flex: 1;
  text-align: right;
}

.nav-links ul li {
  list-style: none;
  display: inline-block;
  padding: 8px 12px;
  position: relative;
}
.nav-links ul li a {
  text-decoration: none;
  font-weight: bold;
  color: #f5793b;
  tab-size: 13px;
}

.nav-links ul li::after {
  content: "";
  width: 0%;
  height: 2px;
  background: #235784;
  display: block;
  margin: auto;
  transition: 0.5s;
}

.nav-links ul li:hover::after {
  width: 100%;
}

.text-box {
  width: 90%;
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.text-box h1 {
  font-size: 58px;
}

.text-box p {
  margin: 10px 0 40px;
  font-size: 16px;
}

.btn {
  display: inline-block;
  text-decoration: none;
  color: white;
  border: 1px solid #235784;
  padding: 12px 34px;
  font-size: 13px;
  background: #235784;
  position: relative;
  cursor: pointer;
  border-radius: 50px;
}

.btn:hover {
  border: 1px solid #f5793b;
  background: #f5793b;
  color: black;
  transition: 0.5s;
}

nav .fa {
  display: none;
}

@media only screen and (max-width: 678px) {
  nav {
    display: flex;
    padding: 2% 4%;
    justify-content: space-between;
    align-items: center;
  }
  
  nav img {
    width: 100px;
  }
  
  .nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 2px 6px;
    position: relative;
  }

  .nav-links ul li a {
    font-size: 13px;
  }

  .text-box h1 {
    font-size: 28px;
  }

  .text-box p {
    margin: 10px 0 40px;
    font-size: 12px;
  }

  /* burger */
  .nav-links ul li {
    display: block;
  }
  .nav-links {
    position: absolute;
    background: antiquewhite;
    height: 100vh;
    width: 200px;
    top: 0;
    right: -200px;
    text-align: left;
    z-index: 2;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    transition: 1s;
  }
  nav .fa {
    display: block;
    color: #f5793b;
    margin: 10px;
    font-size: 20px;
    cursor: pointer;
  }
  .nav-links ul {
    padding: 10px;
  }
}

/* City */
.city {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 100px;
  padding-bottom: 100px;

  h1 {
    font-size: 36px;
    font-weight: 600;
  }

  p {
    color: #777;
    font-size: 16px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
  }
}

.city-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.city-card {
  position: relative;
  width: 200px;
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
}

.city-card:hover {
  transform: scale(1.05);
}

.city-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
}

.city-card .city-name {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.5em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Contact Us */
.contact {
  background: #f5793b;
  padding: 40px;
  display: grid ;
  justify-items: center;
  /* flex-direction: column; */
  align-items: center;
}

.text-opening {
  text-align: center;
  width: 100%;
  max-width: 500vw;

  h1 {
    font-size: 36px;
    font-weight: 600;
  }

  h3 {
    color: antiquewhite;
    font-size: 20px;
  }

  p {
    margin-top: 10px;
  }
}

.form-container {
  width: 100%;
  max-width: 600px;
  margin-top: 20px;

  label {
    margin-top: 10px;
    font-weight: bold;
    color: antiquewhite;
  }
  
  input, textarea {
    margin: 5px 0 15px;
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
  }

  button {
    display: flex;
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }

  button:hover {
    background-color: #555;
  }
}

.form-container input[type="checkbox"] {
  width: auto;
}

/* Footer */

.footer p{
  margin: 20px 20px;
  text-align: center;
  font-weight: bold;

  a {
    text-decoration: none;
    color: black;
  }

  a:hover {
    color: #f5793b;
  }
}
