@media only screen and (max-width: 600px) {
  .title {
    font-size: 20px;
  }
  p.nama {
    max-width: 75%;
    text-align: center;
  }
  #body {
    background-image: url('img2/back.png');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 100% 100%;
  }
}
@media only screen and (min-width: 625px) {
  .title {
    font-size: 50px;
  }
  p.nama {
    max-width: 50%;
    text-align: center;
  }
  #body {
    min-height: 100vh;
    background-image: url('img2/back.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}
  #audio {
    width: 25%;
  }
}

.opening {
  opacity: 1;
}
.opening-1 {
  animation: fadeInAnimation ease 2s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}
.opening-2 {
  animation: fadeInAnimation ease 3s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}
@keyframes fadeInAnimation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
#kataSambutan {
  background-image: url('img/batik.jpg');
      background-size: cover;           /* penuh menyesuaikan */
  background-position: center top;  /* fokus ke atas */
  background-repeat: no-repeat;
      max-width: 500px;
      border: 2px double #000;
}
.text-opening {
  font-family: cardoitalic;
}
.nama {
  font-family: amsterdamfour_ttf;
}
.desc {
  font-family: cardoregular;
}
.desc-h {
  font-family: halimunregular;
}
.desc-l {
  font-family: Fave;
}
.desc-f {
  font-family: adlery_proregular;
}
.nama_catin {
  font-family: pompiere_regular;
}
.geometric-shapes{
	position:absolute;
	top:-30%;
	left:0;
	width:100%;
	height:120%;
	overflow:hidden;
	pointer-events:none;
	z-index:1;
}

.geo-shape{
	position:absolute;
	width:12px;
	height:12px;
	background:white;
	opacity:0.8;

	clip-path:polygon(
	50% 0%,61% 35%,98% 35%,68% 57%,
	79% 91%,50% 70%,21% 91%,32% 57%,
	2% 35%,39% 35%
	);

	/* dua animasi */
	animation: twinkle 3s infinite ease-in-out,
			   float 12s infinite ease-in-out;
}


/* posisi acak */
.geo-shape:nth-child(1){top:5%; left:10%;}
.geo-shape:nth-child(2){top:15%; left:40%;}
.geo-shape:nth-child(3){top:25%; left:70%;}
.geo-shape:nth-child(4){top:35%; left:20%;}
.geo-shape:nth-child(5){top:45%; left:55%;}
.geo-shape:nth-child(6){top:55%; left:80%;}
.geo-shape:nth-child(7){top:65%; left:30%;}
.geo-shape:nth-child(8){top:75%; left:60%;}
.geo-shape:nth-child(9){top:85%; left:15%;}
.geo-shape:nth-child(10){top:20%; left:85%;}

/* animasi berkelip */
@keyframes twinkle{
	0%,100%{
		opacity:0.3;
		transform:scale(0.8);
	}
	50%{
		opacity:1;
		transform:scale(1.3);
	}
}

/* animasi bergerak */
@keyframes float {

	0%,
	100% {
		transform: translateY(0px) rotate(0deg);
	}

	50% {
		transform: translateY(-30px) rotate(180deg);
	}
}

.about-visual {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 2rem;
}



.visual-shapes {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 3;
}

.visual-shape {
	position: absolute;
	background: rgba(0, 0, 0, 0.9);
	border-radius: 50%;
	animation: floatSlow 15s ease-in-out infinite;
}

.visual-shape:nth-child(1) {
	width: 140px;
	height: 140px;
	top: 20%;
	left: 20%;
	animation-delay: -2s;
}

.visual-shape:nth-child(2) {
	width: 80px;
	height: 80px;
	top: 60%;
	right: 30%;
	animation-delay: -5s;
}

.visual-shape:nth-child(3) {
	width: 160px;
	height: 160px;
	bottom: 25%;
	left: 30%;
	animation-delay: -8s;
}

@keyframes floatSlow {

	0%,
	100% {
		transform: translateY(0px) rotate(0deg);
		opacity: 0.1;
	}

	50% {
		transform: translateY(-20px) rotate(180deg);
		opacity: 0.2;
	}
}

/* Overlay full layar */
#kucing_imut {
  display: table;
  height: 100vh;
  width: 100vw;
  background: rgba(0,0,0,0.5); /* 0.5 = 50% gelap, bisa diubah */
  position: fixed;
  z-index: 99999999;
  top: 0;
  left: 0;
  font-family: 'Patrick Hand', cursive;
}
/* Styling langsung untuk tombol dengan id audio */
  #audio {
    background-color: #d4a256;   /* warna emas */
    border: none;
    color: #fff;                /* teks putih */
    padding: 10px 20px;         /* biar lebih rapi */
    border-radius: 8px;         /* sudut membulat */
    cursor: pointer;
  }

  #audio:hover {
    background-color: #b88c44;  /* lebih gelap saat hover */
  }

/* Posisikan konten di tengah */
#kucing_imut .middle {
  display: table-cell;
  vertical-align: middle;
}

/* Kotak konten */
#kucing_imut .inner {
  margin: 0 auto;
  max-width: 400px;   /* batas maksimal */
  width: 90%;         /* fleksibel di layar kecil */
  text-align: center;
  padding: 10px;
}

/* Teks bawah */
#kucing_imut p {
  font-size: clamp(10px, 2vw, 14px); /* responsif: min 10px, max 14px */
  color: #000;
  padding: 0 20px;
  margin-top: -30px;
  line-height: 1.4;
}

/* Loading SVG */
.svg-loading {
  font-family: "Joan", sans-serif;
  width: 100%;
  height: auto;
}

.svg-loading text {
  animation: stroke 3s infinite alternate;
  stroke-width: 0;
  stroke: #009cd9;
  font-size: clamp(18px, 5vw, 28px); /* skala otomatis */
}

/* Animasi stroke */
@keyframes stroke {
  0%   {
    fill: rgba(72,138,204,0);
    stroke: rgba(54,95,160,1);
    stroke-dashoffset: 25%;
    stroke-dasharray: 0 50%;
    stroke-width: 1;
  }
  70%  { fill: rgba(72,138,204,0); stroke: rgba(54,95,160,1); }
  80%  { fill: rgba(72,138,204,0); stroke: rgba(54,95,160,1); stroke-width: 1.5; }
  100% {
    fill: rgba(72,138,204,1);
    stroke: rgba(54,95,160,0);
    stroke-dashoffset: -25%;
    stroke-dasharray: 50% 0;
    stroke-width: 0;
  }
}

/* Tambahan biar teks tetap enak dibaca di HP kecil */
@media (max-width: 480px) {
  #kucing_imut .inner {
    max-width: 90%;
  }
  #kucing_imut p {
    margin-top: -20px;
  }
}
.slideshow-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 10;
}

/* overlay gelap */
.slideshow-container::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5); /* 0.5 = 50% gelap, bisa diubah */
  z-index: 2;
  pointer-events: none; /* biar overlay tidak ganggu klik */
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;       /* full layar */
  object-position: center; /* fokus tengah */
  opacity: 0;
  animation: fadeZoom 18s infinite ease-in-out;
  z-index: 1; /* biar di bawah overlay */
}

.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 6s; }
.slide:nth-child(3) { animation-delay: 12s; }

@keyframes fadeZoom {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  10% {
    opacity: 1;
    transform: scale(1.02);
  }
  40% {
    opacity: 1;
    transform: scale(1.08);
  }
  50% {
    opacity: 0;
    transform: scale(1.1);
  }
  100% {
    opacity: 0;
    transform: scale(1.1);
  }
}
.golden-glow {  
  position: absolute;  
    bottom: 0;  
    width: 100%;  
    height: 550px;
  background: linear-gradient(to top, #c89a91 2%, transparent);
    z-index: 10;
    }  
    

.top-right-decoration,
.top-left-decoration,
.bottom-right-decoration,
.bottom-left-decoration {
    position: absolute;
    display: block;
    pointer-events: none;
    animation: goyang 3s infinite ease-in-out;
    z-index: 9999; /* lebih tinggi */
}


/* Dekorasi kanan atas */
.top-right-decoration {
    position: absolute;
    top: -70px;
    right: -5px;
    width: 100%;
    max-width: 80%;
    z-index: 50;
}

/* Dekorasi kiri atas */
.top-left-decoration {
    top: 0;
    left: 0;
    width: 40%;
    max-width: 350px;
    transform-origin: top left;
}

/* Dekorasi kanan bawah */
.bottom-right-decoration {
    bottom: 0;
    right: 0;
    width: 35%;
    max-width: 300px;
    transform-origin: bottom right;
}

/* Dekorasi kiri bawah */
.bottom-left-decoration {
    bottom: -55px;
    left: -50px;
    width: 100%;
    max-width: 300px;
    transform-origin: bottom left;
}

/* Animasi goyang */
@keyframes goyang {
    0%   { transform: rotate(0deg); }
    25%  { transform: rotate(1deg); }
    50%  { transform: rotate(0deg); }
    75%  { transform: rotate(-2deg); }
    100% { transform: rotate(0deg); }
}
    .image-wrapper {
    position: relative;
    width: 200px;
    height: 250px;
    margin: 0 auto;
    top: 0px;
    z-index: 1; /* lebih rendah */
}

.foto-wrapper {
    position: relative;
    width: 200px;
    height: 230px;
    margin: auto;
    display: inline-block;
    z-index: 1; /* lebih rendah */
}

     .foto {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1; /* lebih rendah dari dekorasi */
    width: 200px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;

    animation: fadeGanti 8s infinite;
    opacity: 0;
    

    border: 6px double #D2691E;
    background-color: #fffaf0;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.1),
                0 5px 15px rgba(0,0,0,0.3);
}
    .pengantin1 {
      animation-delay: 0s;
    }
    .pengantin2 {
      animation-delay: 4s;
    }

    @keyframes fadeGanti {
      0%, 45% { opacity: 1; }
      50%, 95% { opacity: 0; }
      100% { opacity: 1; }
    }

   
    /* Pawiwahan */
.judul-kecil {
  font-family: 'Times New Roman', serif;
  font-size: clamp(18px, 2vw, 32px); 
  line-height: 1.2;
  word-wrap: break-word;
  color: #000;
}
    /* Nama mempelai */
.judul-nama {
  font-family: 'Times New Roman', serif;
  font-size: clamp(23px, 4vw, 40px);
  margin: 5px 0;
  line-height: 1.2;
  word-break: break-word;
  color: #000;
  font-weight: bold;
}

/* Simbol & */
.judul-simbol {
  font-family: 'Times New Roman', serif;
  font-size: clamp(23px, 4vw, 40px);
  margin: 0;
  line-height: 1;
  color: #000;
}

/* Tanggal */
.judul-tanggal {
  font-family: 'Times New Roman', serif;
  font-size: clamp(14px, 3vw, 22px);
  margin-top: 10px;
  line-height: 1.3;
  color: #000;
}

/* Penyesuaian untuk layar sangat kecil (≤320px) */
@media (max-width: 320px) {
  .judul-nama {
    font-size: 28px;
  }
  .judul-kecil {
    font-size: 18px;
  }
  .judul-tanggal {
    font-size: 14px;
  }
}

.gais {
 color : #D2691E;
 border: 1px double #D2691E;
}
/* buka undangan */
#audio {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 10px 26px;
    margin-top: 0px;

    background: linear-gradient(180deg, #d4af37 0%, #b8860b 50%, #8b6508 100%);
    color: #ffffff;
    border: 3px double #f8e7a0;
    border-radius: 50px;

    font-size: 16px;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;

    box-shadow:
        0 0 0 2px #8b0000,
        0 8px 20px rgba(0,0,0,.35);

    cursor: pointer;
    transition: all .3s ease;
    transition: all 0.15s ease;
  box-shadow: 0 3px 0 #b8860b;
}



#audio i {
    font-size: 16px;
    color: #fff8dc;
}

#audio:hover {
    transform: translateY(4px);
    box-shadow:
        0 0 0 2px double #8b0000,
        0 12px 28px rgba(0,0,0,.45);
}

#audio:active {
    transform: scale(.97);
}

@keyframes tombolBali {
    0%,100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

#kataSambutan1 {
  background-color: rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  font-size: 18px;
  padding: 15px;
  border-radius: 8px;
  text-align: center;

  /* garis pinggir */
  border: 1px solid orange;

  /* posisi */
  position: relative;
  top: 0px;
  left: 0px;
  right: auto;
}
#kataSambutan2 {
  background-image: url('img2/back.png'); /* ganti dengan pathrd gambarmu */
background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
      
  width: 100vw;         
  padding: 20px;
    
  position: relative;
  margin: 0 auto; 
  color: white;   /* teksnya tetap terbaca */
  z-index: 10;
}
#kataSambutan3 {
  background: #c89a91;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding: 100px 20px 40px;
  text-align: center;
  color: black;
  font-family: 'Georgia', serif;
  position: relative;
  z-index: 4;
border-top: 8px double white;
border-bottom: 8px double white;
  /* Lengkungan atas */
  border-top-left-radius: 50% 50px;
  border-top-right-radius: 50% 50px;

  /* Naik agar menumpuk ke slideshow */
  margin-top: -100px;
}




  /* Slideshow khusus modal */
.modal-slideshow {
  position: relative;
  width: 100%;
  height: 105vh; /* kalau mau full layar ubah jadi 100vh */
  overflow: hidden; /* cegah gambar keluar area */
 
}

.modal-slideshow .modal-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;   /* gambar tetap proporsional */
  opacity: 0;
  transition: opacity 1s ease-in-out;

  /* Anti geser */
  pointer-events: none; 
  user-select: none;
}

.modal-slideshow .modal-slide.active {
  opacity: 1;
}
.modal-body {
  padding: 0 !important;    /* tetap tanpa padding */
  overflow-x: hidden;       /* cegah isi keluar samping */
}

.modal-slideshow img {
  display: block;
  width: 100%;
  max-width: 100%;
  background: rgba(0,0,0,0.4); /* opsional, biar teks lebih jelas */
}

.modal-caption {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: black;
  z-index: 50;
  padding: 20px;
  font-family: 'WeddingCard', cursive;
  font-size: 5rem; /* bisa atur ukuran */
}
/* Efek emas di bawah */
.gold-effect {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 550px;
  background: linear-gradient(to top, #CFC5BB 7%, transparent);
}

.dark-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.35); /* 0.3 = agak gelap, bisa disesuaikan */
  border-radius: inherit;
  pointer-events: none;
}
.section-pawiwahan {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;  /* biar mulai dari atas */
  align-items: center;
  padding: 40px 20px;
  text-align: center;
  box-sizing: border-box;
  margin-top: 30vh;   /* turun 20% dari tinggi layar */
  z-index: 50;
}

.judul-atas{
    display: inline-block;
    margin-top: -70px;
    padding: 8px 24px;
    font-family: "Cormorant Garamond", serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    border: 1.5px double #fff;
    border-radius: 30px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.judul-svg{
    width:100%;
    max-width:450px;
    display:block;
    margin-top: -50px;
}

.judul-svg text{
    fill:#b58a7d;
    font-size:30px;
    font-family:'Times New Roman', serif;
    font-weight:bold;
    letter-spacing:3px;
    text-transform:uppercase;
}

.nama2 {
  font-family: amsterdamfour_ttf;
  font-size: clamp(30px, 6vw, 58px); /* skala otomatis */
  font-weight: normal;
  margin: 0;
  color: white;
  font-weight: italic;
  
}
.nama {
  font-family: 'cardobold', cursive;
  font-size: clamp(32px, 6vw, 60px); /* skala otomatis */
  font-weight: normal;
  margin: 0;
  color: white;
  font-weight: bold;
 
}

.nama span {
  font-size: clamp(24px, 4vw, 45px);
  color: white;
}

.tanggal {
  margin-top: 20px;
  font-size: clamp(16px, 2vw, 26px);
  letter-spacing: 5px;
  color: white;
}


.kutipan-icon {
  width: 120px;
  margin-top: -60px;  
  transform: translateZ(0); /* atau: will-change: transform; */

}

.kutipan-icon1 {
  width: 100%;
  margin-top: 10px;  
  transform: translateZ(0); /* atau: will-change: transform; */

}

.kutipan-text {
  font-size: 16px;
  margin-bottom: 30px;
  line-height: 1.6;
  color: white;
  font-family: 'Times Newe Roman', serif;
}

.kutipan-sumber {
  display: inline-block;
  padding: 10px 30px;
  border-top: 2px solid white;
  border-bottom: 2px solid white;
  border-radius: 50px; /* bentuk setengah lingkaran atas & bawah */
  font-weight: bold;
  background: none;
  color: white;
}
.judul1 {
  font-size: 1.8rem;
  font-weight: bold;
  text-align: center;
  margin: 50px 0;
  color: #ff6600; /* bisa ganti sesuai tema */
  font-family: "CardoBold", serif; /* contoh font */
}

.countdown {
  display: flex;
  justify-content: center;
  
  gap: 10px;
  margin-top: 20px;
  font-size: 1rem;
  color: #fff;
  font-family: 'Cardobold', sans-serif;
  z-index: 50;
}

.countdown span div {
  background: ttransparent;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  border-radius: 20%;  
  padding: 10px;
  border: 3px double #fff;
  text-align: center;
  min-width: 60px;
  max-width: 80px;        /* batas biar nggak kebesaran di desktop */
  flex: 1;                /* fleksibel menyesuaikan ruang */
}

.countdown .number {
  font-size: clamp(1.2rem, 5vw, 2rem); /* fleksibel: min 1.2rem, max 2rem */
  font-weight: bold;
  display: block;
}

.countdown .label {
  font-size: clamp(0.6rem, 2vw, 0.9rem);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Penyesuaian ekstra untuk layar sangat kecil (≤320px) */
@media (max-width: 320px) {
  .countdown span div {
    min-width: 50px;
    padding: 8px;
  }
}
.teks-biasa {
  font-size: 1. 4rem;
  text-align: center;
  margin: 10px auto;
  color: #333;
  max-width: 500px;
  line-height: 1.6;
  font-family: 'Times New Roman', serif;
}
.mempelai-foto{
            border-color: #af987a;
        }
   .nama-pengantin {
      font-family: "Playfair Display", serif; /* ganti dengan Novelia Pro kalau ada */
      font-size: 1.5rem;
      font-weight: 600;
      color: #9c6b34; /* emas elegan */
      letter-spacing: 1px;
      margin-top: 15px;
      margin-bottom: 20px;
      text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5); /* Bayangan teks */
    }

  .nama-pengantin1 {
      font-family: "Playfair Display", serif; /* ganti dengan Novelia Pro kalau ada */
      font-size: 1.2rem;
      font-weight: 600;
      color: #9c6b34; /* emas elegan */
      letter-spacing: 1px;
      margin-top: 15px;
      margin-bottom: 20px;
      text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5); /* Bayangan teks */
    } 

.garis {
    width: 50px;
    height: 2px;
    background-color: #8c7b6b;
    margin: -10px auto 0; /* auto kiri-kanan = tengah */
    z-index: 1;
    position: relative;
}
 .ring {
            display: flex;
            justify-content: center;
            margin-bottom: 0px;
        }

        .ring img {
  width: 100px;
  height: auto;
  display: block; /* biar rapi */
  margin: 0 auto; /* tengah kalau perlu */   
}
        .custom-card {
        border-radius: 5px;
      border-top: 4px solid #CBA344;
      border-bottom: 4px solid #CBA344;
      border-left: 2px solid #CBA344;
      border-right: 2px solid #CBA344;
      background-image: url('img/background4.jpg');
      background-size: cover;           /* penuh menyesuaikan */
  background-position: center top;  /* fokus ke atas */
  background-repeat: no-repeat;
      max-width: 500px;
      margin: 30px auto;
      padding: 20px;
      text-align: center;
      outline-offset: 5px; 
      border-radius: 200px 200px 200px 200px; 
      box-shadow: 1px 2px 2px 1px;
}

.custom-card1 {
        border-radius: 5px;
      border-top: 4px solid #CBA344;
      border-bottom: 4px solid #CBA344;
      border-left: 2px solid #CBA344;
      border-right: 2px solid #CBA344;
      background-image: url('img2/back.png');
      background-size: cover;           /* penuh menyesuaikan */
  background-position: center top;  /* fokus ke atas */
  background-repeat: no-repeat;
      max-width: 500px;
      margin: 30px auto;
      padding: 20px;
      text-align: center;
      outline-offset: 5px; 
      border-radius: 200px 200px 200px 200px; 
      box-shadow: 1px 2px 2px 1px;
}
  .title-section {
      text-align: center;
      color: #333;
    }

    /* Garis + ikon hati */
    .title-section .divider {
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 15px;
    }

    .title-section .divider::before,
    .title-section .divider::after {
      content: "";
      flex: 1;
      border-top: 1px solid #c8a57d;
      margin: 0 10px;
    }

    .title-section .divider span {
      color: #c8a57d;
      font-size: 22px;
    }

    /* Teks */
    .title-section .subtitle {
      font-size: 1.5rem;
      font-weight: 500;
      color: #a07842;
      font-family: 'Times New Roman', serif;
    }

    .title-section .maintitle {
      font-size: 2rem;
      font-weight: 700;
      color: #444;
      font-family: 'Times New Roman', serif;
    }

    /* Responsif */
    @media (max-width: 600px) {
      .title-section .subtitle {
        font-size: 1.2rem;
      }
      .title-section .maintitle {
        font-size: 1.6rem;
      }
    }
        .card1 {
      position: relative;
      width: 100%;
      max-width: 600px;
      overflow: hidden;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }

    .card1 img {
      width: 100%;
      height: auto;
      display: block;
    }

    .overlay {
      position: absolute;
      inset: 0;
      background: rgba(255, 255, 255, 0.7);
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 20px;
    }

    .quote {
      border: 2px solid #fff;
      padding: 20px;
      text-align: center;
      color: #2c2c2c;
      font-size: 1rem;
      line-height: 1.6;
      background: rgba(0,0,0,0.4);
      color: white;
    }

    .quote p {
      margin-bottom: 10px;
    }

    .quote .sanskrit {
      font-style: italic;
      font-size: 0.8rem;
      font-family: 'Patrick Hand', cursive;
    }

    .quote .source {
      margin: 10px 0;
      font-weight: bold;
    }

    @media (max-width: 480px) {
      .quote {
        font-size: 0.9rem;
        padding: 15px;
      }
      .quote .sanskrit {
        font-size: 1rem;
      }
    }
    
     .card2 {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: auto;
  border-radius: 15px;
  overflow: hidden;
}

.card2 img {
  width: 100%;
  display: block;
}

.overlay2 {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;

  background: transparent;   /* WAJIB */
}
.content {
  position: relative;
  padding: 25px 20px;
  border-radius: 15px;
  text-align: center;
  color: #fff;
  line-height: 1.6;
  width: 100%;
  max-width: 520px;
  overflow: hidden;
}

/* 🔥 Blur layer */
.content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(0, 0, 0, 0.45);
  z-index: -1;
}
    .content h1 {
      font-size: 2.2rem;
      margin-bottom: 10px;
      letter-spacing: 2px;
    }

    .content h2 {
      font-size: 1.2rem;
      font-weight: normal;
      margin-bottom: 15px;
    }

    .content p {
      font-size: 0.8rem;
      margin-bottom: 15px;
    }

    .content .names {
      margin: 20px 0;
      font-size: 1.1rem;
    }

    .content .highlight {
      font-weight: bold;
      color: #fbc02d;
      font-size: 1.2rem;
    }

    .content .family {
      margin-top: 15px;
      font-size: 1.1rem;
      color: #ffcc80;
      font-weight: bold;
    }

    .content .members {
      font-size: 1rem;
      margin-bottom: 10px;
      font-weight: bold;
    }

    @media (max-width: 400px) {

  .overlay2 {
    padding: 15px;
  }

  .content {
    padding: 20px 15px;
  }

  .content h1 {
    font-size: 1.6rem;
    letter-spacing: 1px;
  }

  .content h2 {
    font-size: 1rem;
  }

  .content p {
    font-size: 0.9rem;   /* JANGAN 0.5rem */
    line-height: 1.5;
  }

  .content .names,
  .content .members,
  .content .family {
    font-size: 0.95rem;
  }

}
    
       .gallery-img {
      cursor: pointer;
      transition: transform 0.3s ease;
       padding: 0px;
    border-radius: 5px;      
     
    }
    .gallery-img:hover {
      transform: scale(1.05);
    }

    /* Foto fullscreen */
    #modalImage {
      width: 100%;
      height: 100vh;
      object-fit: contain; /* biar proporsional */
      background: rgba(0,0,0,0.3); /* 0.5 = 50% gelap, bisa diubah */
      z-index: 1000;
    }
   
modal-bodi.modal-body {
      padding: 0;
      margin: 0;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    /* Tombol navigasi */
    .nav-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: transparent;
      border: none;
      font-size: 2rem;
      color: white;
      padding: 0.5rem 1rem;
      cursor: pointer;
      z-index: 1056; /* lebih tinggi dari modal */
    }
    #prevBtn { left: 15px; }
    #nextBtn { right: 15px; }

    /* Tombol close */
    .close-btn {
      position: absolute;
      top: 15px;
      right: 20px;
      border: none;
      font-size: 1.8rem;
      color: black;
      background: transparent;
      cursor: pointer;
      z-index: 1057;
      border-radius: 0px;
    }

.amplop-digital {
  text-align: center;
  padding: 30px 20px;
  font-family: 'Arial', sans-serif;
}

.amplop-digital h2 {
  font-family: 'Times New Roman', serif;
  font-size: 24px;
  letter-spacing: 2px;
  color: #b9938c;
  margin-bottom: 10px;
}

.amplop-digital p {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
  font-family: 'Times New Roman', serif;
}

.gift-button {
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #b9938c;
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 3px 0 #b8860b;
}

.gift-button:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #b8860b;
}

.bank-card {
  background-image: url('img2/kartu.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  width: 92%;
  max-width: 350px;
  aspect-ratio: 1.58 / 1; /* Rasio kartu ATM */
  height: auto;

  margin: 20px auto;
  padding: 25px;
  border-radius: 16px;
  position: relative;
  text-align: left;
  color: white;

  box-shadow:
    rgba(0,0,0,.25) 0 20px 30px,
    rgba(0,0,0,.12) 0 8px 12px;
}

.bank-info h3 {
  font-size: 22px;
  color: #fff;
  margin: 0;
  font-weight: bold;
  font-family: 'Arial', sans-serif;
}

.bank-info p {
  margin-top: 5px;
  color: #fff;
  font-weight: bold;
  font-family: 'Times New Roman', sans-serif;
}

.bank-logo {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 60px;
}
.chip-card{
    position: absolute;
    top: 85px;      /* Atur sesuai posisi logo BRI */
    right: 25px;    /* Samakan dengan posisi logo */
    width: 45px;
    height: auto;
}

.copy-button {
  margin-top: 80px;
  padding: 8px 16px;
  background-color: #b9938c;
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
}

 
    .resepsi-card1 {
      background-image: url('img/batik.jpg');
  background-size: cover;           /* penuh menyesuaikan */
  background-position: center top;  /* fokus ke atas */
  background-repeat: no-repeat;
      width: 99%;
      max-width: 450px;
      padding: 25px 20px;
      border-radius: 200px 200px 200px 200px; 
      box-shadow: 1px 2px 2px 1px;
      
      text-align: center;
         border-radius: 5px;
      border-top: 4px solid #CBA344;
      border-bottom: 4px solid #CBA344;
      border-left: 2px solid #CBA344;
      border-right: 2px solid #CBA344;
      left: 35px;
      outline-offset: 5px; 
    }


    .resepsi-icon-top {
      width: 100px;
      height: 100px;
      margin: 0 auto 15px;
    
      display: flex;
      justify-content: center;
      align-items: center;
      color: white;
      font-size: 28px;
    }

    .resepsi-title {
      font-size: 1.6rem;
      color: #7a552c;
      margin-bottom: 20px;
    }

    .resepsi-info {
      display: flex;
      justify-content: space-between;
      margin-bottom: 20px;
      padding: 0 10px;
    }

    .resepsi-info div {
      text-align: center;
      flex: 1;
    }

    .resepsi-info i {
      font-size: 28px;
      color: #c89d62;
      margin-bottom: 8px;
    }

    .resepsi-info h3 {
      font-size: 1rem;
      color: #333;
      margin-bottom: 5px;
    }

    .resepsi-info p {
      font-size: 0.9rem;
      color: #555;
    }

    .resepsi-location {
      margin: 15px 0;
      font-size: 0.95rem;
      color: #444;
      line-height: 1.5;
    }

    .resepsi-location strong {
      display: block;
      margin-bottom: 5px;
      color: #333;
    }

    .resepsi-btn {
      display: inline-block;
      margin-top: 10px;
      padding: 12px 20px;
      border-radius: 8px;
      background: #c89d62;
      color: #fff;
      font-weight: bold;
      text-decoration: none;
      font-size: 1rem;
      transition: 0.3s;
    }

    .resepsi-btn:hover {
      background: #a6783a;
    }

    @media (max-width: 480px) {
      .resepsi-title {
        font-size: 1.3rem;
      }
      .resepsi-info {
        flex-direction: column;
        gap: 15px;
      }
    }

/* Galeri Foto Bergerak */
    .gallery-container {
      overflow: hidden;
      white-space: nowrap;
      margin-top: 20px;
    }

    .gallery-track {
      display: inline-block;
      animation: slide 30s linear infinite;
    }

    .gallery-track img {
      width: 100px;
      height: 100px;
      margin: 0 10px;
      object-fit: cover;
      border-radius: 10px;
      display: inline-block;
    }

    @keyframes slide {
      0% { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }

   /* ===== FOOTER ===== */
    .custom-footer {
      text-align: center;
      padding: 40px 20px 100px;
      background-image: url('img/bawah.jpg'); 
      background-size: cover;              /* biar penuh menyesuaikan */
  background-position: center;         /* fokus di tengah */
  background-repeat: no-repeat;        /* jangan diulang */
  color: white;
    }

    .footer-divider {
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 15px;
    }

    .footer-divider::before,
    .footer-divider::after {
      content: "";
      flex: 1;
      border-top: 1px solid #fff;
      margin: 0 10px;
    }

    .footer-divider i {
      font-size: 20px;
      color: #fff;
    }


    .social-icons {
      margin-top: 15px;
    }

    .social-icons a {
      font-size: 24px;
      margin: 0 10px;
      color: #fff;
      text-decoration: none;
      transition: color 0.3s;
    }

    .social-icons a:hover {
      color: #c89d62;
    }

  /* Gambar */
.ucapan-image {
  width: 250px;     /* custom ukuran */
  height: auto;
  margin-bottom: 8px;
} 
        .custom-hr {
  border: none;             /* hilangkan default border */
  height: 2px;              /* ketebalan garis */
  background-color: #000; /* warna garis (merah) */
  margin: 20px 0;           /* jarak atas-bawah */
  border-radius: 5px;       /* opsional: biar sudutnya membulat */
}


.icon-amplop {
  width: 23px;
  height: auto;
  vertical-align: middle;
  margin-right: -3px;
  margin-top: -5px;
}

/* Teks */
.ucapan-text1 {
  font-size: 20px; /* custom ukuran teks */
  color: orange;     /* custom warna */
  font-weight: 500;
}

/* Container ucapan */
.ucapan-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

/* Avatar */
.avatar-huruf{
  width:45px;
  height:45px;
  border-radius:50%;
  color:white;
  font-weight:bold;
  font-size:20px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.ucapan-avatar img{
  width:45px;
  height:45px;
  border-radius:50%;
  object-fit:cover;
}

/* ===============================
PREVIEW FOTO FORM
================================ */

#previewImg{
margin-top:10px;
width:70px;
height:70px;
border-radius:50%;
object-fit:cover;
border:2px solid #ddd;
}

/* Kotak pesan */
.ucapan-bubble {
  background: #DBDBDB;
  border-radius: 10px;
  padding: 10px 15px;
  margin-left: 15px;
  position: relative;
  max-width: 100%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Segitiga kecil (ekor chat) */
.ucapan-bubble::before {
  content: "";
  position: absolute;
  left: -10px;        
  top: 15px;          
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 12px solid #DBDBDB; 
}

/* =========================
MODAL ZOOM FOTO TAMU
========================= */

.modal-foto-tamu{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.85);
display:flex;
justify-content:center;
align-items:center;
z-index:9999;
opacity:0;
visibility:hidden;
transition:0.3s;
}

.modal-foto-tamu.show{
opacity:1;
visibility:visible;
}

.modal-foto-tamu img{
max-width:90%;
max-height:90%;
border-radius:10px;
}


/* tombol close */

.close-foto-tamu{
position:absolute;
top:20px;
right:25px;
font-size:35px;
color:white;
cursor:pointer;
font-weight:bold;
transition:0.3s;
}

.close-foto-tamu:hover{
transform:scale(1.2);
}

.ucapan-reaksi{
  margin-top:6px;
  display:flex;
  gap:8px;
}

.btn-reaksi{
  cursor:pointer;
  font-size:14px;
  background:#f5f5f5;
  padding:4px 8px;
  border-radius:8px;
  display:inline-flex;
  align-items:center;
  transition:0.2s;
}

.btn-reaksi:hover{
  background:#ffe4e1;
  transform:scale(1.05);
}

.btn-reaksi span{
  font-weight:bold;
  margin-left:4px;
}

/* Animasi emoji melayang */
.emoji-float {
  position: absolute;
  font-size: 18px;
  pointer-events: none;
  animation: floatEmoji 1s ease-out forwards;
  z-index: 10000;
}

@keyframes floatEmoji {
  0% { opacity: 1; transform: translateY(0px) scale(1); }
  50% { opacity: 1; transform: translateY(-20px) scale(1.3); }
  100% { opacity: 0; transform: translateY(-50px) scale(1); }
}
.btn-reaksi:not(.admin){
  opacity: 0.6;
  cursor: not-allowed;
}

.popup-balas{
position:fixed;
top:50%;
left:50%;
transform:translate(-50%, -50%);
width:100%;
height: 100%;
max-width:400px;
background:rgba(0,0,0,0.6);
display:none;
z-index:9999;
padding:10px;
}

.popup-balas-box{
background:white;
padding:20px;
border-radius:15px;
width:100%;
}

.popup-balas-box input,
.popup-balas-box textarea{
width:100%;
margin-top:8px;
padding:8px;
border-radius:6px;
border:1px solid #ccc;
}

.popup-btn{
margin-top:10px;
display:flex;
gap:10px;
}

.popup-btn button{
flex:1;
padding:10px;
border:none;
border-radius:6px;
cursor:pointer;
}

#kirimBalasan{
background:#28a745;
color:white;
}

#tutupBalasan{
background:#dc3545;
color:white;
}

.btn-balas{
display:inline-block;

font-size:9px;
font-weight:500;
color:#333;
background:#ffffff;
border:1px solid #333;
border-radius:10px;
cursor:pointer;
transition:all 0.3s ease;
}

/* efek saat disentuh */
.btn-balas:hover{
background:#333;
color:#fff;
}

/* efek saat ditekan */
.btn-balas:active{
transform:scale(0.95);
}

.balasan-admin {
    margin-top: -8px;
    padding: 10px;
    
    color: green;
    border-radius: 10px;
    font-size: 10px;
}

/* Header nama + kehadiran */
.ucapan-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #000;
  padding-bottom: 4px;
  margin-bottom: 6px;
}

.ucapan-nama {
  font-weight: bold;
  color: #333;
  font-size: 12px;
}

.ucapan-kehadiran {
  font-size: 10px;
}

/* Pesan */
.ucapan-text {
  margin: 5px 0;
  font-size: 12px;
  color: #333;
  font-weight: bold;
}

/* Waktu */
.ucapan-waktu {
  font-size: 12px;
  color: #888;
}


.form-balasan {
    margin-top: 10px;
    padding: 10px;
    background: #fffaf7;
    border: 1px dashed #c89a91;
    border-radius: 6px;
}
/* Badge Kehadiran */
.badge-hadir {
  background: #85735c;
  color: #fff;
  font-size: 12px;
  border-radius: 5px;
  padding: 2px 6px;
}
.badge-tidak {
  background: #c0392b;
  color: #fff;
  font-size: 12px;
  border-radius: 5px;
  padding: 2px 6px;
}
/* Container semua ucapan */
#data {
  max-height: 500px;   /* kira-kira muat 4 ucapan */
  overflow-y: auto;    /* aktifkan scroll vertikal */
  padding-right: 5px;  /* biar ga nempel scrollbar */
}

/* Scrollbar custom (opsional, biar lebih cantik) */
#data::-webkit-scrollbar {
  width: 6px;
}
#data::-webkit-scrollbar-thumb {
  background: #fff;
  border-radius: 3px;
}
#data::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.stat-box {
    flex: 1;                   /* biar bagi rata lebarnya */
    padding: 10px 10px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.stat-box .angka {
    font-size: 18px;
    line-height: 1.2;
}
/* class border-emas */
.border-emas {
    border: 2px solid #000 !important;  /* warna emas */
    border-radius: 8px;                    /* biar lebih elegan */
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}


.foot {
            display: flex;
            justify-content: center;
            margin-bottom: 0px;
        }

        .foot img {
  width: 180px;
  height: auto;
  display: block; /* biar rapi */
  margin: 0 auto; /* tengah kalau perlu */   
}
.om {
            display: flex;
            justify-content: center;
            margin-bottom: 0px;
        }

        .om img {
  width: 180px;
  height: auto;
  display: block; /* biar rapi */
  margin-top: -10px;
}

.santi {
            display: flex;
            justify-content: center;
            margin-bottom: 60px;
        }

        .santi img {
  width: 200px;
  height: auto;
  display: block; /* biar rapi */
  margin: 0 auto; /* tengah kalau perlu */   
}

.map-container {
    border: 5px solid #c49a6c;
    border-radius: 10px;
    overflow: hidden;
    margin: 10px 0;
}

/* Style tombol audio */
.audio-control {
  position: fixed;
  bottom: 20px;   /* jarak dari bawah */
  right: 20px;    /* jarak dari kanan */
  z-index: 999;  /* biar selalu di atas elemen lain */
  border: none;
  background: none;    
  cursor: poin
  padding: 0;  
}

.audio-control img {
  width: 10px;   /* ukuran ikon */
  height: 20px;
}

 /* Navbar bawah */
     

    #home { background: #ffecec; }
    #profil { background: #fff7e6; }
    #acara { background: #e6fff3; }
    #galeri { background: #e6f0ff; }
    #musik { background: #f4e6ff; }

    /* Navbar bawah */
    .navbar-bawah {
      position: absolute;
      bottom: -40px;
      left: 73px;
      width: 60%;
      background-image: url('img/background1.jpg');
      display: flex;
      justify-content: space-around;
      align-items: center;
      padding: 12px 0;
      border-radius: 30px;
      
      box-shadow: 0 -2px 6px rgba(0,0,0,0.2);
      z-index: 1000;
    }

    .navbar-bawah a {
      text-decoration: none;
      color: #5b0c0c; /* warna default */
      font-size: 1.4rem;
      transition: transform 0.2s, color 0.2s;
    }

    .navbar-bawah a:hover {
      transform: scale(1.2);
      color: #8b1a1a;
    }

    .navbar-bawah a.active {
      color: #d12b2b; /* warna aktif */
    }

    7width: width: width: width: width: ;;;;;
    }

    @media (max-width: 480px) {
      .navbar-bawah a {
        font-size: 1.4rem;
      }
    }

/* .foto-klien {
  filter: blur(8px);
  -webkit-filter: blur(12px);
}
 */
