/* Font */
@import url("https://fonts.googleapis.com/css2?family=Sacramento&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* Variable */
:root {
  --color-pink: #ff00dd;
  --color-pink2:rgba(170, 58, 188, 0.5);
  --color-paragraf: #5f6c7b;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-ungu: #8e51ea;
  --color-box-shadow: rgba(0, 0, 0, 0.5);
  --color-button-shadow: rgba(0, 0, 0, 0.5);
  --font-family-cursive: "Sacramento", cursive;
  --font-family-poppins: "Poppins", sans-serif;
}

/* Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-family-poppins);

  /* outline: 1px solid red; */
}
body {
  background-color: var(--color-white);
}
h1 {
  font-family: var(--font-family-cursive);
  font-size: 4rem;
  color: var(--color-pink);
}
p {
  margin: 0;
  color: var(--color-paragraf);
}
a {
  text-decoration: none;
}
button {
  background-image: linear-gradient(137.48deg, #ffdb3b93 10%, #fe53baa7 45%, #8e51eaad 67%, #0044ff87 87%);
  backdrop-filter: blur(1rem);
  transition: background-color 0.5s, box-shadow 0.5s;
  border-radius: 5rem;
  border: 0;
}

button:hover {
  background-color: var(--color-pink);
  box-shadow: 0px 0px 10px var(--color-button-shadow);
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
}

/* Opening */
body.hidden-opening {
  overflow: hidden !important; 
}
body.hidden-opening .fixed-bottom {
  display: none !important;
}

#opening.opening-screen {
  height: 100vh;
  width: 100vw;
  position: fixed;
  inset: 0;
  background: url(image/firman.jpg) no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  text-align: center;
  color: white;
  background-color: rgba(0, 0, 0, 0.568);
  background-blend-mode: multiply;
}

#opening img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin-bottom: 1rem;
}

#opening p {
  color: var(--color-white);
  margin-bottom: 5px;
}

#opening h2{
  font-family: var(--font-family-cursive);
  font-size: 2.5rem;
}
#opening #namaTamu{
  font-family: var(--font-family-poppins);
}

#opening .opening-content button {
  background-color: #5a67d8;
  color: white;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.opening-content button:hover {
  background-color: #434190;
}

/* End Opening */

/* Navbar */
.navbar {
  background-color: var(--color-white);
  box-shadow: 0 2px 4px var(--color-box-shadow);
}
.navbar-items {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  display: flex;
  flex-direction: row;
}
.navbar-item {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 0 20px;
  color: var(--color-black);
}
.navbar-item img {
  width: 30px;
  height: 30px;
}
/* end Navbar */

/* Home */
#home {
  height: 100vh;
  background-image: url(image/firman.jpg);
  background-color: rgba(61, 58, 58, 0.5);
  background-blend-mode: multiply;
  background-size: cover;
  background-position: center;
  color: var(--color-white);
}
#home p {
  color: var(--color-white);
}

.btn-home {
  width: 10rem;
  height: 3rem;
  background-image: linear-gradient(135deg, #ff00dd 0%, #3b82f6 100%);
}

.countdown-container {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.countdown-card {
  height: 82px;
  width: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--color-white);
  border-radius: 1rem;
  box-shadow: 0 5px 15px var(--color-box-shadow);
  min-width: 80px;
}

.countdown-card div {
  font-size: 1.7rem;
  font-weight: bold;
  color: var(--color-pink);
}

.countdown-card span {
  font-size: 0.9rem;
  color: #666;
}

@media (max-width: 992px) {
  .countdown-container {
    flex-wrap: nowrap;
  }
  .countdown-card {
    height: 82px;
    width: 40px;
    display: flex;
  }
  #home h1 {
    font-size: 3rem;
  }
}
/* end home */

/* mempelai */
#mempelai {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
#mempelai img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin: 20px;
}
#mempelai .gambar-mempelai {
  display: grid;
  grid-template-columns: 48% auto 48%;
}
#mempelai .gambar-pria {
  display: flex;
  align-items: center;
  text-align: right;
}
#mempelai .gambar-wanita {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
}
#mempelai .ico-hearts {
  display: flex;
  align-items: center;
  justify-content: center;
}
#mempelai .ico-hearts i {
  font-size: 50px;
  color: var(--color-pink);
}

@media (max-width: 768px) {
  #mempelai .gambar-mempelai {
    grid-template-columns: 100%;
  }
  #mempelai .gambar-pria {
    flex-direction: column;
    text-align: center;
  }
  #mempelai .gambar-wanita {
    flex-direction: column-reverse;
    text-align: center;
  }
}
/* end mempelai */

/* Undangan */
#undangan {
  background-image: url(image/firman.jpg);
  background-position: center;
  background-size: cover;
  background-color: rgba(30, 28, 28, 0.5);
  background-blend-mode: multiply;
  padding-top: 50px;
  padding-bottom: 50px;
}
#undangan p {
  color: var(--color-white);
}
#undangan .card {
  background: rgba(255, 255, 255, 0.15); /* Warna semi-transparan */
  backdrop-filter: blur(10px); /* Efek blur kaca */
  -webkit-backdrop-filter: blur(10px); /* Support untuk Safari */
  border: 1px solid rgba(255, 255, 255, 0.3); /* Border transparan */
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25); /* Bayangan halus */
}
#undangan .card-header {
  background-color: rgba(47, 50, 50, 0.5);
  color: var(--color-white);
  font-size: 1.2rem;
  text-align: center;
}
#undangan .card-body {
  display: flex;
  text-align: center;
}
#undangan .card-body .flex-item {
  flex: 1 1 0;
}
#undangan .card-body .flex-item i {
  font-size: 2rem;
}
#undangan i {
  color: var(--color-white);
  margin-right: 10px;
}
#undangan .card-body-pengundang {
  display: block;
  text-align: left;
}
#undangan .pengundang-title {
  color: var(--color-white);
  font-weight: 600;
  margin-bottom: 1rem;
}
#undangan .pengundang-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
#undangan .pengundang-list li {
  position: relative;
  padding-left: 1rem;
}
#undangan .pengundang-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff009d;
}
#undangan .pengundang-name {
  color: var(--color-white);
  margin-bottom: 0.15rem;
  font-weight: 600;
}
#undangan .pengundang-role {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}
@media (max-width: 768px) {
  #undangan .card-body {
    display: block;
    text-align: start;
  }
  #undangan .card-body .flex-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
  }
  #undangan .card-body .flex-item i {
    font-size: 1.5rem;
    margin-right: 20px;
  }
  #undangan .card-body-pengundang {
    text-align: left;
  }
  #undangan .pengundang-role {
    font-size: 0.78rem;
  }
}
/* end undangan */

/* Cerita */
#cerita {
  padding-top: 50px;
  padding-bottom: 50px;
}
#cerita .timeline {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}
#cerita .timeline::after {
  content: "";
  position: absolute;
  width: 6px;
  background-color: #3bd9d9;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
  border-radius: 50%;
}
#cerita .container1 {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}
#cerita .container1::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  right: -17px;
  background-color: #ffffff;
  border: 4px solid #3bd9d9;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}
#cerita .left1 {
  left: 0;
}
#cerita .right1 {
  left: 50%;
}
#cerita .left1::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid #bae8e8;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent #bae8e8;
}
#cerita .right1::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid #bae8e8;
  border-width: 10px 10px 10px 0;
  border-color: transparent #bae8e8 transparent transparent;
}
#cerita .right1::after {
  left: -16px;
}
#cerita .content {
  padding: 20px 30px;
  background-color: #bae8e8;
  position: relative;
  border-radius: 8px;
}
@media screen and (max-width: 600px) {
  #cerita .timeline::after {
    left: 31px;
  }
  #cerita .container1 {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  #cerita .container1::before {
    left: 60px;
    border: medium solid #bae8e8;
    border-width: 10px 10px 10px 0;
    border-color: transparent #bae8e8 transparent transparent;
  }
  #cerita .left1::after,
  #cerita .right1::after {
    left: 15px;
  }
  #cerita .right1 {
    left: 0%;
  }
}
/* end Cerita */

/* Photo */
#photo {
  padding-bottom: 50px;
  background-color: var(--color-white);
}

#photo .gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  grid-auto-rows: minmax(300px, auto);
  gap: 10px;
}
#photo .gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
  cursor: pointer;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.5);
}
#photo .gallery img:hover {
  transform: scale(1.03);
}
/* end Photo */

/* gift */
#gift {
  padding-top: 50px;
  padding-bottom: 50px;
}

#gift .card-bank {
  position: relative;
  background-image: url("image/bank/bg.png");
  background-size: cover;
  background-position: center;
  padding: 25px;
  border-radius: 28px;
  max-width: 380px;
  width: 100%;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  color: white;
}

#gift .card-bank h5 {
  font-size: 1rem;
  font-weight: 400;
}

#gift .card-bank .header-bank {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#gift .card-bank .header-bank .chip {
  width: 50px;
}

#gift .card-bank .header-bank .logo img {
  width: 60px;
}

#gift .card-bank .card-details {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
#gift .card-bank .card-details h6 {
  font-size: 0.6rem;
  font-weight: 400;
}
#gift .card-bank .card-details h5.number {
  font-size: 1.2rem;
  letter-spacing: 1px;
}
#gift .card-bank .card-details h5.name {
  margin-top: 5px;
}
#gift .card-bank .card-details .copy-norek button {
  padding: 4px 9px;
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
  /* font-weight: 400; */
  font-size: 0.9rem;
  color: #000;
  border: 1px solid #fff;
}
/* end gift */

/* Ucapan */
#ucapan {
  padding-top: 50px;
  padding-bottom: 50px;
}

#ucapan .form-container {
  border: 2px solid transparent;
  padding: 32px 24px;
  font-size: 14px;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
  border-radius: 16px;
  box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.5);
}

#ucapan .form-container button:active {
  scale: 0.95;
}

#ucapan .form-container .form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#ucapan .form-container .form-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#ucapan .form-container .form-group label {
  display: block;
  margin-bottom: 5px;
  color: #717171;
  font-weight: 600;
  font-size: 12px;
}

#ucapan .form-container .form-group input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  color: #717171;
  font-family: inherit;
  background-color: transparent;
  border: 1px solid var(--color-pink);
}

#ucapan .form-container .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  resize: none;
  color: #717171;
  height: 96px;
  border: 1px solid var(--color-pink);
  background-color: transparent;
  font-family: inherit;
}

#ucapan .form-container .form-group input::placeholder {
  opacity: 0.5;
}

#ucapan .form-container .form-group input:focus {
  outline: none;
  border-color: var(--color-pink);
  border: 1.5px solid var(--color-pink);
}

#ucapan .form-container .form-group textarea:focus {
  outline: none;
  border-color: var(--color-pink);
  border: 1.5px solid var(--color-pink);
}

#ucapan .form-container .form-submit-btn {
  width: 100%;
  height: 3rem;
  border-radius: 5rem;
  background-image: linear-gradient(137.48deg, #ffdb3b93 10%, #fe53baa7 45%, #8e51eaad 67%, #0044ff87 87%);
  backdrop-filter: blur(1rem);
  border: 0;
  transition: background-color 0.5s, box-shadow 0.5s;
  color: white;
}

#ucapan .form-container .form-submit-btn:hover {
  background-color: #fe53ba;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.5);
  color: white;
  font-weight: 600;
}

#ucapan .form-control:focus {
  box-shadow: none;
  border-color: #ced4da; /* Kembali ke warna border default */
  outline: none;
}

#ucapan .card .card-header {
  background-color: var(--color-pink2);
  color: var(--color-white);
  font-size: 1.2rem;
  text-align: center;
}
#ucapan .card-body p{
  text-align: justify;
}
#ucapan .card-body{
  max-height: 300px;
  overflow-y: auto;
}
/* end Ucapan */

/* maps */
#gmaps {
  padding-top: 50px;
  padding-bottom: 50px;
}

#gmaps button {
  width: 100%;
  height: 3rem;
  border-radius: 5rem;
  border: 0;
  background-image: linear-gradient(137.48deg, #ffdb3b93 10%, #fe53baa7 45%, #8e51eaad 67%, #0044ff87 87%);
  backdrop-filter: blur(1rem);
  transition: background-color 0.5s, box-shadow 0.5s;
  color: white;
  margin: 20px 0;
}

#gmaps button:hover {
  background-color: #fe53ba;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.5);
  color: white;
  font-weight: 600;
}
#gmaps iframe {
  width: 100%;
  height: 400px;
  border-radius: 20px;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.5);
}
/* end maps */

/* Footer */

footer {
  padding-top: 50px;
  padding-bottom: 80px;
  color: #ffffff;
  background-color: #232946;
}

footer ul a {
  text-decoration: none;
  opacity: 0.8;
}

footer ul a:hover {
  opacity: 1;
}

footer .social > a {
  font-size: 24px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  display: inline-block;
  text-align: center;
  border-radius: 50%;
  border: 1px solid #ccc;
  margin: 0 8px;
  color: inherit;
  opacity: 0.75;
}

footer .social > a:hover {
  opacity: 0.9;
}

footer .copyright {
  margin-top: 15px;
  text-align: center;
  font-size: 13px;
  color: #aaa;
  margin-bottom: 0;
}
/* end footer */

#awhome {
  background-size: cover;
  background-position: center;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  background-blend-mode: multiply;
  color: white;
  position: fixed;
  width: 100vw;
  z-index: 2999;
}

#awhome .content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
}
