* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
:root {
  --swash: "Berkshire Swash";
  --ballet: "Ballet";
  --sacra: "Sacramento";
  --primary: #ff4400;
}
.split-layout {
  display: flex;
  height: 100vh;
}

.left-panel {
  flex: 2;
  display: flex;
  height: 100vh;
  background-image: url("image/3.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.left-panel .content > * {
  position: relative;
  z-index: 1;
}

.left-panel::after {
  position: absolute;
  content: "";
  inset: 0;
  background-image: linear-gradient(to top, rgba(192, 7, 7, 0.8), rgba(255, 228, 196, 0));
}

.left-panel .pengantin {
  font-family: var(--sacra);
  letter-spacing: 10px;
}

/* right-panel */

.right-panel {
  flex: 1;
  position: relative;
  overflow: hidden;
}

/* landing top */

.landing-top {
  position: absolute;
  inset: 0;
  height: 100vh;
  z-index: 10;
  color: white;
  transition: 1s;
  display: flex;
  align-items: flex-end;
  text-align: center;
  padding: 120px 0;
  background-image: url("image/7.jpg");
  background-position: center;
  background-size: cover;
}

.landing-top::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to top, rgba(192, 7, 7, 0.8), rgba(255, 228, 196, 0));
  z-index: 1;
}

.landing-top .content > * {
  position: relative;
  z-index: 3;
}

.landing-top.hide {
  transform: translateY(-100vh);
}

.landing-top .maaf {
  font-size: 12px;
}

.landing-top .pengantin {
  font-family: var(--sacra);
  letter-spacing: 6px;
  font-weight: lighter;
  font-style: italic;
  font-size: 50px;
}

.landing-top button {
  padding: 5px 15px;
  border-radius: 10px;
  background-color: black;
  color: white;
  border: 1px solid white;
  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 bottom */

.landing-bottom {
  position: relative;
}

/* carousel sebagai background */
.landing-bottom .carousel-bg {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh !important;
  will-change: transform;
  transform: translateZ(0);
  z-index: 1;
  pointer-events: none;
}

.landing-bottom .carousel-inner,
.landing-bottom .carousel-item {
  height: 100%;
}

.landing-bottom .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* overlay */
.landing-bottom .carousel-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(192, 7, 7, 0.6);
  z-index: 1;
}

.landing-bottom .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero {
  display: flex;
  text-align: center;
  height: 100vh;
  position: relative;
  align-items: end;
  z-index: 2;
  margin-top: -100vh;
  overflow: hidden;
  padding-bottom: 100px;
}

.hero .content {
  position: relative;
  color: #fff;
}

.hero .content h5 {
  transform: translateX(-100%);
  transition: 2s ease-in-out;
}
.hero .content h1 {
  transform: translateX(100%);
  transition: 2s ease-in-out;
}
.hero .content .countdown {
  transform: translateX(-100%);
  transition: 2s ease-in-out;
}

.hero .content h5.muncul,
.hero .content h1.muncul,
.hero .content .countdown.muncul {
  transform: translateX(0);
}

.hero .content > * {
  position: relative;
  z-index: 3;
}

.hero .content .countdown {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero .content .countdown .item {
  display: flex;
  justify-content: center;
  align-items: center; /* 🔥 ini kunci vertical center */
  flex-direction: column;
  text-align: center;
  font-size: 11px;
  color: white;
  width: 70px;
  height: 60px;
  font-family: "Poppins";
  margin: 10px;
  padding: 0; /* 🔥 hapus padding biar center pas */
  padding-top: 5px;
  border-radius: 8px;
}

.hero .content .countdown span {
  font-size: 25px;
  line-height: 1; /* 🔥 biar angka tidak turun */
}

/* carousel sebagai background */
.hero .bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100vh !important;
  will-change: transform;
  transform: translateX(0);
  z-index: 1;
  pointer-events: none;
  background-attachment: fixed;
}

.hero .carousel-inner,
.hero .carousel-item {
  height: 100%;
}

.hero .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero .pengantin {
  font-family: var(--sacra);
  font-size: 50px;
}

/* overlay */
.hero .bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(255, 228, 196, 0));
  z-index: 1;
}

.hero .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* quote */

.quote {
  padding: 30px 0;
  position: relative;
  background-color: white;
  color: #fff;
  z-index: 2;
}

.quote > * {
  position: relative;
  z-index: 1;
}

.quote::after {
  position: absolute;
  content: "";
  inset: 0;
  background-color: black;
  opacity: 0.7;
}

.quote .header {
  display: flex;
  margin-bottom: 10px;
  justify-content: center;
}
.quote .header h1 {
  font-size: 40px;
  font-family: var(--swash);
}
.quote .header p {
  font-size: 20px;
  font-family: var(--swash);
  margin-top: 30px;
}
.quote .header .n {
  margin-top: 40px;
}

.quote span {
  font-weight: bold;
}

/* groom bride */
.groom-bride {
  position: relative;
  z-index: 2;
  background-color: beige;
  padding: 60px 0;
  color: var(--primary);
}

.groom-bride .header h2 {
  font-size: 40px;
}

.groom-bride .top {
  font-family: var(--swash);
  margin-left: -20px;
  font-style: italic;
}

.groom-bride .bottom {
  font-family: var(--ballet);
  margin-top: -20px;
  margin-right: -20px;
}

.groom-bride .atas {
  width: 60%;
  height: 400px;
  width: 60%;
}

.groom-bride .text-satu {
  margin-left: 20px;
  text-align: start;
  width: 60%;
}

.groom-bride .text-satu h3,
.groom-bride .text-dua h3 {
  font-family: var(--swash);
}
.groom-bride .bawah {
  width: 60%;
  height: 400px;
  margin-left: auto;
}
.groom-bride .text-dua {
  margin-left: auto;
  text-align: start;
  width: 60%;
}

.groom-bride a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 15px;
  background-color: var(--primary);
  color: #fff;
  text-decoration: none;
  width: 60%;
}

/* Membalik arah slide carousel (kiri → kanan) */
.bawah .carousel-item-next:not(.carousel-item-start),
.bawah .active.carousel-item-end {
  transform: translateX(-100%);
}

.bawah .carousel-item-prev:not(.carousel-item-end),
.bawah .active.carousel-item-start {
  transform: translateX(100%);
}

.groom-bride .carousel-inner .carousel-item {
  transition: all 4s;
}
/* save date */
.save-date {
  position: relative;
  z-index: 2;
  background-color: black;
  color: white;
  height: 100vh;
  padding: 50px 0;
}

.save-date .content > * {
  position: relative;
  z-index: 2;
}

.save-date::after {
  position: absolute;
  content: "";
  inset: 0;
  background-color: black;
  opacity: 0.7;
}

.save-date .header h2 {
  font-family: var(--swash);
}

.save-date a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40%;
  padding: 7px 12px;
  margin: auto;
  background-color: white;
  color: #000;
  text-decoration: none;
  margin-top: 20px;
}

.save-date .slide-atas {
  position: absolute;
  inset: 0;
  content: "";
}

.save-date .countdown {
  display: flex;
  width: 100%;
  margin: auto;
  flex-direction: column;
  align-items: center;
}

.save-date .countdown .item {
  display: flex;
  justify-content: center;
  align-items: center; /* 🔥 ini kunci vertical center */
  flex-direction: column;
  text-align: center;
  font-size: 12px;
  color: white;
  background-color: var(--primary);
  width: 70px;
  height: 60px;
  font-family: "Poppins";
  margin: 30px;
  padding: 0; /* 🔥 hapus padding biar center pas */
  padding-top: 5px;
  border-radius: 8px;
}

.save-date .countdown span {
  font-size: 35px;
  line-height: 1; /* 🔥 biar angka tidak turun */
}

/* Membalik arah slide carousel (kiri → kanan) */
.slide-atas .carousel-item-next:not(.carousel-item-start),
.slide-atas .active.carousel-item-end {
  transform: translateY(100%);
}

.slide-atas .carousel-item-prev:not(.carousel-item-end),
.slide-atas .active.carousel-item-start {
  transform: translateY(-100%);
}

.save-date .carousel-inner .carousel-item {
  transition: all 4s;
}

/* wedding event */

.wedding-event {
  padding: 70px 10px;
  position: relative;
  color: #fff;
  z-index: 4;
}

.wedding-event .card {
  border-top-right-radius: 130px;
  overflow: hidden;
}
.wedding-event .card .tanggal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.wedding-event .card .tanggal .angka {
  font-size: 70px;
}
.wedding-event .header {
  margin: auto;
  margin-bottom: 40px;
}

.card .line {
  width: 100%;
  height: 1px;
  background-color: var(--primary);
  margin-top: -20px;
}

.wedding-event .atas {
  font-family: var(--swash);
  font-size: 40px;
  margin-left: -40px;
  font-style: italic;
}
.wedding-event .bawah {
  font-family: var(--ballet);
  font-size: 50px;
  margin-top: -30px;
  margin-right: -40px;
  color: #fff;
}

.wedding-event .card-body {
  display: flex;
  padding: 10px 0;
  background-color: beige;
}
.wedding-event .card-body .widget {
  background: var(--primary);
  color: #fff;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wedding-event .card-body .widget p {
  transform: rotate(-90deg);
  font-family: var(--swash);
  font-size: 30px;
  letter-spacing: 7px;
}
.wedding-event .card-body .widget .akad {
  font-size: 25px;
  white-space: nowrap;
}

.wedding-event .carousel-inner {
  height: 40vh;
}
.wedding-event .carousel-inner .carousel-item {
  height: 40vh;
}
.wedding-event .carousel-inner .carousel-item img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.wedding-event .card a {
  padding: 4px 10px;
  background-color: var(--primary);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
}

.wedding-event .dua {
  margin-top: 70px;
  border-top-left-radius: 130px;
  border-top-right-radius: 0;
}

.wedding-event .carousel-inner .carousel-item {
  transition: all 4s;
}

/* Membalik arah slide carousel (kiri → kanan) */
.two .carousel-item-next:not(.carousel-item-start),
.two .active.carousel-item-end {
  transform: translateX(-100%);
}

.two .carousel-item-prev:not(.carousel-item-end),
.two .active.carousel-item-start {
  transform: translateX(100%);
}

.wedding-event .carousel-inner .carousel-item {
  transition: all 4s;
}

.wedding-event .streaming h3 {
  font-family: var(--swash);
  margin-top: 20px;
}
.wedding-event .streaming a {
  display: flex;
  width: 50%;
  padding: 6px 10px;
  background-color: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  align-items: center;
  justify-content: center;
  margin: auto;
}

.wedding-event .image-wrapper {
  width: 100%;
  height: 300px;
}
.wedding-event .image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wedding-event .dresscode .line {
  height: 90px;
  width: 2px;
  background-color: #fff;
  margin: 40px auto;
}

.wedding-event .dresscode h3 {
  font-family: var(--swash);
}

.wedding-event .dresscode .warna {
  display: flex;
  width: 70%;
  margin: auto;
  gap: 30px;
  justify-content: center;
}

.wedding-event .dresscode .red {
  width: 60px;
  height: 60px;
  background-color: crimson;
}
.wedding-event .dresscode .white {
  width: 60px;
  height: 60px;
  background-color: white;
}

/* love story */

.love-story {
  position: relative;
  z-index: 2;
  background-color: beige;
  color: #000;
  padding: 50px 0;
}

.love-story .header {
  width: 100%;
  margin: auto;
  justify-content: center;
  text-align: center;
}
.love-story .atas {
  font-family: var(--swash);
  font-size: 40px;
  color: var(--primary);
  margin-left: -40px;
  font-style: italic;
}
.love-story .bawah {
  font-family: var(--ballet);
  font-size: 50px;
  margin-top: -30px;
  margin-right: -40px;
  color: var(--primary);
}

.love-story .story-satu,
.love-story .story-dua,
.love-story .story-tiga {
  font-family: "Poppins";
  margin-top: 40px;
  padding: 10px 20px;
}
.love-story .story-satu p,
.love-story .story-dua p,
.love-story .story-tiga p {
  font-family: "Poppins";
  font-size: 13px;
}
.love-story .story-satu h4,
.love-story .story-dua h4,
.love-story .story-tiga h4 {
  font-family: "Poppins";
  font-size: 15px;
  font-weight: bold;
}

/* gift */
.gift {
  padding: 60px 0;
  position: relative;
  z-index: 2;
  color: #fff;
}
.gift .image-wrapper {
  width: 100%;
  height: 300px;
  margin-bottom: 20px;
}
.gift .image-wrapper img {
  width: 90%;
  height: 100%;
  object-fit: cover;
}
.gift h3 {
  font-family: var(--swash);
  font-size: 30px;
  font-weight: lighter;
  text-align: center;
  margin: 30px 0;
}

.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;
}

.gift .card .image-wrapper {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 80px;
  height: 30px;
}

.gift a {
  margin-top: 20px;
  background-color: #fff;
  color: #000;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid white;
}

.gift .card .nama {
  margin-top: 70px;
}
/* galery */

.galery {
  padding: 50px 0;
  background-image: linear-gradient(to top, var(--primary), white);
  position: relative;
  z-index: 2;
}

.galery h3 {
  font-family: var(--swash);
  font-size: 30px;
}

/* thumbnail carousel */
.thumb-wrapper {
  overflow-x: auto;
  padding-bottom: 10px;
}

.thumb-track {
  display: flex;
  gap: 10px;
  width: max-content;
}

.thumb-track img {
  width: 90px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.6;
  transition: 0.3s;
}

.thumb-track img:hover {
  opacity: 1;
  transform: scale(1.05);
}

.thumb-track img.active {
  opacity: 1;
  border: 2px solid white;
}

.thumb-track {
  animation: run 20s linear infinite;
}

@keyframes run {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.thumb-wrapper {
  overflow: hidden;
  width: 100%;
}

.galery .carousel-inner {
  border-radius: 20px;
}

/* rsvp */

.rsvp {
  padding: 70px 20px;
  color: #000;
  position: relative;
  z-index: 2;
}

.rsvp > * {
  position: relative;
  z-index: 2;
}

.rsvp::before {
  position: absolute;
  content: "";
  inset: 0;
  background-color: #fff;
  opacity: 0.6;
}

.rsvp .header {
  margin: auto;
  text-align: center;
  margin-bottom: 30px;
}

.rsvp .header h1 {
  font-family: var(--swash);
}

.rsvp p {
  text-align: center;
}

.rsvp button {
  background-color: var(--primary);
  color: #fff;
  font-weight: bold;
  border-radius: 8px;
  margin-top: 10px;
}

.rsvp .form-check input {
  background-color: black;
}

.rsvp .konfirmasi,
.rsvp .collapse .card {
  border-radius: 0;
}

.rsvp .collapse .card-body {
  height: 40vh;
  overflow: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-top: 0;
}
.rsvp .collapse .card-body thead {
  position: sticky;
  top: 0;
}

/* congrat */

.congrat {
  padding: 50px 20px;
  padding-bottom: 80px;
  color: black;
  position: relative;
  z-index: 2;
}

.congrat > * {
  position: relative;
  z-index: 2;
}

.congrat::before {
  position: absolute;
  content: "";
  inset: 0;
  background-color: #fff;
  opacity: 0.6;
}

.congrat .header h2 {
  font-family: var(--swash);
  font-size: 30px;
}
.congrat .header p {
  margin-bottom: 50px;
}

.congrat .kotak-pesan {
  height: 40vh;
  margin-top: 40px;
  background: var(--primary);
  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: #fff;
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
  border-radius: 10px;
  color: #000;
}
.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: var(--primary);
  color: #fff;
  font-weight: bold;
  margin-top: 10px;
}

/* tahnkyou */
.thankyou {
  padding: 80px 0;
  height: 100vh;
  position: relative;
  color: black;
  z-index: 2;
  --gambar: url("image/2.png");
}

.thankyou > * {
  position: relative;
  z-index: 2;
}

.thankyou::after {
  position: absolute;
  content: "";
  inset: 0;
  background-image: var(--gambar);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  transition: all 2s ease-in-out;
  z-index: -2;
}
.thankyou::before {
  position: absolute;
  content: "";
  inset: 0;
  background-color: black;
  opacity: 0.6;
  z-index: -1;
}

.thankyou.fade-out::after {
  opacity: 0.4;
}
.thankyou.fade-in::after {
  opacity: 0.6;
}
.thankyou h3 {
  font-size: 30px;
  font-family: var(--swash);
  margin-bottom: 20px;
  color: white;
}
.thankyou i {
  color: red;
}

.thankyou .nama_pengantin {
  font-size: 30px;
}

.thankyou p {
  color: white;
}

/* footer */
footer {
  padding: 50px 0;
  background-color: var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: white;
  position: relative;
  z-index: 2;
}

footer a {
  color: white;
}

footer .medsos {
  display: flex;
  gap: 30px;
  margin-top: 20px;
  justify-content: center;
  text-align: center;
}

/* audio icon */
.audio-icon {
  position: fixed;
  bottom: 10px;
  right: 20px;
  display: flex;
  place-content: center;
  transform-origin: center;
  font-size: 40px;
  z-index: 12;
  line-height: 0;
  animation: rotating 2s infinite linear;
  cursor: pointer;
}

@media (max-width: 768px) {
  .left-panel {
    display: none;
  }

  .right-panel {
    flex: 1;
  }

  /* landing top */

  .landing-top .content {
    margin-top: -100px;
  }
  .landing-top .pengantin {
    font-size: 40px;
  }

  /* hero */
  .hero .pengantin {
    font-size: 40px;
  }
  /* groom-bride */
  .groom-bride .atas {
    width: 70%;
    height: 350px;
  }

  .groom-bride .text-satu {
    margin-left: 20px;
    text-align: start;
    width: 70%;
  }
  .groom-bride .bawah {
    width: 70%;
    height: 350px;
    margin-left: auto;
  }
  .groom-bride .text-dua {
    margin-left: auto;
    text-align: start;
    width: 70%;
  }

  .groom-bride a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    background-color: black;
    color: #fff;
    text-decoration: none;
    width: 60%;
  }

  /* save date */
  .save-date .countdown .item {
    display: flex;
    justify-content: center;
    align-items: center; /* 🔥 ini kunci vertical center */
    flex-direction: column;
    text-align: center;
    font-size: 12px;
    color: white;
    background-color: var(--primary);
    width: 70px;
    height: 60px;
    font-family: "Poppins";
    margin: 30px;
    padding: 0; /* 🔥 hapus padding biar center pas */
    padding-top: 5px;
    border-radius: 8px;
  }

  .save-date .countdown span {
    font-size: 25px;
    line-height: 1; /* 🔥 biar angka tidak turun */
  }

  /* wedding event */

  .wedding-event .streaming a {
    width: 50%;
    font-size: 13px;
  }
}
