@import url('https://fonts.googleapis.com/css');

body, html {
    height: 100%;
    margin: 0;
    overflow: hidden;
}
.wedding-background {
    background: url('HomePage Desktop.jpg') no-repeat center center/cover;
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
    text-align: center;
}
.wedding-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: lighten; /* Mencerahkan tanpa filter */
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
}
.wedding-content {
    position: absolute;
    z-index: 10;
    max-width: 600px;
    top: 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px; /* Atur jarak antar elemen */
}
.invite-button {
    background-color: #f6a5a5;
    color: white;
    border: none; /* Menghilangkan border */
    padding: 10px 30px;
    font-size: 18px;
    border-radius: 30px;
    transition: all 0.3s ease;
    bottom: 5%;
    font-family: 'Inter';
    font-weight: 400;
    position: absolute;
    cursor: pointer; /* Menambahkan cursor pointer agar jelas bisa diklik */
}

.invite-button:hover {
    background-color: #e57f7f; /* Warna yang lebih gelap untuk hover */
    transform: scale(1.05); /* Sedikit efek scaling */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3); /* Optional: tambahkan sedikit bayangan */
}
.wedding-title-top {
   font-size: 88px;
    font-family: 'Playfair Display';
    font-weight: bold;
    padding-bottom: 0%;
    margin-bottom: 2px;
    line-height: 0.8;
}
.wedding-title-names {
    margin-bottom: 20px;
    font-family: 'Old Standard TT';
    font-style: italic;
    font-size: 45px;
    margin-top: 0px; /* Pastikan tidak ada jarak atas */
   
}
.flower-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}
.flower-top-left, .flower-top-right {
    position: absolute;
    top: 0;
    width: 450px;
    height:450px;
}
.flower-top-left {
    left: 0;
   
}
.flower-top-right {
    right: 0;
    
}
.flower-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.8;
}
.floating-petals {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}
.petal {
    position: absolute;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50 0 Q75 25, 50 50 Q25 75, 50 100 Q75 75, 50 50 Q25 25, 50 0" fill="%23FFB6C1"/></svg>');
    background-size: cover;
    opacity: 0.7;
    animation: fall 10s linear infinite;
}
.tujuan{
    width: 400px;
    height: 200px;
    margin-top: 300px;
    background-color: rgba(255, 253, 236, 0.5);
    border-radius: 20px;
}
.kepada {
    font-size: 25px;
    font-style: italic;
    margin-bottom: 10px;
    font-family: 'Old Standard TT';
    color: #454111;
}
.di-tempat {
    font-style: italic;
    font-size: 25px;
    margin-top: 10px;
    margin-bottom: -10px;
    font-family: 'Old Standard TT';
    color: #454111;
}
.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Old Standard TT';
    color: #454111;
    font-size: 25px;
    font-style: italic;
    margin: 15px;
}
@keyframes fall {
    0% { transform: translateY(-10vh) rotate(0deg); }
    100% { transform: translateY(110vh) rotate(360deg); }
}
/* Animasi Fade + Slide */
@keyframes fadeSlideIn {
    0% {
      opacity: 0;
      transform: translateY(30px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .animate-fade-in {
    animation: fadeSlideIn 1s ease-out forwards;
    opacity: 0;
  }
  /* Delay bertahap */
  .delay-1 {
    animation-delay: 0.3s;
  }
  .delay-2 {
    animation-delay: 0.6s;
  }
  .delay-3 {
    animation-delay: 0.9s;
  }
@media screen and (max-width: 480px) {
    .wedding-background {
      flex-direction: column;
      padding: 20px 10px;
      text-align: center;
      background-position: 35% center;
      overflow-y: auto;
      justify-content: flex-start;
    }
    .wedding-content {
      position: relative;
      top: 0;
      order: 1;
      max-width: 100%;
      padding: 0 10px;
      margin-top: 20px;
      z-index: 10;
    }
    .wedding-title-top {
      font-size: 48px;
      line-height: 0.8;
      font-family: 'Playfair Display', serif;
    }
    .wedding-title-names {
      font-size: 28px;
      margin-bottom: 20px;
      font-family: 'OLD STANDARD TT', serif;
    }
    .tujuan {
      order: 2;
      width: 90%;
      max-width: 400px;
      height: auto;
      margin: 30px auto;
      padding: 10px;
      z-index: 10;
    }
    .kepada,
    .di-tempat {
      font-size: 20px;
      font-family: 'Old Standard TT', serif !important;
    }

    .main-content{
      font-family: 'Old Standard TT', serif !important;
      font-size: 15px !important;
    }

    .invite-button {
      order: 3;
      position: relative;
      bottom: auto;
      margin: 20px auto 40px auto;
      font-size: 16px;
      padding: 10px 24px;
      display: block;
      z-index: 10;
      font-family: 'Playfair Display', serif;
    }
    .flower-top-left,
    .flower-top-right {
      width: 100px;
      height: 100px;
    }
    .floating-petals {
      display: none;
    }
  }