* {
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  background-image: url("./img/bg.jpg"); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.container {
  color: aliceblue;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: cornflowerblue;
  padding: 20px;
  font-size: 20px;
}

ul {
  list-style: none;
  display: flex;
  gap: 20px;
}


ul li a {
  text-decoration: none;
  color: aliceblue;

  padding: 8px 12px;
  border-radius: 8px;
  transition: background-color 200ms ease, color 200ms ease;
}

ul li a:hover {
  background-color: white;
  color: black;
}

ul li a.active {
  background-color: white;
  color: black;
}

/* PAGE */
.page{
  max-width: 1100px;
  margin: 26px auto;
  padding: 0 18px;
}

.header{
  text-align: center;
  margin-bottom: 18px;
}

.header h1{
  font-size: 28px;
  margin-bottom: 6px;
}

.header p{
  color: #555;
  font-size: 14px;
}

/* CONTACT BOX */
.contact-box{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: start;
}

/* MAP */
.map-wrap{
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.map{
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

/* INFO */
.info{
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.info h2{
  font-size: 20px;
  margin-bottom: 12px;
}

.item{
  padding: 12px 0;
  border-top: 1px solid #f0f0f0;
}

.item:first-of-type{
  border-top: none;
  padding-top: 0;
}

.item h3{
  font-size: 15px;
  margin-bottom: 6px;
}

.item p{
  color: #333;
}

.phone{
  font-weight: 800;
  color: #222;
  text-decoration: none;
}

.phone:hover{
  text-decoration: underline;
}

small{
  color: #666;
}
.footer {
  background-color: black;
  color: white;
  text-align: center;
  padding: 18px 12px;
  margin-top: 40px;
}

.footer a {
  color: white;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 900px){
  .contact-box{
    grid-template-columns: 1fr;
  }
  .map{
    height: 320px;
  }
}

@media (max-width: 600px){
  nav.container ul{
    gap: 8px;
  }
  nav.container a{
    padding: 6px 8px;
    font-size: 14px;
  }
}

.pesan-section{
  margin-top: 18px;
  display: flex;
  justify-content: left;
}

.btn-pesan{
  border: none;
  background: cornflowerblue;
  color: white;
  padding: 12px 18px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
}

.btn-pesan:hover{
  background: #4f7fe0;
}

.pesan-form label{
  display: grid;
  gap: 6px;
  font-size: 14px;
  margin-top: 10px;
}

.pesan-form input,
.pesan-form textarea{
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 10px;
  outline: none;
}

.pesan-form button[type="submit"]{
  margin-top: 12px;
  border: none;
  background: cornflowerblue;
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
}

/* ===== ANIMASI MASUK BERTAHAP ===== */
.fade-step {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.fade-step.show {
  opacity: 1;
  transform: translateY(0);
}

/* Tombol Pesan */
.pesan-section{
  margin-top: 10px;
}
.btn-pesan{
  border: none;
  background: cornflowerblue;
  color: white;
  padding: 12px 18px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
}
.btn-pesan:hover{
  background: #4f7fe0;
}

/* Form template (dipakai di popup) */
.pesan-form label{
  display: grid;
  gap: 6px;
  font-size: 14px;
  margin-top: 10px;
}
.pesan-form input,
.pesan-form textarea{
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 10px;
  outline: none;
}
.pesan-form button[type="submit"]{
  margin-top: 12px;
  border: none;
  background: cornflowerblue;
  color: white;
  padding: 12px 14px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
}
.pesan-form button[type="submit"]:hover{
  background: #4f7fe0;
}
