/* Define custom properties in :root */
:root {
    --primary-color: #26272D;
    --secondary-color: #BFC2CF;
    --overlay-1: rgba(0, 0, 0, 0.6);
    --overlay-2: rgba(255, 255, 255, 0.3);
    --primary-font: "Sacramento", cursive;
    --secondary-font: "Raleway", sans-serif;
    --third-font: "EB Garamond", serif;
    --quran-font: "Katibeh", serif;
    --cover-image-desktop: url('/assets/zhapranFira-pink/gallery5.jpeg');
    --libre: "Alex Brush", cursive;
    --sans-3: "Source Sans 3", sans-serif;

    /* BACKGROUND */
    --cover-image: url('/assets/wedding-couples/zhapran-fira/zf7.jpeg');
    --s1-image: url('/');
    --bride-image: url('/assets/wedding-couples/zhapran-fira/fira.jpg');
    --groom-image: url('/assets/wedding-couples/zhapran-fira/zhapran.jpg');
    --countdown-image: url('/assets/wedding-couples/zhapran-fira/zf2.jpeg');
    --event-image: url('/assets/wedding-couples/zhapran-fira/zf5.jpeg');
    --gallery-image: url('/assets/wedding-couples/zhapran-fira/zf6.jpeg');
    --rsvp-image: url('/assets/wedding-couples/zhapran-fira/zf7.jpeg');
    --gift-image: url('/assets/wedding-couples/zhapran-fira/zf8.jpeg');
    --thanks-image: url('/assets/wedding-couples/zhapran-fira/zf10.jpeg');
}

body {
    font-family: var(--secondary-font);
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    margin: 0;
    padding: 0;
}

/* .............COVER............... */
.cover {
    position: relative; /* Atur elemen sebagai relatif untuk menempatkan overlay */
    background-image: var(--cover-image-desktop);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    height: 100vh;
    text-align: right;
    z-index: 1; /* Pastikan konten berada di atas overlay */
    overflow-y: hidden;
    padding: 60px 10px;
    box-sizing: border-box;
}

/* Overlay menggunakan pseudo-element */
.cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.6),
    rgba(0,0,0,0.4),
    rgba(0,0,0,0.6)
  );
    z-index: -1; /* Tempatkan overlay di bawah konten */
}

.yth {
    font-family: var(--sans-3);
    font-size: 1em;
    font-weight: 400;
    color: white;
}
.cover .guest-name {
    font-family: 'Source Sans 3', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
    color: white;
    z-index: 2; /* Pastikan teks di atas overlay */
}

.cover button {
    display: inline-flex;
  align-items: center;
  gap: 8px;

  font-family: 'Source Sans 3', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;

  padding: 12px 22px;
  border-radius: 14px;
  border: none;

  backdrop-filter: blur(6px);

  cursor: pointer;
  transition: all 0.25s ease;

    background-color: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.5);


    transition: background-color 0.3s;
    z-index: 2; /* Pastikan tombol di atas overlay */
}

.cover button:hover {
    background-color: var(--primary-color);
    color: white;
}

.invitation-content {
    display: none;
}

#cover-bride-groom {
    font-size: 3em;
    font-family: var(--libre);
    font-weight: 500;
    font-style: normal;
    margin: 6px 0 15px 0;
    padding: 0;
    color: white;
    text-shadow: 2px 2px 4px var(--overlay-2);
}

.invite-text {
    font-family: 'Source Sans 3', sans-serif;
  font-size: 12.5px;
  font-style: italic;
  letter-spacing: 0.12em;
  line-height: 1.7;
  text-align: right;
  opacity: 0.8;
  margin: 20px auto 8px;
  color: white;
}

/* ..............NAVIGASI.................. */

/* NAVIGASI */
nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    z-index: 999;
}

nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    gap: 20px; /* Jarak antar ikon */
    justify-content: center;
    margin: 0;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 20px; /* Ukuran ikon */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #f4f4f4; /* Warna teks saat hover */
}

/* Tambahan untuk ikon play/pause */
#playPauseButton {
    cursor: pointer;
}


/* ..................SEPERATOR............. */
.separator {
    flex-direction: row;
    display: flex;
    align-items: center;
    position: relative;
    margin: 5px 0;
}

.separator::before, 
.separator::after {
    content: '';
    height: 1px; /* Membuat garis horizontal */
    flex-grow: 1;
    width: 48px;
    background-color: white;
    opacity: 0.6;
}

/* ...............  ANIMATION............... */
.fade-in {
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.fade-in.visible {
    opacity: 1;
}

.fade-slide {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
}

.fade-slide.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animasi swipe dari kiri */
.swipe-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
}

.swipe-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Animasi swipe dari kanan */
.swipe-right {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
}

.swipe-right.visible {
    opacity: 1;
    transform: translateX(0);
}

  
/* .....................AUDIO CONTROL.................... */

.audio-controls {
    position: fixed;
    bottom: 60%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 999;
    text-align: center;
    display: none;
}

#playPauseButton {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: 20px;        /* Ukuran ikon Font Awesome */
    color: var(--secondary-color);           /* Warna ikon */
    background-color: var(--primary-color); /* Latar belakang jika diinginkan */
    border-radius: 50%;     /* Membuat bentuk bulat */
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s, color 0.3s;
}

.play-btn.fa-play, 
.play-btn.fa-pause {
  display: block;  /* ini penting */
}

/* ..................SECTION............... */
.section {
    font-family: var(--sans-3);
    font-weight: 400;
    font-style: normal;
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
    padding: 50px;
    overflow-x: hidden;
}

/* Menambahkan overlay untuk memastikan teks terbaca di atas gambar */
.section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
     background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.6),
    rgba(0,0,0,0.4),
    rgba(0,0,0,0.6)
  );
    z-index: 1;
}

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

/* ................SECTION 1.................. */
#section1 {
    background-size: cover;
    background-position: center;
    height: 100vh;
    color: #fff;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    text-align: right;
    flex-direction: column;
    padding: 10px 20px;
}

.wedding-info {
    line-height: 1.2;
}

.wedding-info p {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 13px;
    font-style: italic;
    letter-spacing: 0.05em;
    line-height: 1.2;
    opacity: 0.85;
    padding: 0 0 0 50px;
    margin: 24px auto 0;
}

.wedding-of {
    font-family: var(--sans-3);
    font-size: 11px;
    letter-spacing: 0.25em;
    opacity: 0.8;
    margin: 0;
    padding: 0;
    color: white;
}

.bride-groom {
    font-size: 3em;
    font-family: var(--libre);
    font-weight: 300;
    font-style: normal;
    letter-spacing: 2px;
    margin: 10px 0 20px 0;
    padding: 0;
    color: white;
    text-shadow: 2px 2px 4px var(--overlay-1);
}

.wedding-date {
    font-size: 1em;
    margin: 0;
    padding: 0;
}



/* ..................SECTION 2..................... */
#section2 {
    position: relative;
    background-image: url('gallery21.jpeg');
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    text-align: right;
    padding: 20px;
}

#section2 > * {
    z-index: 2;
}

#section2 h3 {
    font-family: var(--sans-3);
    font-size: 1.3em;
    margin: 0;
    padding: 0;
}

#section2 p {
    font-family: var(--sans-3);
    line-height: 0.5;
    margin: 10px 0;
}

.bride-name, .groom-name {
  font-family: 'Alex Brush', cursive;
  font-size: clamp(36px, 7vw, 48px);
  letter-spacing: 0.03em;
  margin: 0 0 4px 0;
}

.bride-degree, .groom-degree {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  opacity: 0.75;
}

.profile {
    margin-bottom: 50px;
}

.parents-info {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 13px;
  font-style: italic;
  letter-spacing: 0.04em;
  line-height: 1.6;
  opacity: 0.85;
  margin-top: 18px;
}

.role {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 10px;
}

#lottie-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
    z-index: 1;
}

/* ..............SECTION 3............. */
#section3 {
    background-image: url('gallery20.jpeg');
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    text-align: left;
    padding: 20px;
}

#section3 h3 {
    font-size: 1.3em;
    margin: 0;
    padding: 0;
}

.instagram-button {
    color: white;
    margin-left: 10px;
}

.anakke {
    font-size: 1.1em;
}

.parent {
    font-size: 0.9em;
}

/* ...............SECTION 4............... */
#section4 {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 20px;
  overflow: hidden;
}

#section4::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--countdown-image);
  background-size: cover;
  background-position: center;
  filter: blur(18px);
  transform: scale(1.1); /* penting biar blur nggak kepotong */
  z-index: 0;
}

#section4::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

#section4 > * {
    z-index: 2;
}

#countdown {
    font-size: 0.6em;
}

#section4 h3 {
    font-family: var(--sans-3);
    font-weight: 600;
    font-size: 2em;
    margin-bottom: 20px;
    letter-spacing: 0.18em;
    font-weight: 500;
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 20px; /* Jarak antar item countdown */
    margin: 0 0 30px 0;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.85);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    border-radius: 50%;
    width: 55px;
    height: 55px;
    padding: 5px;
    font-weight: 600;
    line-height: 1;
}

.countdown-item div {
    padding: 2px;
}

.countdown-item #days,
.countdown-item #hours,
.countdown-item #minutes,
.countdown-item #seconds {
    font-size: 2.5em; /* Ukuran angka */
    color: var(--primary-color)
}

.countdown-item .label {
    font-size: 1.5em; /* Ukuran keterangan */
    color: var(--primary-color);
}

/* VERSE */

.quran-verse {
    max-width: 350px;
    line-height: 2;
    letter-spacing: 0.03em;
    margin: 40px 0 0 0;
    padding: 0;
}

.ayat {
    font-size: 1.5em;
    font-family: var(--quran-font);
    font-weight: 200;
    font-style: normal;
    margin-bottom: 30px;
}

.nama-surah {
    font-family: var(--sans-3);
    font-size: 1em;
    margin: 0;

}

/* ..................SECTION 5 WEDDING DETAILS................... */ 
#section5 {
    background-image: url('gallery18.jpeg');
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-y: hidden;
    padding: 20px;
    box-sizing: border-box;
    height: 100vh;
}

#section5 h2 {
    font-family: var(--sans-3);
    font-weight: 600;
    font-size: 1.2em;
    letter-spacing: 0.32em;
    opacity: 0.65;
    margin: 0;
}
        
.konten5 {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    justify-content: space-evenly;
}

#section5 h3 {
    font-family: 'Source Sans 3', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.9;
    margin: 0;
}

.event-title {
    font-family: 'Alex Brush', cursive;
  font-size: 28px;
  letter-spacing: 0.03em;
  margin: 0 0 10px 0;
}

.event-content {
  max-width: 260px;
}

.Akad .event-content {
  text-align: right;
  justify-self: end;
}

.Resepsi .event-content {
  text-align: left;
  justify-self: start;
}

.Akad {
  align-self: flex-end;   /* ke kanan */
}

.Resepsi {
  align-self: flex-start; /* ke kiri */
}

.judul {
    font-family: 'Source Sans 3', sans-serif;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 18px;
}

.judul h2 {
    margin: 0;
    padding: 0;
}       

.event-date {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.9;
}

.event-meta {
  font-size: 13px;
  line-height: 0.3;
  opacity: 0.85;
  margin: 6px 0 0 0;
}

.event-panel {
  display: grid;
  grid-template-columns: 1fr 48px;
  align-items: center;

  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(4px);
  border-radius: 16px;
  padding: 22px 18px;
  margin-bottom: 32px;
}
        
.event-anchor {
  width: 2px;
  height: 60%;
  background: rgba(255,255,255,0.35);
  border-radius: 2px;
  justify-self: center;
}
        
.Resepsi {
  grid-template-columns: 48px 1fr;
}

.location-button {
    display: inline-flex;
  align-items: center;
  gap: 8px;

  font-family: 'Source Sans 3', sans-serif;
  font-size: 12.5px;
  letter-spacing: 0.08em;

  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.85);
  color: #333;

  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

.location-button:hover {
    color: white;
    background-color: var(--primary-color);
}

        

/* ..............SECTION 6 GALLERY.................. */
#section6 {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  background-image: url('background2.jpeg');
  background-size: cover;
  background-position: center;
    overflow-y: hidden;
    height: auto;
}

.gallery-label {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 6px;
}

.gallery-title {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 28px;
}

/* Gallery styles */
.gallery {
  width: 100%;
  max-width: 450px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

.gallery-item.hero {
  grid-column: span 2;
  aspect-ratio: 3 / 4;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

  
 /* ..............Style for the modal............. */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

#caption {
    font-family: var(--sans-3);
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

.modal-content, #caption {  
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform: scale(0)} 
    to {transform: scale(1)}
}

.close {
    position: absolute;
    top: 50px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    font-weight: bold;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    user-select: none;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* ..............SECTION 7 RSVP & MESSAGES............ */
#section7 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url('gallery17.jpeg');
    padding-top: 40px;
    padding-bottom: 40px;
    text-align: center;
    color: white;
    height: auto;
    overflow-y: hidden;
}

.rsvp-label {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.65;
}

.rsvp-title {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 24px;
}

#rsvpForm {
    max-width: 600px;
    width: 100%;
    margin: 0 0 36px 0;
  }

#rsvpForm input, #rsvpForm textarea, #rsvpForm select {
    max-width: 600px;
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    background: rgba(255,255,255,0.85);
    border: none;
    border-radius: 14px;
    padding: 14px 16px;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    box-sizing: border-box;
}

::placeholder {
  opacity: 0.7;
}

.btn-submit {
  margin-top: 18px;
  padding: 12px 26px;
  border-radius: 16px;
  background: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

/* TAMPILAN PESAN*/
.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
    padding: 20px;
    gap: 10px;
}

.message-box {
    max-height: 360px;
}
.message-box, .attendance-box {
    width: 100%;
    max-width: 350px;
    margin: 10px 0;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.1);
    overflow-y: auto; /* Tambahkan scroll vertikal */
}

.message-box h3, .attendance-box h3 {
    font-family: var(--playwrite-font);
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
    text-align: center;
    color: white;
}

.message-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 14px;
}

.message-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.message-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
    padding: 0;
}

.attendance-status {
    margin: 0;
    font-size: 12px;
    font-style: italic;
    opacity: 0.8;
}

.message-time {
    font-size: 10px;
    font-style: italic;
    color: #b8b8b8;
    margin: 0;
}

.message-author {
    font-weight: 600;
    letter-spacing: 0.04em;
    margin: 0;
}

.message-content {
    font-size: 12px;
    text-align: left;
    margin: 10px 0;
}


.profile-icon {
    font-size: 20px;
    color: white;
}

.attendance-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    text-align: center;
    flex-wrap: wrap;
}

.attendance-item {
    width: 60px;
    height: 60px;
    padding: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  border-radius: 18px;
  margin-bottom: 14px;
}

.attendance-number {
    font-size: 22px;
    font-weight: bold;
    display: block;
}

.attendance-label {
    font-size: 10px;
    margin-top: 5px;
}


/* CSS untuk mengganti font placeholder */
#name::placeholder,
#message::placeholder {
    font-family: var(--poppins-font);
    font-weight: 400;
    font-style: normal;
    font-size: 12px; /* Ganti dengan ukuran font yang diinginkan */
    color: #888; /* Ganti dengan warna yang diinginkan */
}
/* CSS untuk mengganti font input */
#name,
#message {
    font-family: var(--poppins-font);
    font-weight: 400;
    font-style: normal;
    font-size: 12px; /* Ganti dengan ukuran font yang diinginkan */
    color: #333; /* Ganti dengan warna yang diinginkan */
}

/* ................SECTION 8 ....................... */

#section8 {
    background-image: url('gallery16.jpeg');
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#section8 h2 {
    margin: 0;
}

.section8p {
    margin: 30px 0;
}

.gift-title {
  font-size: 22px;
  font-weight: 500;
}

.gift-subtitle {
  font-size: 13px;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

/* Section 8 Styling */
.bank-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    gap: 50px;
}

.gift-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--background-color);
    padding: 20px;
    max-width: 350px;
    border-radius: 30px;
}

.bank-item {
    background-image: url('/assets/bank-card/card.jpeg');
    background-size: cover;
    background-position: center;
    border-radius: 22px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    padding: 20px;
    min-width: 300px;
    min-height: 180px;
    box-sizing: border-box;
    position: relative;
}

.bank-logo1 {
    width: 120px;
    height: auto;
    position: absolute;
    top: 10px;
    right: 20px;
}

.bank-logo2 {
    width: 100px;
    height: auto;
    position: absolute;
    top: 20px;
    right: 20px;
}

.chip {
    width: 35px;
    position: absolute;
    top: 50px;
    left: 20px;
}

.account-name {
    color: black;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    position: absolute;
    top: 80px;
    left: 20px;
}

.bank-number {
    color: black;
    font-size: 12px;
    letter-spacing: 2px;
    position: absolute;
    top: 95px;
    left: 20px;
}

.copyButton {
    font-size: 12.5px;
    letter-spacing: 0.08em;
    padding: 8px 18px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.copyButton:hover {
    background-color: white;
    color: var(--primary-color);
}

.gift-closing {
  margin-top: 28px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 12.5px;
  font-style: italic;
  letter-spacing: 0.04em;
  line-height: 1.6;
  text-align: center;
  opacity: 0.75;
}

/* Section 9 Styling */
#section9 {
    background-image: url('gallery19.jpeg');
    text-align: center;
    padding: 40px 20px;
    color: #fff;
    background-color: #333; /* Warna latar belakang yang berbeda untuk kontras */
    box-sizing: border-box;
}

.thank-you h2 {
    font-family: var(--libre);
    font-weight: 700;
    font-size: 3.2em;
    margin-bottom: 20px;
}

.thank-you .bride-groom {
    font-size: 1.8em;
    margin-bottom: 15px;
    font-weight: bold;
}

.thank-you-message {
    margin-bottom: 30px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.decoration-img {
    margin-top: 10px; /* Jarak antara teks dan gambar */
    width: 220px; /* Agar responsif */
    height: auto;
    opacity: 0.5;
}

/* Footer */

footer {
    background-color: white;
    padding-bottom: 70px;
    padding-top: 15px;
}
  
.footer-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 0 20px;
}

.branding-divider {
  width: 58px;
  height: 1px;
  background: rgba(0, 0, 0, 0.2);
  margin: 28px auto 28px;
}
  
.logo img {
    height: 70px;
}
  
.social-media-ncp {
    display: flex;
    gap: 20px;
    background-color: #F9F7F2;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #E8A6A6;
    
}
  
.social-icon {
    opacity: 0.7;
    transform: scale(0.9);
    color: #2C3E50; /* Warna ikon */
    font-size: 24px; /* Ukuran ikon */
    margin: 0 10px;
    text-decoration: none; /* Menghilangkan garis bawah */
}
  
.social-icon:hover {
    color: #E8A6A6; /* Warna saat hover */
    opacity: 1;
}

.brand-microcopy {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 11.5px;
  font-style: italic;
  letter-spacing: 0.06em;
  opacity: 0.6;
  margin-top: 12px;
}

/* Responsif untuk teks agar tetap terbaca di perangkat kecil */
@media (max-width: 768px) {
    .cover {
        background-image: var(--cover-image);
    }

    .section {
        padding: 10px;
    }

    .cover h1 {
        font-size: 2em;
    }

    .cover button {
        font-size: 0.8em;
    }
    #section2 {
        background-image: var(--bride-image);
    }

    #section3 {
        background-image: var(--groom-image);
    }
    /* #section4 {
        background-image: var(--countdown-image);
    } */

    #section5 {
        background-image: var(--event-image);
        padding: 40px 20px;
    }

    #section6 {
        background-image: var(--rsvp-image);
    }
    

    #section7 {
        background-image: var(--gift-image);
    }

    #rsvpForm {
        min-width: 100%;
    }

    #section8 {
        background-image: var(--gift-image);
    }

    #section9 {
        background-image: var(--thanks-image);
    }
}
