@import url("https://fonts.googleapis.com/css2?family=Gabriela&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Gabriela", serif;
  background: #e9dfd4; /* polos kiri kanan */
  overflow-x: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  color: #735C3D;
}

::-webkit-scrollbar {
  width: 2px;
}
 
::-webkit-scrollbar-thumb {
  background: rgb(56, 51, 51); 
  border-radius: 10px;
}

/* Section layout */
section {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.inner-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  overflow-x: hidden;
  background-image: url("asset/Asset BG Pattern.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

/* Image positions */
img {
  position: absolute;
  max-width: 100%;
  pointer-events: none;
}

#nama-undangan {
  top: 2%;
  font-size: 25pt;
}

#gebyok {
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 110%;
}
#treeLeft {
  top: 20%;
  left: -50%;
  z-index: 2;
  width: 85%;
}
#treeRight {
  top: 20%;
  right: -50%;
  z-index: 2;
  width: 85%;
  transform: scaleX(-1);
}
#gununganleft {
  bottom: 30%;
  left: -25%;
  width: 70%;
  opacity: 1;
  z-index: 4;
}
#gununganright {
  bottom: 30%;
  right: -25%;
  width: 70%;
  opacity: 1;
  z-index: 4;
  transform: scaleX(-1);
}
#flowerLeft {
  bottom: 5%;
  left: -15%;
  z-index: 8;
  width: 40%;
  transform: rotate(30deg);
}
#flowerRight {
  bottom: 5%;
  right: -15%;
  z-index: 8;
  width: 40%;
  transform: scaleX(-1) rotate(30deg);
}
#flowerLeftCenter {
  bottom: 0;
  left: 50%;
  z-index: 10;
  width: 40%;
}
#flowerRightCenter {
  bottom: 0;
  right: 50%;
  z-index: 10;
  width: 40%;
}
#wayangLeft {
  bottom: 20%;
  left: -5%;
  z-index: 6;
  width: 35%;
}
#wayangRight {
  bottom: 20%;
  right: -5%;
  z-index: 6;
  width: 35%;
}
#butterfly1 {
  top: 40%;
  left: 15%;
  width: 50px;
  z-index: 12;
}
#butterfly2 {
  bottom: 20%;
  right: 6%;
  width: 50px;
  z-index: 12;
  transform: scaleX(-1);
}
/* Text & Button */
h1 {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -10%);
  font-family: "Great Vibes", cursive;
  font-size: 40px;
  color: #fff;
  text-align: center;
  opacity: 1;
  z-index: 7;
}

#openBtn {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 28px;
  font-family: "Great Vibes", serif;
  font-size: 16px;
  background: #c9a78f;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  /* opacity: 1; */
  z-index: 12;
}

.igBtn {
  padding: 12px 28px;
  font-size: 16px;
  background: #c9a78f;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  z-index: 12;
  margin: 30px 0 0 0;
}

.igBtn a {
  text-decoration: none;
  color: inherit;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* hitam transparan */
  z-index: 0;
}

/* Mobile responsive */
@media (max-width: 480px) {
  .inner-wrapper {
    max-width: 100%;
  }
  h1 {
    font-size: 1.4rem;
    font-size: 40px;
  }
  .button {
    font-size: 16px;
  }
}

.card-invit {
  text-align: center;
  border: 1px solid #cbad9f;
  border-radius: 10px;
  width: 75%;
  position: relative;
  left: 50%;
  transform: translate(-50%);
  padding: 35px 20px;
  background-color: rgba(255, 241, 235, 0.8);
}

.card-bride {
  text-align: center;
  border: 1px solid #cbad9f;
  border-radius: 10px;
  width: 75%;
  position: relative;
  left: 50%;
  transform: translate(-50%);
  padding: 35px 20px;
  background-color: rgba(255, 241, 235, 0.8);
}

#flower-left-bride {
  margin: -200px 0 0 0;
  left: -40%;
  z-index: 8;
  width: 70%;
  transform: rotate(30deg);
}
#flower-right-bride {
  margin: -150px 0 0 0;
  right: -40%;
  z-index: 8;
  width: 70%;
  transform: scaleX(-1) rotate(30deg);
}

.section-detail-wedding {
  background-image: url(./asset/Asset\ Background2.png);
  min-height: 100vh;
  padding: 50px 0 100px 0;
}

#gebyok-top-detail {
  position: absolute;
  z-index: 1;
  width: 100% ;
  margin: -10% 0 0 0;
}
#gebyok-left-detail {
  z-index: 1;
  width: 20% ;
  left: 0;
  margin: 50% 0 0 0;
}
#gebyok-right-detail {
  position: absolute;
  z-index: 1;
  width: 20% ;
  right: 0;
  margin: 50% 0 0 0;
}
#gunungan-left-detail {
  left: -5%;
  z-index: 6;
  width: 50%;
}
#gunungan-right-detail {
  right: -5%;
  z-index: 6;
  width: 50%;
  transform: scaleX(-1);
}
#wayangLeft-detail {
  left: -5%;
  z-index: 6;
  width: 35%;
}
#wayangRight-detail {
  right: -5%;
  z-index: 6;
  width: 35%;
}

#butterfly-photo {
  left: 10%;
  width: 50px;
  z-index: 12;
  margin: -60px 0 0 0;
}
#flower-photo-left1 {
  margin: -200px 0 0 0;
  left: -35%;
  top: 50%;
  width: 50%;
  transform: rotate(30deg);
}
#flower-photo-left2 {
  margin: -200px 0 0 0;
  left: -25%;
  top: 80%;
  z-index: 8;
  width: 50%;
  transform: rotate(30deg);
}
#flower-photo-right1 {
  margin: -200px 0 0 0;
  right: -22%;
  top: 50%;
  z-index: 8;
  width: 50%;
  transform: scaleX(-1) rotate(30deg);
}
#flower-photo-right2 {
  margin: -200px 0 0 0;
  right: -35%;
  top: 80%;
  z-index: 8;
  width: 50%;
  transform: scaleX(-1) rotate(30deg);
}

.card-video {
  text-align: center;
  border: 1px solid #cbad9f;
  border-radius: 10px;
  width: 75%;
  position: relative;
  left: 50%;
  transform: translate(-50%);
  padding: 35px 20px;
  background-color: rgba(255, 241, 235, 0.8);
  margin: 170px 0 0 0;
}

.vertical-line {
  width: 4px;
  height: 50px;
  background-color: #cbad9f;
  margin: 0 auto;
}

.section-thanks {
  position: relative;
  background: linear-gradient(180deg,rgba(242, 242, 242, 0.2) 0%, rgba(0, 0, 0, 0.4) 13%, rgba(0, 0, 0, 0.4) 100%);  min-height: 100vh;
  font-family: "Gabriela", serif;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}

#gebyok-thanks {
  z-index: 8;
  width: 100%;
}

#treeLeft-thanks {
  margin: 40% 0 0 0;
  left: -44%;
  z-index: 8;
  width: 80%;
}

#treeRight-thanks {
  margin: 40% 0 0 0;
  right: -44%;
  z-index: 8;
  width: 80%;
}

#gununganleft-thanks {
  margin: -90% 0 0 0;
  left: -10%;
  z-index: 8;
  width: 60%;
}

#gununganright-thanks {
  margin: -90% 0 0 0;
  right: -10%;
  z-index: 8;
  width: 60%;
  transform:scaleX(-1)
}

#wayangLeft-thanks {
  margin: 100% 0 0 0;
  left: 0%;
  z-index: 8;
  width: 40%;
}

#wayangRight-thanks {
  margin: 100% 0 0 0;
  right: 0%;
  z-index: 8;
  width: 40%;
}

#flowerCenter-thanks1 {
  bottom: 0;
  display: block;
  left: 10%;
  z-index: 8;
  width: 40%;
}

#flowerCenter-thanks2 {
  bottom: 0;
  display: block;
  right: 10%;
  z-index: 8;
  width: 40%;
  transform: scaleX(-1);
}

#flowerLeft-thanks {
  bottom: 0;
  display: block;
  left: -20%;
  z-index: 8;
  width: 40%;
}

#flowerRight-thanks {
  bottom: 0;
  display: block;
  right: -20%;
  z-index: 8;
  width: 40%;
  transform: scaleX(-1);
}

/* form undangan */
.form-undangan-section {
  text-align: center;
  border: 1px solid #cbad9f;
  border-radius: 10px;
  width: 75%;
  position: relative;
  left: 50%;
  transform: translate(-50%);
  padding: 30px 20px;
  background-color: rgba(255, 241, 235, 0.9);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  font-family: "Gabriela", serif;
  margin: 20px 0;
}

.form-undangan-title {
  color: #735C3D;
  font-size: 24px;
  margin-bottom: 20px;
}

.form-undangan-label {
  display: block;
  text-align: left;
  margin: 10px 0 5px;
  color: #735C3D;
  font-weight: bold;
}

.form-undangan-input, 
.form-undangan-textarea, 
.form-undangan-select {
  width: 100%;
  padding: 10px;
  border: 1px solid #cbad9f;
  border-radius: 8px;
  font-size: 14px;
  background-color: rgba(255,255,255,0.8);
  color: #735C3D;
  font-family: "Gabriela", serif;
  margin-bottom: 10px;
}

.form-undangan-button {
  width: 100%;
  padding: 12px;
  background: #cbad9f;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;

}

.form-undangan-button:hover {
  background: #a48373;
}

.form-undangan-status {
  text-align: center;
  color: #4CAF50;
  font-weight: bold;
  margin-top: 10px;
}

.slider {
  max-width: 1000px;
  position: relative;
  margin: auto;
  height: 500px;
  padding: 0 50px;
}

.slider img {
  vertical-align: middle;
}

.slider .container {
  position: relative;
}

.slider .mySlides {
  height: 480px;
  background-color: black;
}

.slider .mySlides img{
  position: relative;
  top: 50%;
  transform: translate(0, -50%);
}

/* Add a pointer when hovering over the thumbnail images */
.slider .cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.slider .prev,
.slider .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
  background-color: rgb(160,140,124);
  opacity: 0.7;
}

/* Position the "next button" to the right */
.slider .next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.slider .prev:hover,
.slider .next:hover {
  background-color: rgb(160,140,124);
  opacity: 1;
}

.slider .row {
  display: flex;
  flex-wrap: wrap;
  height: 60px;
}

.slider .column {
  width: 40px;
  height: 58px;
  margin: 5px;
  background-color: black;
}

.demo{
  user-select: none;
  -webkit-user-select: none;
  width: 40px !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
  top: 50%;
  transform: translate(0, -50%);
  opacity: 0.6;
  z-index: 1000000;
  cursor: pointer;
}


.slider .active,
.demo:hover {
  opacity: 1;
  border: 2px solid rgb(160,140,124);
}