* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.split-layout {
  display: flex;
  height: 100vh;
}

:root {
  --playball: "Playball";
  --nunito: "Nunito Sans";
  --primary: #296968;
  --secondary: #8a7650;
}

.top-right {
  position: absolute;
  top: 0px;
  right: 0px;
}

.bottom-left {
  position: absolute;
  bottom: 0px;
  left: 0px;
}

/* left panel */
.left-panel {
  flex: 2;
  display: flex;
  height: 100vh;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url("image/bg.jpg");
  background-position: center;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.left-panel .top-right img,
.left-panel .bottom-left img {
  width: 200px;
  transition: 2s;
}

/* SCROLL DOWN */

.scroll-down {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translate(-50%, -300px); /* posisi awal di atas */
  font-size: 30px;
  color: white;
  text-align: center;
  opacity: 0;
  transition: all 0.8s ease-out;
  pointer-events: none;
}

/* Saat muncul */
.scroll-down.muncul {
  transform: translate(-50%, 0); /* jatuh ke posisi */
  opacity: 1;
  animation: bounce 1.5s infinite 0.8s;
  /* bounce mulai setelah jatuh */
}

/* BOUNCE */
@keyframes bounce {
  0%,
  100% {
    transform: translate(-50%, 0);
    opacity: 0.7;
  }
  50% {
    transform: translate(-50%, 10px);
    opacity: 1;
  }
}

/* right panel */

.right-panel {
  flex: 1;
  overflow: hidden;
  position: relative;
}

/* landing top */

.landing-top {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: end;
  text-align: center;
  background-image: url("image/3.png");
  background-position: center;
  background-size: cover;
  color: #fff;
  transition: 3s ease-in-out;
  z-index: 10;
  padding-bottom: 50px;
}

.landing-top.hide {
  transform: translateY(-100vh);
}

.landing-top::after {
  position: absolute;
  content: "";
  bottom: 0;
  width: 100%;
  height: 80vh;
  background-image: linear-gradient(to top, var(--primary), rgba(255, 255, 255, 0));
}

.landing-top .content > * {
  position: relative;
  z-index: 13;
}

.landing-top button {
  background-color: #fff;
  color: #000;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.07);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.landing-top .pengantin {
  font-family: var(--playball);
  font-size: 40px;
}

.landing-top .maaf {
  font-size: 12px;
}

.landing-top .image-wrapper {
  width: 250px;
  height: 300px;
  margin: auto;
  margin-bottom: 30px;
}

.landing-top,
.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-top .atas {
  margin-top: 50px;
}

/* hero */

.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  text-align: center;
  background-image: url("image/bg.jpg");
  background-position: center;
  background-size: cover;
  color: var(--primary);
  position: relative;
  overflow: hidden;
}

.hero h5 {
  margin-top: 50px;
}

.hero .pengantin {
  font-size: 35px;
  font-family: var(--playball);
}

.hero .image-wrapper {
  width: 250px;
  height: 300px;
  box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.5);
  margin: auto;
  --bg: url("image/4.png");
  position: relative;
  margin-bottom: 30px;
  overflow: hidden;
}
.hero .image-wrapper::after {
  position: absolute;
  content: "";
  inset: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  transition: 2s;
}

.hero #saveDate {
  padding: 8px 15px;
  background-color: var(--primary);
  color: white;
  text-decoration: none;
  font-size: 13px;
  border-radius: 20px;
  margin-top: 30px;
  position: relative;
}

.image-wrapper.fade-in::after {
  opacity: 0.5;
  transform: scale(1.05);
}
.image-wrapper.fade-out::after {
  opacity: 1;
  transform: scale(1);
}

/* scroll indicator */

.scroll-indicator-wrapper {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}
.scroll-indicator {
  width: 25px;
  height: 40px;
  border: 2px solid white;
  border-radius: 20px;
  margin: auto;
  position: relative;
}

.scroll-indicator::after {
  content: "";
  width: 4px;
  height: 8px;
  background: white;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 8px;
  border-radius: 2px;
  animation: scrollAnim 1.5s infinite;
}

@keyframes scrollAnim {
  0% {
    opacity: 0;
    top: 8px;
  }
  50% {
    opacity: 1;
    top: 16px;
  }
  100% {
    opacity: 0;
    top: 24px;
  }
}

.hero .top-right img,
.hero .bottom-left img {
  width: 200px;
  transition: 2s;
}

/* quote */

.quote {
  padding: 70px 10px;
  background-color: var(--primary);
  text-align: center !important;
  color: #fff;
}

.quote .header {
  display: flex;
  gap: 10px;
  font-size: 40px;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.quote .header p {
  font-size: 20px;
  margin-top: 40px;
}
.quote .header .n {
  margin-top: 60px;
  font-size: 40px;
}

.quote .header .a {
  font-size: 40px;
}

/* groom-bride */

.groom-bride {
  background-image: url("image/bg.jpg");
  background-position: center;
  background-size: cover;
  padding: 30px 5px;
  color: var(--primary);
  position: relative;
  overflow: hidden;
}

.groom-bride .content {
  padding: 30px 3px;
  position: relative;
  margin: auto;
}

.groom-bride .content > * {
  position: relative;
  z-index: 2;
}
.groom-bride .content::after {
  position: absolute;
  content: "";
  inset: 0;
  background-color: #fff;
  opacity: 0.6;
}

.groom-bride .bride,
.groom-bride .groom {
  width: 250px;
  height: 300px;
  margin: auto;
  border: 2px solid var(--primary);
}
.groom-bride .bride img,
.groom-bride .groom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.groom-bride .groom {
  margin-top: 100px;
}
.groom-bride .content a {
  border-radius: 10px;
  display: inline-block;
  height: 25px;
  line-height: 12px;
  background-color: var(--primary);
  color: #fff;
}
.groom-bride .content h4 {
  font-family: var(--playball);
  font-size: 30px;
  margin-top: 20px;
}
.groom-bride .content span {
  font-weight: bold;
  font-size: large;
}

/* wedding -event */

.wedding-event {
  padding: 50px 10px;
  background-color: var(--secondary);
  position: relative;
  overflow: hidden;
  color: var(--primary);
}

.wedding-event .header {
  font-family: var(--playball);
  color: #fff;
  font-size: 40px;
}
.wedding-event .header > * {
  position: relative;
  z-index: 2;
}

.wedding-event .header h3 {
  font-size: 40px;
}

.wedding-event .akad-nikah,
.wedding-event .resepsi,
.wedding-event .streaming {
  padding: 40px 5px;
  background-image: url("image/bg.jpg");
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.wedding-event .akad-nikah .kapan,
.wedding-event .resepsi .kapan {
  display: flex;
  margin: auto;
  gap: 20px;
  justify-content: center;
  align-items: center;
  line-height: 0;
}
.wedding-event .akad-nikah .line,
.wedding-event .resepsi .line {
  height: 50px;
  width: 1px;
  background-color: var(--primary);
}
.wedding-event .akad-nikah .tanggal,
.wedding-event .resepsi .tanggal {
  line-height: 15px;
}

.wedding-event .akad-nikah .tanggal .angka,
.wedding-event .resepsi .tanggal .angka {
  font-size: 40px;
  margin-top: 25px;
}

.wedding-event a {
  border-radius: 10px;
  display: inline-block;
  height: 25px;
  line-height: 12px;
  background-color: var(--primary);
  color: #fff;
  text-decoration: none;
  padding: 2px 10px;
  font-size: 13px;
  line-height: 17px;
}

/* love-story */
.love-story {
  padding: 70px 10px;
  background-image: url("image/bg.jpg");
  background-position: center;
  background-size: cover;
  position: relative;
  overflow: hidden;
  color: var(--primary);
  z-index: 1;
}

.love-story .content {
  position: relative;
  padding: 40px 20px;
  color: white;
  z-index: 2;
  overflow: hidden;
}

.love-story .content::before {
  position: absolute;
  content: "";
  inset: 0;
  background-color: #fff;
  padding: 40px 0;
  opacity: 0.5;
  z-index: -1;
}

.love-story h2 {
  font-size: 32px;
  font-family: var(--playball);
  color: var(--primary);
}

.love-story p {
  color: var(--primary);
  font-family: var(--nunito);
}
.love-story .text p {
  color: #fff;
  font-family: var(--nunito);
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: auto;
  padding-left: 40px;
  --line-height: 0px;
}

/* Garis vertikal */
.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  width: 5px;
  height: var(--line-height);
  background: var(--primary);
  transition: height 0.2s ease-out;
  z-index: 1;
}
.timeline::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  width: 3px;
  height: 100%;
  background: #a82323;
}

/* Item */
.timeline-item {
  position: relative;
  margin-bottom: 80px;
  margin-left: 10px;
  color: white;
  padding: 20px 20px;
  /* background-color: #a82323; */
  text-align: center;
}

.timeline-item .speech-buble::after {
  position: absolute;
  content: "";
  width: 26px;
  height: 26px;
  top: 13px;
  left: -12px;
  transform: rotate(45deg);
  border: 1px solid var(--light);
  background-color: var(--primary);
}

/* Dot */
.timeline-dot {
  position: absolute;
  left: -37px;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  z-index: 2;
  transition: all 5s;
  font-size: 35px;
  top: 15px;
}

.timeline-dot i {
  color: var(--secondary);
  transition: all 0.4s ease;
}

.timeline-dot.active i {
  color: var(--primary);
}

.timeline-content {
  background-color: var(--primary);
  padding: 30px 0;
  width: 350px;
  margin: auto;
  color: #fff;
}

/* Image */
.timeline-content .image img {
  width: 250px;
  border-radius: 15px;
  object-fit: cover;
}

/* Text */
.timeline-content .text h4 {
  margin-bottom: 5px;
}

.timeline-content .date {
  font-size: 14px;
  color: white;
  display: block;
  margin-bottom: 10px;
}

@keyframes rotating {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}

/* galery */
.galery {
  padding: 70px 0;
  position: relative;
  background-color: var(--primary);
}

.galery .line {
  width: 100%;
  height: 1px;
  background-color: #fff;
  margin-bottom: 20px;
}

.galery .header {
  text-align: center;
  margin-bottom: 20px;
}

.galery .header h2 {
  font-family: var(--playball);
  font-size: 40px;
  font-weight: lighter;
  color: #fff;
  text-align: center;
}

/* kolom */

/* tinggi selang seling */
.galery .satu,
.galery .empat {
  height: 350px;
}

.galery .dua,
.galery .tiga {
  height: 300px;
}

/* image */
.galery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin-top: 6px;
  display: block;
  border-radius: 10px;
}

/* gift */
.gift {
  padding: 60px 0;
  background-image: url("image/bg.jpg");
  color: var(--primary);
  position: relative;
}

.gift h3 {
  font-family: var(--playball);
  font-size: 30px;
  font-weight: lighter;
  text-align: center;
}

.gift .header i {
  font-size: 40px;
}

.gift .card {
  text-align: left;
  margin: auto;
  width: 85%;
  height: 170px;
  padding: 20px;
  line-height: 5px;
  position: relative;
  background-image: url("image/bg-card.png");
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--primary);
}

.gift .card .image-wrapper {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 80px;
  height: 30px;
}

.gift a {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background-color: var(--primary);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid white;
}

.gift .card .nama {
  margin-top: 70px;
}

.gift .kado {
  height: 200px;
}
.gift .kado .nama {
  margin-top: 1px;
}
.gift .kado .penerima {
  margin-top: 20px;
}

.gift .kado .image-wrapper {
  position: absolute;
  right: 0;
  top: 20px;
}
.gift .kado .image-wrapper i {
  font-size: 30px;
  color: #a82323;
}

/* rsvp */

.rsvp {
  padding: 70px 20px;
  background-color: var(--primary);
  color: #fff;
}

.rsvp .header {
  margin: auto;
  text-align: center;
  margin-bottom: 30px;
}

.rsvp .header h2 {
  font-family: var(--playball);
  font-size: 40px;
  text-align: center;
  font-weight: lighter;
}

.rsvp .header h1 {
  font-family: var(--playball);
}

.rsvp p {
  text-align: center;
}

.rsvp button {
  background-color: #fff;
  color: var(--primary);
  font-weight: bold;
  border-radius: 8px;
  margin-top: 10px;
}

.rsvp #konfirmasi {
  border-radius: 0;
}

.rsvp .kotak-rsvp {
  height: 0;
  background: #fff;
  overflow-y: scroll;
  scrollbar-width: none;
  padding: 0 20px;
  -ms-overflow-style: none;
  transition: all 2s ease-in-out;
  opacity: 0;
}
.rsvp .kotak-rsvp.show {
  height: 40vh;
  opacity: 1;
}

.rsvp table thead {
  position: sticky;
  top: 0;
}

/* congrat */

.congrat {
  padding: 50px 20px;
  padding-bottom: 80px;
  background-color: var(--primary);
  color: #fff;
}

.congrat .header h2 {
  font-family: var(--playball);
  font-size: 50px;
  text-align: center;
  font-weight: lighter;
}
.congrat .header p {
  margin-bottom: 50px;
}

.congrat .kotak-pesan {
  height: 40vh;
  margin-top: 40px;
  background: #f0fafa;
  overflow-y: scroll;
  padding: 20px 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.congrat .kotak-pesan .text-pesan {
  color: black;
  padding: 0 10px;
  background-color: var(--primary);
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
  border-radius: 10px;
  color: #fff;
}
.congrat .kotak-pesan .text-pesan .nama {
  font-weight: bold;
  margin-top: 14px;
}
.congrat .kotak-pesan .text-pesan p {
  margin-top: -15px;
}

.congrat .text-pesan i {
  color: red;
  font-size: 30px;
}

.congrat button {
  background-color: #fff;
  color: var(--primary);
  font-weight: bold;
  margin-top: 10px;
}

/* tahnkyou */
.thankyou {
  padding: 80px 10px;
  background-image: url("image/bg.jpg");
  color: var(--primary);
  position: relative;
  overflow: hidden;
}

.thankyou h3 {
  font-weight: lighter;
  font-family: var(--playball);
  font-size: 40px;
  margin-bottom: 20px;
  text-align: center;
  color: var(--primary);
}
.thankyou i {
  color: red;
}

.thankyou .nama_pengantin {
  font-size: 30px;
}

.thankyou p {
  color: var(--primary);
}

/* footer */
footer {
  padding: 50px 0;
  background-color: var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: #a82323;
  z-index: 2;
  position: relative;
}

footer a {
  color: white;
}

footer .medsos {
  display: flex;
  gap: 30px;
  margin-top: 20px;
  justify-content: center;
  text-align: center;
}

/* audio */

.audio-icon {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  height: 40px;
  width: 40px;
  font-size: 2rem;
  border-radius: 50%;
  animation: rotating 2s linear infinite;
  color: white;
  cursor: pointer;
  transform-origin: center;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  mix-blend-mode: difference;
  z-index: 10;
}

@keyframes rotating {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}

/* countdown */
.simply-countdown-circle {
  --sc-circle-primary: #fff;
  --sc-circle-secondary: #fff;
  --sc-circle-bg: #296968;
  --sc-circle-text: #fff;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  font-family: "Inter", sans-serif;
}

.simply-countdown-circle > .simply-section {
  position: relative;
  background-color: #296968;
  width: 90px;
  height: 70px;
  border: 2px solid #bcd9a2;
  padding: 1rem;
  display: flex;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  /* border-radius: 50%; */
  /* background: linear-gradient(45deg, var(--sc-circle-primary), var(--sc-circle-secondary)); */
  /* box-shadow: 0 0 25px -5px var(--sc-circle-primary); */
  animation: pulse-circle 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.simply-countdown-circle > .simply-section::before {
  content: "";
  position: absolute;
  /* inset: 7px; */
  left: 7px;
  right: 7px;
  bottom: 0px;
  top: 0;
  border-radius: 15px;
  background: var(--sc-circle-bg);
  z-index: 0;
}

.simply-countdown-circle > .simply-section > div {
  position: relative;
  z-index: 1;
  color: var(--sc-circle-text);
  text-align: center;
  margin-top: 10px;
}

.simply-countdown-circle .simply-amount {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 0.8;
  background: linear-gradient(to right, var(--sc-circle-primary), var(--sc-circle-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.simply-countdown-circle .simply-word {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

@keyframes pulse-circle {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(0.98);
    opacity: 0.9;
  }
}

/* batas */

.simply-countdown {
  --sc-circle-primary: #fff;
  --sc-circle-secondary: #fff;
  /* --sc-circle-bg: #ff0087; */
  --sc-circle-text: #fff;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  font-family: "Inter", sans-serif;
}

.simply-countdown > .simply-section {
  position: relative;
  width: 100px;
  height: 100px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 50%;
  /* background: linear-gradient(45deg, var(--sc-circle-primary), var(--sc-circle-secondary)); */
  /* box-shadow: 0 0 25px -5px var(--sc-circle-primary); */
  animation: pulse-circle 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.simply-countdown > .simply-section::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: var(--sc-circle-bg);
  z-index: 0;
}

.simply-countdown > .simply-section > div {
  position: relative;
  z-index: 1;
  color: var(--sc-circle-text);
  text-align: center;
}

.simply-countdown .simply-amount {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(to right, var(--sc-circle-primary), var(--sc-circle-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.simply-countdown .simply-word {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

@keyframes pulse-circle {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(0.98);
    opacity: 0.9;
  }
}

@media (max-width: 768px) {
  .left-panel {
    display: none;
  }

  .right-panel {
    flex: 1;
  }
  /* hero */
  .hero h5 {
    margin-top: 30px;
  }

  .hero #saveDate {
    margin-top: 30px;
  }

  .scroll-indicator-wrapper {
    bottom: 20px;
  }

  /* countdown */
  .simply-countdown-circle {
    gap: 0.9rem; /* kecilkan jarak antar lingkaran */
    align-items: center;
  }

  .simply-countdown-circle > .simply-section {
    width: 67px;
    height: 57px;
    padding: 0.8rem;
    align-items: center;
  }

  .simply-countdown-circle .simply-amount {
    font-size: 1rem;
  }

  .simply-countdown-circle .simply-word {
    font-size: 0.55rem;
  }

  /* love story */

  .love-story {
    padding: 50px 10px;
  }

  .timeline {
    padding-left: 40px;
  }

  .timeline-content {
    text-align: center;
    padding: 30px 20px;
    width: 270px;
    margin: auto;
    margin-left: -13px;
  }

  .timeline-content .image img {
    width: 100%;
    height: 300px;
    border: 4px solid var(--primary);
  }

  .timeline::after {
    height: 100%;
  }

  .love-story .content {
    position: relative;
    padding: 30px 10px;
  }

  .love-story .floral-wrapper img {
    width: 300px;
  }
}
