
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
  font-family: 'Segoe UI', sans-serif;
}

.hidden {
  display: none;
}

.pembuka-awalan {
  position: relative;
  width: 100%;
  height: 100vh;
  background: url('../../images/lung/mockupbg.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.pembuka-awalan::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(22, 22, 22, 0.5);
  z-index: 2;
}

.pembuka-awalan .content {
  position: relative;
  z-index: 3;
  color: #fff;
  padding: 0 20px;
}

.pembuka-awalan .subtitle {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-family: 'CG';
}

.pembuka-awalan .couple-names {
  font-family: 'ML';
  font-size: 5rem;
  margin: 1.5rem 0;
}

.pembuka-awalan .invitation {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-family: 'Poppins';
}

.recipient-name {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-family: 'Poppins';
  font-weight: bold;
}

.pembuka-awalan .invited {
  font-size: 0.9rem;
  margin-bottom: 3.5rem;
  font-family: 'Poppins';
  color: #ece815;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 300;
}

.pembuka-awalan .open-btn {
  background: transparent;
  color: #fff;
  padding: 14px 48px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  text-decoration: none;
  font-weight: 400;
  font-family: 'Poppins';
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  backdrop-filter: blur(5px);
  display: inline-block;
}

.pembuka-awalan .open-btn:hover {
  background: #fff;
  color: #161616;
  border-color: #fff;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .pembuka-awalan .couple-names {
    font-size: 2.2rem;
  }

  .pembuka-awalan .invitation {
    font-size: 0.95rem;
  }

  .pembuka-awalan .invited {
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 2.5rem;
  }

  .pembuka-awalan .open-btn {
    padding: 12px 36px;
    font-size: 0.75rem;
  }
}


#vinylControl {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 60px;
  height: 60px;
  cursor: pointer;
  z-index: 1000;
  transition: transform 0.3s ease-in-out;
}

/* Animasi vinyl muter */
#vinylControl.playing {
  animation: spin 4s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsif Mobile */
@media (max-width: 768px) {
  #vinylControl {
    width: 50px;
    height: 50px;
    bottom: 15px;
    left: 15px;
  }
}

/*CLOSINGAN VINLY*/

.section-tanggal {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: url('../../images/lung/mockupbgtime.jpg') no-repeat center center;
  background-size: cover;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.overlay-tanggal {
  background: radial-gradient(circle, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.6) 100%);
  width: 100%;
  height: 100%;
  padding: 60px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tanggal-container {
  max-width: 900px;
  width: 100%;
}

.wedding-title {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 6px;
  margin-bottom: 1rem;
  font-family: 'Poppins';
  color: #ece815;
}

.wedding-names {
  font-family: 'ML';
  font-size: 5rem;
  margin-bottom: 3rem;
  font-weight: 400;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 3rem;
}

.time-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
}

.time-box div {
  font-size: 3rem;
  font-weight: 300;
  font-family: 'Poppins';
  line-height: 1;
}

.time-box span {
  font-size: 0.7rem;
  letter-spacing: 2px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.7);
}

.time-separator {
  font-size: 2rem;
  font-family: 'Poppins';
  margin-top: -20px;
  color: #fdfdfd;
}

.wedding-date-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 2rem;
}

.wedding-date-wrapper .line {
  flex: 0 1 50px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}

.wedding-date {
  font-size: 1.5rem;
  letter-spacing: 4px;
  font-family: 'Poppins';
  font-weight: 300;
}

@media (max-width: 768px) {
  .wedding-names {
    font-size: 3rem;
  }

  .countdown {
    gap: 10px;
  }

  .time-box {
    min-width: 60px;
  }

  .time-box div {
    font-size: 2rem;
  }

  .time-separator {
    font-size: 1.5rem;
  }

  .wedding-date {
    font-size: 1.1rem;
    letter-spacing: 2px;
  }
}
.ayat {
  background-color: #011e3b;
  color: #ffffff;
  text-align: center;
  padding: 100px 24px;
  position: relative;
}

.ayat .isi-ayat {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 15px auto;
  line-height: 1.8;
  font-family: 'Poppins';
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

.ayat .judul-ayat {
  font-size: 0.85rem;
  margin: 0 auto 60px auto;
  font-family: 'Poppins';
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: #ece815;
}

.divider-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
}

.diamond-line {
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(236, 232, 21, 0.5), transparent);
  position: relative;
}

.diamond-line::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 6px;
  height: 6px;
  background-color: #ece815;
}

.ayat .judul-beloved .judul-kecil {
  font-size: 0.9rem;
  color: #ffffff;
  margin-bottom: 15px;
  font-family: 'Poppins';
  text-transform: uppercase;
  letter-spacing: 5px;
  opacity: 0.7;
}

.ayat .judul-beloved .judul-besar {
  font-size: 4.5rem;
  font-family: 'ML';
  color: #ffffff;
  margin: 0;
  font-weight: 400;
}

@media (max-width: 768px) {
  .ayat {
    padding: 80px 20px;
  }

  .ayat .isi-ayat {
    font-size: 1rem;
  }

  .ayat .judul-beloved .judul-besar {
    font-size: 3rem;
  }
  
  .diamond-line {
    width: 80px;
  }
}

/* PROFILE GROOM N BRIDES */
#groom-bride-profile {
  background-color: #011e3b;
  padding: 100px 20px;
  overflow: hidden;
}

.profile-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
  justify-content: center;
}

.profile-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px;
  transition: all 0.5s ease;
}

.profile-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #ece815;
}

.photo-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  margin-bottom: 30px;
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(40%);
  transition: filter 0.5s ease;
}

.profile-card:hover .profile-img {
  filter: grayscale(0%);
}

.name-badge {
  position: absolute;
  top: 20px;
  right: -10px;
  background-color: #ece815;
  color: #011e3b;
  padding: 8px 20px;
  font-family: 'Poppins';
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.info-content {
  text-align: left;
  color: white;
}

.name-display {
  font-family: 'ML';
  font-size: 3.5rem;
  margin: 0;
  color: #ece815;
}

.name-legal {
  font-family: 'Poppins';
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 1px;
  margin-top: 5px;
  opacity: 0.9;
}

.line-divider {
  width: 40px;
  height: 2px;
  background-color: #ece815;
  margin: 20px 0;
}

.parentage {
  font-family: 'Poppins';
  font-size: 0.9rem;
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 30px;
}

.parentage strong {
  font-weight: 500;
  display: block;
  margin-top: 5px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
  font-family: 'Poppins';
  font-size: 0.85rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.social-btn:hover {
  color: #ece815;
  border-color: #ece815;
}

@media (max-width: 992px) {
  .profile-wrapper {
    flex-direction: column;
    gap: 80px;
  }
  
  .profile-card {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  #groom-bride-profile {
    padding: 60px 15px;
  }
  
  .profile-card {
    padding: 25px;
  }
  
  .name-display {
    font-size: 2.8rem;
  }
  
  .name-badge {
    right: 10px;
  }
}


.wedding-card-section {
  background-color: #011e3b;
  padding: 100px 20px;
  display: flex;
  justify-content: center;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1200px;
  width: 100%;
}

.card-container {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  transition: all 0.4s ease;
}

.card-container:hover {
  border-color: #ece815;
  transform: translateY(-10px);
}

.image-header {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.image-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
  transition: 0.6s ease;
}

.card-container:hover .image-header img {
  filter: brightness(0.9) scale(1.05);
}

.card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  background: #ece815;
  color: #011e3b;
  padding: 10px 25px;
  font-family: 'Poppins';
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.matrimony-content {
  padding: 50px 40px;
  text-align: left;
}

.event-title-wrapper {
  margin-bottom: 40px;
}

.judul-HM {
  font-family: 'ML';
  font-size: 2.5rem;
  color: #ece815;
  margin: 0 0 10px 0;
}

.title-line {
  width: 50px;
  height: 2px;
  background: #ece815;
}

.matrimony-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.info-item .label {
  display: block;
  font-family: 'Poppins';
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ece815;
  margin-bottom: 5px;
  opacity: 0.8;
}

.info-item p {
  font-family: 'Poppins';
  font-size: 1rem;
  color: #fff;
  margin: 0;
  line-height: 1.6;
}

.location-name {
  font-weight: 600;
}

.address {
  font-weight: 300;
  opacity: 0.7;
}

.map-button {
  display: inline-block;
  margin-top: 50px;
  padding: 14px 40px;
  border: 1px solid #ece815;
  color: #ece815;
  text-decoration: none;
  font-family: 'Poppins';
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
}

.map-button:hover {
  background: #ece815;
  color: #011e3b;
}

@media (max-width: 992px) {
  .card-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
  }
}

@media (max-width: 480px) {
  .wedding-card-section {
    padding: 60px 15px;
  }
  
  .matrimony-content {
    padding: 40px 25px;
  }
  
  .judul-HM {
    font-size: 2rem;
  }
  
  .image-header {
    height: 300px;
  }
}

/* --- THEME COLORS: Navy #011e3b | Gold #ece815 --- */

/* FOTO SECTION */
.foto {
  padding: 100px 20px;
  background-color: #011e3b;
  text-align: center;
}

.foto-header {
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.small-title {
  font-family: 'Poppins';
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: #fff;
  opacity: 0.7;
  display: block;
}

.foto-title .moments {
  font-family: 'ML';
  font-size: 3.5rem;
  color: #ece815;
  margin-top: 10px;
  display: block;
}

.title-line {
  width: 60px;
  height: 2px;
  background: #ece815;
  margin-top: 20px;
}

.foto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.foto-wrapper {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.foto-item {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  filter: grayscale(30%);
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.foto-item:hover {
  transform: scale(1.1);
  filter: grayscale(0%);
}

/* HADIAH SECTION */
.hadiah {
  background-color: #011e3b;
  text-align: center;
  padding: 100px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.hadiah-title {
  font-family: 'ML';
  font-size: 3.5rem;
  color: #ece815;
}

.hadiah-desc {
  max-width: 600px;
  margin: 0 auto 60px;
  font-family: 'Poppins';
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
}

.hadiah-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.hadiah-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(236, 232, 21, 0.2);
  padding: 50px 30px;
  transition: all 0.4s ease;
}

.hadiah-card:hover {
  border-color: #ece815;
  background: rgba(255, 255, 255, 0.05);
}

.bank-logo {
  font-family: 'Poppins';
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.hadiah-card h3 {
  font-family: 'Poppins';
  font-size: 1rem;
  font-weight: 400;
  color: #ece815;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.line-accent {
  width: 30px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  margin: 15px auto;
}

.nama-rek {
  font-family: 'Poppins';
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 5px;
}

.rekening {
  font-family: 'Poppins';
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 30px;
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.copy-btn, .whatsapp-btn {
  width: 100%;
  padding: 12px;
  font-family: 'Poppins';
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.copy-btn {
  background: #ece815;
  color: #011e3b;
  border: none;
}

.whatsapp-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.whatsapp-btn:hover {
  border-color: #ece815;
  color: #ece815;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .foto-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hadiah-container {
    grid-template-columns: 1fr;
  }
  
  .foto-title .moments, .hadiah-title {
    font-size: 2.5rem;
  }
}

/* Lightbox Base Styles (Keep your existing JS logic) */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(1, 30, 59, 0.98);
  justify-content: center;
  align-items: center;
}


.penutup {
  background: url('../../images/lung/mockupbgclose.jpg') center center / cover no-repeat;
  padding: 5rem 1rem;
  color: white;
  text-align: center;
  position: relative;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

.penutup-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.thanks-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-family: 'Poppins';
}

.thanks-names {
  font-size: 2.5rem;
  margin: 0;
  font-family: 'Times New Roman', Times, serif;
}

.thanks-names span {
  margin: 0 0.3rem;
}

.family-label {
  font-weight: bold;
  margin: 2rem 0 0.5rem;
  font-size: 1rem;
  font-family: 'Poppins';
}

.family-name {
  line-height: 1.6;
  font-size: 0.95rem;
  font-family: 'Poppins';
}

/* FOOTER */
#site-footer {
  background-color: white;
  padding: 10px 0;
  text-align: center;
  border-top: 1px solid #eee;
  
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #555;
  font-family: 'Poppins';
}

.footer-content img {
  height: 24px;
  width: auto;
}

.form-wrapper {
  background-color: #011e3b;
  padding: 100px 20px;
}

.form-grid-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: start;
}

.rsvp-section, 
.wish-section {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(236, 232, 21, 0.2);
  padding: 60px 40px;
  text-align: left;
  position: relative;
}

.form-header {
  margin-bottom: 30px;
}

.form-title {
  font-family: 'ML';
  font-size: 3rem;
  color: #ece815;
  margin: 0 0 10px 0;
}

.form-divider {
  width: 40px;
  height: 2px;
  background: #ece815;
}

.form-subtitle {
  font-family: 'Poppins';
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 40px;
}

.input-group {
  margin-bottom: 20px;
}

.custom-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 15px 0;
  color: #fff;
  font-family: 'Poppins';
  font-size: 1rem;
  transition: all 0.3s ease;
  border-radius: 0;
}

.custom-input:focus {
  outline: none;
  border-bottom-color: #ece815;
}

.custom-select {
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.custom-select option {
  background: #011e3b;
  color: #fff;
}

.custom-textarea {
  min-height: 100px;
  resize: none;
}

.form-submit-btn {
  width: 100%;
  padding: 16px;
  background: transparent;
  border: 1px solid #ece815;
  color: #ece815;
  font-family: 'Poppins';
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.form-submit-btn:hover {
  background: #ece815;
  color: #011e3b;
}

/* WISH LIST STYLING */
.wish-list-container {
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
}

.wish-list {
  max-height: 350px;
  overflow-y: auto;
  padding-right: 15px;
}

.wish-list::-webkit-scrollbar {
  width: 3px;
}

.wish-list::-webkit-scrollbar-thumb {
  background: #ece815;
}

.wish-item {
  background: rgba(255, 255, 255, 0.03);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 4px;
}

.wish-item strong {
  display: block;
  font-family: 'Poppins';
  color: #ece815;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.wish-item p {
  font-family: 'Poppins';
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin: 0;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .form-grid-container {
    grid-template-columns: 1fr;
    max-width: 600px;
  }
}

@media (max-width: 480px) {
  .form-wrapper {
    padding: 60px 15px;
  }
  
  .rsvp-section, 
  .wish-section {
    padding: 40px 25px;
  }
  
  .form-title {
    font-size: 2.5rem;
  }
}

/* ===============================
   ANIMATION : SECTION TANGGAL
   =============================== */

/* keadaan awal (sembunyi) */
.section-tanggal .anim-item {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.9s ease;
}

/* saat aktif */
.section-tanggal.show .anim-item {
  opacity: 1;
  transform: translateY(0);
}

/* delay bertahap */
.section-tanggal.show .anim-1 { transition-delay: 0.2s; }
.section-tanggal.show .anim-2 { transition-delay: 0.4s; }
.section-tanggal.show .anim-3 { transition-delay: 0.6s; }
.section-tanggal.show .anim-4 { transition-delay: 0.8s; }

/* ===============================
   ANIMATION : AYAT CINEMATIC
   =============================== */

.ayat .anim-ayat {
  transform: translateY(20px) scale(0.98);
  filter: blur(6px);
  transition:
    transform 1.1s cubic-bezier(.19,1,.22,1),
    filter 1.1s ease;
  will-change: transform, filter;
}

/* state aktif */
.ayat.show .anim-ayat {
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* delay lembut */
.ayat.show .anim-1 { transition-delay: 0.15s; }
.ayat.show .anim-2 { transition-delay: 0.45s; }


/* ===============================
   ANIMATION : GROOM & BRIDE
   =============================== */

/* FOTO */
.groom-photo,
.bride-photo {
  transform: scale(1.05);
  transition: transform 1.4s cubic-bezier(.19,1,.22,1);
  will-change: transform;
}

/* TEXT OVERLAY */
.groom-text-overlay > *,
.bride-text-overlay > * {
  transform: translateY(24px);
  transition: transform 1.1s cubic-bezier(.19,1,.22,1);
  will-change: transform;
}

/* VERTICAL TEXT */
.vertical-text {
  transform: translateY(40px);
  transition: transform 1.2s cubic-bezier(.19,1,.22,1);
  will-change: transform;
}

/* ===============================
   ACTIVE STATE
   =============================== */

#groom.show .groom-photo,
#bride.show .bride-photo {
  transform: scale(1);
}

#groom.show .groom-text-overlay > *,
#bride.show .bride-text-overlay > * {
  transform: translateY(0);
}

#groom.show .vertical-text,
#bride.show .vertical-text {
  transform: translateY(0);
}

/* ===============================
   STAGGER DELAY (HALUS & RAPI)
   =============================== */

.groom-text-overlay h3,
.bride-text-overlay h3 { transition-delay: 0.2s; }

.groom-text-overlay h4,
.bride-text-overlay h4 { transition-delay: 0.35s; }

.groom-text-overlay .desc,
.bride-text-overlay .desc { transition-delay: 0.5s; }

.groom-text-overlay .ig-link,
.bride-text-overlay .ig-link { transition-delay: 0.65s; }

.vertical-text { transition-delay: 0.15s; }


/* ===============================
   ANIMATION : WHERE & WHEN CARD
   =============================== */

/* state awal */
.anim-card {
  transform: translateY(50px) scale(0.97);
  filter: blur(8px);
  transition:
    transform 1.2s cubic-bezier(.19,1,.22,1),
    filter 1.2s ease;
  will-change: transform, filter;
}

/* aktif saat masuk viewport */
.anim-card.show {
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* sedikit stagger biar cinematic */
.anim-card:nth-child(1) { transition-delay: 0.15s; }
.anim-card:nth-child(2) { transition-delay: 0.35s; }

/* ===== REVEAL BASE ===== */
.reveal-title,
.reveal-item {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

/* aktif */
.reveal-title.show,
.reveal-item.show {
  opacity: 1;
  transform: translateY(0);
}

/* sedikit beda feel */
.reveal-title {
  transition-delay: 0.1s;
}

.reveal-item {
  transition: all 0.6s ease;
}

/* ===== HADIAH REVEAL BASE ===== */
.reveal-title,
.reveal-desc,
.reveal-card {
  opacity: 0;
  transform: translateY(24px);
}

/* judul */
.reveal-title {
  transition: all 0.9s ease;
}

/* deskripsi */
.reveal-desc {
  transition: all 0.9s ease;
  transition-delay: 0.15s;
}

/* card */
.reveal-card {
  transform: translateY(30px) scale(0.97);
  transition: all 0.8s ease;
}

/* aktif */
.reveal-title.show,
.reveal-desc.show,
.reveal-card.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* hover tetap soft */
.hadiah-card:hover {
  transform: translateY(-6px);
  transition: transform 0.4s ease;
}

/* ===== PENUTUP REVEAL ===== */
.reveal-penutup .reveal-item {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s ease;
}

/* aktif */
.reveal-penutup .reveal-item.show {
  opacity: 1;
  transform: translateY(0);
}

/* nama pengantin sedikit lebih “hidup” */
.thanks-names {
  letter-spacing: 0.08em;
  transition: all 1.1s ease;
}

/* spacing supaya lega */
.penutup-inner {
  text-align: center;
  padding: 100px 20px;
}


/* ===== FORM REVEAL ===== */
.reveal-form .reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.9s ease;
}

.reveal-form .reveal-item.show {
  opacity: 1;
  transform: translateY(0);
}

/* ================= PRELOADER ================= */
#preloader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader-content {
  width: 200px; /* Lebar area loading */
  text-align: center;
}

/* Logo Favicon */
.loader-logo {
  width: 40px;
  height: auto;
  margin-bottom: 20px;
  animation: fadeIn 0.8s ease;
}

/* Progress Bar Container */
.progress-container {
  width: 100%;
  height: 2px; /* Tipis biar elegan */
  background: #f0f0f0;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
}

/* Progress Bar Inner */
.progress-bar {
  width: 0%; /* Start dari 0 */
  height: 100%;
  background: #1a1a1a; /* Warna bar gelap premium */
  transition: width 0.4s ease; /* Transisi pas nambah % */
}

.loading-text {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #888888;
}

#preloader.hide {
  opacity: 0;
  visibility: hidden;
}


.dresscode-section {
  background-color: #011e3b;
  padding: 120px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dresscode-container {
  max-width: 800px;
  width: 100%;
  text-align: center;
  border: 1px solid rgba(236, 232, 21, 0.2);
  padding: 80px 40px;
  background: rgba(255, 255, 255, 0.02);
}

.dress-header {
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dresscode-title {
  font-family: 'ML';
  font-size: 3.5rem;
  color: #ece815;
  margin-bottom: 15px;
}

.accent-line {
  width: 60px;
  height: 2px;
  background: #ece815;
}

.dresscode-desc {
  font-family: 'Poppins';
  font-weight: 300;
  color: #fff;
  max-width: 500px;
  margin: 0 auto 50px auto;
  line-height: 1.8;
  opacity: 0.8;
}

.palette-wrapper {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 60px;
}

.palette-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.color-swatch {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.palette-item span {
  font-family: 'Poppins';
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  opacity: 0.6;
}

.palette-item:hover .color-swatch {
  transform: scale(1.1);
  border-color: #ece815;
}

.attire-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 50px;
}

.attire-card {
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
}

.attire-icon {
  width: 50px;
  height: 50px;
  background: rgba(236, 232, 21, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ece815;
  font-size: 1.2rem;
}

.attire-text h5 {
  font-family: 'Poppins';
  font-size: 1rem;
  font-weight: 600;
  color: #ece815;
  margin: 0 0 5px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.attire-text p {
  font-family: 'Poppins';
  font-size: 0.9rem;
  color: #fff;
  margin: 0;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .dresscode-container {
    padding: 60px 20px;
  }
  
  .palette-wrapper {
    gap: 15px;
    flex-wrap: wrap;
  }

  .attire-grid {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 10%;
  }

  .dresscode-title {
    font-size: 2.5rem;
  }
}

/* ==========================================
   SECTION PEMBUKA CUSTOM (DISCLAIMER STYLE)
   ========================================== */
.pembuka-custom {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 10;
}

.disclaimer-overlay {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: #011e3b;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.custom-disclaimer-box {
  max-width: 550px;
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 50px 35px;
  text-align: center;
  position: relative;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: all 0.5s ease;
}

.custom-disclaimer-box:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #ece815;
}

/* Badge bergaya tag emas */
.disclaimer-badge {
  display: inline-block;
  background-color: #ece815;
  color: #011e3b;
  padding: 6px 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 25px;
}

/* Judul Menggunakan Font Display 'ML' atau 'CG' */
.disclaimer-title {
  font-family: 'ML', sans-serif;
  font-size: 3.5rem;
  color: #ffffff;
  margin: 0 0 15px 0;
  font-weight: 400;
  line-height: 1.1;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

/* Garis Pembagi Diamond */
.disclaimer-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.disclaimer-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: #ffffff;
  font-weight: 300;
  margin: 0 0 40px 0;
  opacity: 0.9;
}

/* Indikator Scroll Visual (Non-Clickable) */
.scroll-down-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  user-select: none;
}

.scroll-text {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #ece815;
  font-weight: 300;
  opacity: 0.95;
}

.scroll-arrow {
  font-size: 1.4rem;
  color: #ece815;
  animation: bounceArrow 2s infinite ease-in-out;
}

/* Animasi Bouncing Panah */
@keyframes bounceArrow {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

/* Responsif Mobile */
@media (max-width: 768px) {
  .custom-disclaimer-box {
    padding: 35px 20px;
  }

  .disclaimer-title {
    font-size: 2.5rem;
  }

  .disclaimer-text {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 30px;
  }

  .scroll-text {
    font-size: 0.7rem;
    letter-spacing: 2px;
  }
}