body, html {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  overflow-x: hidden;
  background-color: #fff;
  text-align: center; 
}

body.body-terkunci {
  overflow: hidden;
  height: 100vh;
}

p {
  line-height: 1.2; /* default biasanya 1.5 - 1.6 */
}

.sampul {
  width: 100%;
  max-width: 500px; /* batas lebar */
  /* padding: 20px; */
  height: 100vh;
  background-color: #fff; /* background isi */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  text-align: center;
  background-image: url('sampul.png');
  background-size: cover;
  background-position: center;
}

.button-wrapper {
  display: flex;
  justify-content: center;
}


html {
  scroll-behavior: smooth;
}

.hero, .isi-undangan {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: opacity 1s ease, filter 1s ease;
}

.hero {
  background: url('background.jpg') no-repeat center center;
  background-size: cover;
  position: relative;
  z-index: 2;
}


.hero p,
.hero h1,
.hero h2 {
  line-height: 1.2; /* Atur sesuai kebutuhan, misal 1.1 atau 1.2 */
}


.isi-undangan {
  display: none;
  background: #fff9f0;
  opacity: 0;
  filter: blur(8px);
  z-index: 3;
}

.show {
  display: flex !important;
  opacity: 1 !important;
  filter: blur(0) !important;
}

.container {
  background: rgba(255, 255, 255, 0.93);
  padding: 30px;
  border-radius: 20px;
  max-width: 600px;
  width: 90%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.tulisan, .judul-kecil {
  margin: 10px 0;
  font-size: 18px;
  color: #555;
}

.nama-mempelai, .judul {
  font-family: 'Pacifico', cursive;
  font-size: 34px;
  color: #a67910;
  margin: 20px 0;
}

.box-nama {
  background: #fff8e1;
  padding: 10px;
  border-radius: 12px;
  border: 2px solid #d2af74;
  margin-top: 20px;
}

.nama-tamu {
  font-weight: bold;
  font-size: 20px;
  color: #b8860b;
}

.btn-buka {
  position: absolute;
  bottom: 100px;
  margin-top: 25px;
  background-color: #b8860b;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-buka:hover {
  background-color: #a67910;
}

/* Hiasan */
.hiasan {
  position: absolute;
  width: 100px;
  max-width: 30vw;
  z-index: 1;
}

.kiri-atas { top: 0; left: 0; }
.kanan-atas { top: 0; right: 0; }
.kiri-bawah { bottom: 0; left: 0; }
.kanan-bawah { bottom: 0; right: 0; }


#countdown {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
}

#countdown span {
  background: #fff3cd;
  padding: 10px 15px;
  border-radius: 10px;
  min-width: 60px;
  font-size: 16px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#countdown b {
  font-size: 24px;
  color: #b8860b;
}

.berdua {
  margin-top: 10px;
  max-width: 70%;
  height: auto;
}



.navbar-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid #ccc;
  box-shadow: 0 -1px 5px rgba(0,0,0,0.1);
  z-index: 9999;
}

.nav-item {
  text-decoration: none;
  color: #555;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  transition: 0.3s;
}

.nav-item i {
  width: 22px;
  height: 22px;
  margin-bottom: 3px;
  color: #666;
}

.nav-item span {
  font-size: 10px;
}

.nav-item.active i,
.nav-item.active span {
  color: #ba8b49;
}

.hidden {
  display: none !important;
}


.fade-out {
  opacity: 0;
  transition: opacity 1s ease;
}


.btn-lokasi {
  display: inline-block;
  background-color: #e91e63;
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.btn-lokasi:hover {
  background-color: #c2185b;
  transform: scale(1.05);
}


.floating-button {
  position: fixed;
  right: 20px;
  background-color: #ffffffcc;
  border: none;
  border-radius: 50%;
  padding: 10px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
  transition: background-color 0.3s;
  z-index: 999;
}

.floating-button:hover {
  background-color: #eee;
}


.mute-button {
  bottom: 10%;
}
