/** {*/
/*  margin: 0;*/
/*  padding: 0;*/
/*  box-sizing: border-box;*/
/*  font-family: 'Segoe UI', sans-serif;*/
/*}*/

/*body {*/
/*  color: #333;*/
/*}*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #555;
  background: #ffffff;
}

h1, h2, h3, .section-title {
  font-family: 'Playfair Display', serif;
  letter-spacing: 1px;
  /*color: #e96a8d;*/
}

.script {
  font-family: 'Great Vibes', cursive;
  font-size: 48px;
  /*color: #e96a8d;*/
}


.couple-name {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 600;
  color: #ffffff;
}

.couple-name span {
  font-size: 36px;
  /*color: #f4a6b8;*/
}

/* Mobile */
/*@media (max-width: 768px) {*/
/*  .couple-name {*/
/*    font-size: 36px;*/
/*  }*/
/*}*/

/* ===== HADIAH PERNIKAHAN ===== */
.gift-desc {
  max-width: 500px;
  margin: 0 auto 30px;
  color: #777;
}

.gift-wrapper {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.gift-card {
  background: #ffffff;
  width: 280px;
  padding: 25px;
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(244,166,184,0.25);
  text-align: center;
  transition: transform 0.3s ease;
}

.gift-card:hover {
  transform: translateY(-6px);
}

.gift-card img {
  height: 40px;
  margin-bottom: 15px;
}

.gift-card h3 {
  font-family: 'Playfair Display', serif;
  color: #e96a8d;
  margin-bottom: 8px;
}

.rekening {
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 15px;
  color: #333;
}

/* Mobile */
@media (max-width: 768px) {
  .gift-card {
    width: 100%;
    max-width: 320px;
  }
}


/* Default */
.gift-wrapper {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}



@media (max-width: 768px) {
  .couple-name {
    flex-direction: column; /* KUNCI */
    gap: 6px;
  }

  .couple-name .groom,
  .couple-name .bride {
    font-size: 30px;
  }

  .ampersand {
    font-size: 38px;
    margin: 4px 0;
  }
  
  .couple-name::before,
  .couple-name::after {
    content: "";
    width: 50px;
    height: 1px;
    background: rgba(255,255,255,0.6);
  }
}


/*#cover {*/
/*  height: 100vh;*/
/*  background: url('../img/cover.JPG') center 25% / cover no-repeat;*/
/*}*/

#cover {
  height: 100vh;
  background: url('../img/cover.JPG') center 25% / cover no-repeat;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  transition: transform 1s ease-in-out;
}

#cover.slide-up {
  transform: translateY(-100%);
}

#content {
  transform: translateY(50px);
  opacity: 0;
  transition: all 1s ease;
}

#content.show {
  transform: translateY(0);
  opacity: 1;
}


.overlay {
  background: rgba(0,0,0,0.5);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

button {
  padding: 12px 25px;
  border: none;
  background: #c59d5f;
  color: white;
  font-size: 16px;
  border-radius: 30px;
  cursor: pointer;
  margin-top: 20px;
}

.section {
  padding: 50px 20px;
  text-align: center;
}

.gray {
  background: #f7f7f7;
}

.couple {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.couple img {
  width: 150px;
  height: 150px;        /* PENTING: harus sama */
  border-radius: 50%;
  object-fit: cover;   /* biar gambar tidak gepeng */
}

iframe {
  width: 100%;
  height: 250px;
  border: none;
  margin: 20px 0;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background: #c59d5f;
  color: white;
  text-decoration: none;
  border-radius: 20px;
}

button,
.btn {
  background: linear-gradient(135deg, #f4a6b8, #e96a8d);
  color: #fff;
}


.hidden {
  display: none;
}

.nama-pengantin {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.2;
}

.cover-couple {
  height: 70vh;
  background: url('../img/couple1.JPG') center 30% / 95% no-repeat;
  background-color: #1a2467;
}



.cover-couple-overlay {
  background: rgba(0,0,0,0.35);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

.cover-couple h2 {
  font-size: 42px;
  margin-bottom: 10px;
}

.cover-couple p {
  font-size: 18px;
  letter-spacing: 2px;
}

/* ===== DETAIL ACARA ===== */
.acara {
  background: #faf8f5;
}

/*.section-title {*/
/*  font-size: 32px;*/
/*  margin-bottom: 40px;*/
/*  position: relative;*/
/*}*/

/*.section-title::after {*/
/*  content: "";*/
/*  width: 60px;*/
/*  height: 3px;*/
/*  background: #c59d5f;*/
/*  display: block;*/
/*  margin: 15px auto 0;*/
/*}*/

.section-title {
  font-size: 32px;
  margin-bottom: 40px;
  color: #e96a8d;
}

.section-title::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #f4a6b8;
  display: block;
  margin: 15px auto 0;
}


.acara-wrapper {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.acara-card {
  background: white;
  padding: 30px 25px;
  width: 280px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.acara-card:hover {
  transform: translateY(-8px);
}

.acara-icon {
  font-size: 36px;
  display: block;
  margin-bottom: 15px;
}

.acara-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #333;
}

.acara-card .jam {
  font-size: 18px;
  font-weight: 600;
  color: #e96a8d;
  margin-bottom: 5px;
}

.acara-card .tanggal {
  font-size: 14px;
  color: #777;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.9s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===== COUNTDOWN (PINK ROMANTIC) ===== */
.countdown-section {
  background: linear-gradient(135deg, #fdecef, #ffffff);
}

.countdown-wrapper {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.countdown-box {
  background: #ffffff;
  width: 120px;
  height: 120px;
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(244,166,184,0.25);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}

.countdown-box:hover {
  transform: translateY(-6px);
}

.countdown-box span {
  font-size: 36px;
  font-weight: 600;
  color: #e96a8d;
}

.countdown-box small {
  font-size: 14px;
  letter-spacing: 1px;
  color: #777;
  margin-top: 5px;
}

/* Mobile */
@media (max-width: 768px) {
  .countdown-box {
    width: 90px;
    height: 90px;
  }

  .countdown-box span {
    font-size: 28px;
  }
}


/* HP only */
@media (max-width: 768px) {
  .nama-pengantin span {
    display: block;
  }

  .dan {
    font-size: 28px;
    margin: 5px 0;
  }
  
  .couple img {
    width: 120px;
    height: 120px;
  }
  
  /*.cover-couple {*/
  /*  height: 50vh;*/
  /*}*/
  
  .cover-couple {
    height: 100vh;
    width: 100vw;
    background-position: center 25%;
    background-color: #fdecef;
  }


  .cover-couple h2 {
    font-size: 32px;
  }
  
  .section-title {
    font-size: 26px;
  }

  .acara-card {
    width: 100%;
    max-width: 320px;
  }
}


@media (max-width: 768px) {
  .gift-wrapper.mobile-inline {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 kolom */
    gap: 12px;
  }

  .gift-card.small {
    width: 100%;
    padding: 16px 12px;
    border-radius: 18px;
  }

  .gift-card.small img {
    height: 28px;
    margin-bottom: 8px;
  }

  .gift-card.small h3 {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .gift-card.small .rekening {
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 8px;
  }

  .gift-card.small button {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 14px;
  }
}


/* ===== UCAPAN & KEHADIRAN ===== */
.wish-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.wish-form {
  background: #ffffff;
  padding: 25px;
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(244,166,184,0.25);
  margin-bottom: 30px;
}

.wish-form input,
.wish-form select,
.wish-form textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 12px;
  border-radius: 14px;
  border: 1px solid #f4a6b8;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
}

.wish-form button {
  width: 100%;
  background: linear-gradient(135deg, #f4a6b8, #e96a8d);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 20px;
  cursor: pointer;
}

/* LIST UCAPAN */
.wish-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.wish-item {
  background: #fdecef;
  padding: 15px 18px;
  border-radius: 18px;
}

.wish-item h4 {
  margin-bottom: 5px;
  color: #e96a8d;
  font-size: 14px;
}

.wish-item small {
  font-size: 12px;
  color: #777;
}

.wish-item p {
  margin-top: 6px;
  font-size: 14px;
}

/* Mobile */
@media (max-width: 768px) {
  .wish-form {
    padding: 20px;
  }
}


/* LIST UCAPAN SCROLL INTERNAL */
.wish-list {
  max-height: 380px;        /* batas tinggi */
  overflow-y: auto;         /* scroll di dalam */
  padding-right: 8px;       /* jarak scrollbar */
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Mobile */
@media (max-width: 768px) {
  .wish-list {
    max-height: 300px;
  }
}

/* Chrome / Edge / Safari */
.wish-list::-webkit-scrollbar {
  width: 6px;
}

.wish-list::-webkit-scrollbar-thumb {
  background: #f4a6b8;
  border-radius: 10px;
}

.wish-list::-webkit-scrollbar-track {
  background: #fdecef;
}

/* Firefox */
.wish-list {
  scrollbar-width: thin;
  scrollbar-color: #f4a6b8 #fdecef;
}



/* ===== GALLERY ===== */
.gallery-section {
  padding: 70px 20px;
  background: #fff;
  text-align: center;
  position: relative;
}

.gallery-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../img/floral-line.png') top center no-repeat;
  opacity: 0.08;
  pointer-events: none;
}

.section-title {
  font-size: 28px;
  margin-bottom: 30px;
  color: #b76e79;
}

.gallery-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 15px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 20px;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  position: relative;
  z-index: 2;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.35), transparent);
  opacity: 0;
  transition: .4s;
  pointer-events: none;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover::after {
  opacity: 1;
}

/* MOBILE */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(255, 240, 245, 0.95);
  display: none;
  align-items: center;        /* 🔑 vertical center */
  justify-content: center;    /* 🔑 horizontal center */
  z-index: 9999;
  padding: 20px;              /* ⬅️ ruang aman mobile */
}


.lightbox img {
  max-width: 90vw;
  max-height: 80vh;        /* ⬅️ boleh, tapi aman */
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,.25);
  animation: zoomIn .35s ease;
}


/* Tombol close */
.lightbox .close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 34px;
  color: #b76e79;
  cursor: pointer;
}

/* Animasi TANPA transform Y */
@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}


@media (max-width: 768px) {
  .lightbox img {
    max-height: 65vh;
  }

  .lightbox .close {
    top: 16px;
    right: 18px;
    font-size: 30px;
  }
}

/* ===== MOBILE: FOTO KE-3 DI TENGAH ===== */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Gambar ke-3 full width (tengah) */
  .gallery-item:nth-child(3) {
    grid-column: 1 / span 2;
  }

  /* Biar proporsinya cakep */
  .gallery-item:nth-child(3) img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
}


