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

body {
  line-height: 1.6;
  background: transparent; /* putih polos dulu */
  color: #333;
  text-align: center;
  overflow-x: hidden;
}
html, body {
  width: 100%;
  overflow-x: hidden;
}
html.no-scroll,
body.no-scroll {
  overflow: hidden !important;
  height: 100vh;
}
.no-scroll .rightside {
  overflow: hidden !important;
}
@media (min-width: 576px) {
  .no-scroll .rightside {
    overflow: hidden !important;
  }
}

/* Layout utama */
.layout {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* Bagian kiri */
.leftside {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.side-image {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;      
}

.side-text {
  position: absolute;       /* nempel di .leftside */
  top: 50%;                 /* geser ke tengah vertikal */
  left: 50%;                /* geser ke tengah horizontal */
  transform: translate(-50%, -50%); /* beneran center */
  z-index: 2;               /* di atas gambar */
  color: #0d431c;             /* biar kontras */
  text-align: center;       /* teks rata tengah */
  padding: 1rem;
}

/* Aturan untuk teks di side-text */
.side-text h2 {
  font-size: 1rem;     /* ukuran sedang */
  font-weight: 400;      /* normal */
  letter-spacing: 2px;   /* jarak antar huruf */
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.368);
}

.side-text h1 {
  font-size: 3rem;       /* besar */
  font-weight: bold;      /* tebal */
  line-height: 1.2;
  margin: 0.5rem 0;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.side-text p {
  font-size: 1.2rem;
  font-weight: 300;      /* lebih ringan */
  margin-top: 0.5rem;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

/* Background global untuk rightside */
.rightside::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("img/background.webp") no-repeat center center;
  background-size: contain;        /* sesuai ukuran asli gambar */
  background-attachment: fixed;    /* tetap saat scroll */
  z-index: -1;
}

/* Tablet & HP: center-center */
@media (max-width: 991.98px) {
  .rightside::before {
    background-position: center center;
    background-size: cover;
  }
}

/* Desktop: right-center */
@media (min-width: 992px) {
  .rightside::before {
    background-position: right center;
    background-size: contain;
  }
}

/* Rightside wrapper */
.rightside {
  flex: 1;
  display: flex;
  justify-content: center;
  overflow-y: auto;
  position: relative;
  z-index: 1; /* supaya konten di atas background */
}

.rightside-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
  min-height: 100vh;
  box-sizing: border-box;
  background: transparent;
}

/* Mobile: kunci max 430px */
@media (max-width: 575.98px) {
  .rightside-container {
    max-width: 430px;
  }
}

/* Tablet: lebih lebar */
@media (min-width: 576px) and (max-width: 991.98px) {
  .rightside-container {
    height: 100vh; /* penuh tinggi layar */
    width: calc(100vh * (1080 / 1920)); /* lebar = tinggi layar * rasio */
    max-width: 100vw; /* jangan dibatasi */
  }
  .rightside::before {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("img/background.webp") no-repeat center center;
    background-size: contain;        /* sesuai ukuran asli gambar */
    background-attachment: fixed;    /* tetap saat scroll */
    z-index: -1;
  }
}
/* Desktop: rapat kiri */
@media (min-width: 992px) {
  .rightside-container {
    max-width: 860px;   /* atau lebih besar sesuai kebutuhan */
    margin-left: auto;
    margin-right: 0;
  }
}

.cormorant-font {
  font-family: "Cormorant", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.raleway-font {
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}


/* ================= COVER ================= */
/* Lock scroll */
.no-scroll {
  overflow: hidden;
  height: 100vh;
}

.cover {
  position: relative; /* penting supaya pseudo-element bisa absolute di dalam */
  height: 100vh;
  display: flex; 
  justify-content: center; 
  align-items: center;
  text-align: center; 
  color: #1e371a; 
  padding: 1rem;
  background: url('img/cover.webp') no-repeat center;
  background-size: cover;
  overflow: hidden;
}

.cover::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0; top: 0;
  background: linear-gradient(to top, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 50%);
  z-index: 1;
}

.cover-content {
  position: relative;
  z-index: 2; /* biar konten tidak ketutup gradasi */
  max-width: 600px;
}

.guest-box {
  background: #fff;
  border-radius: 20px;
  padding: 1rem 1.5rem;
  margin-top: 1rem;
  display: flex;              /* ubah flex column */
  flex-direction: column;     /* biar isi bertumpuk ke bawah */
  align-items: center;        /* rata tengah */
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}


.guest-box h3 {
  font-size: 1.2rem;
  margin: 0 0 0rem;
  color: #1e371a;
}

.guest-box .note {
  font-size: 0.75rem;
  font-style: italic;
  margin: 0;
  color: #444;
  margin-bottom: 1rem;
}

.cover h4, .cover h1, .cover > p, .cover > h3 { opacity: 0; }
.cover h4 { font-size: 1.5rem; margin-bottom: 0.5rem;  }
.cover h1 { font-size: 3rem; margin-bottom: 1.5rem; font-weight: bold; }
.cover h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.cover p.small-text { font-size: 1rem; margin-bottom: 0rem; }
.cover p.note { font-size: 0.7rem; font-style: italic; margin-bottom: 0rem; color: #444444; }

/* Button */
.cover .btn {
  padding: 0.8rem 1.8rem;
  background: #1e371a; color: #f3fbf2; border: none;margin-top: 1rem;
  border-radius: 25px; cursor: pointer; font-size: 1rem;
  transition: all 0.2s ease-in-out;
}
.cover .btn:hover { background: #f3fbf2; color: #1e371a; transform: scale(0.9); }

/* Animations Cover */
@keyframes zoomIn {
  0% { transform: scale(0.3); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes fadeUp {
  0% { transform: translateY(40px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.zoom-in { animation: zoomIn 1.2s ease forwards; }
.fade-up { animation: fadeUp 1.2s ease forwards; }

.cover h4 { animation-delay: 0.3s; }
.cover h1 { animation-delay: 0.9s; }
.cover p.small-text { animation-delay: 1.5s; }
.cover h3 { animation-delay: 2.1s; }
.cover p.note { animation-delay: 2.7s; }
.cover .btn { animation-delay: 3.3s; }

/* ================= SLIDE 1 ================= */
.slide1-section{
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: center;
  background: transparent; 
  padding: 3rem 1rem;
  text-align: center;
}
.slide1-inner {
  max-width: 430px;
  padding: 2rem;
  background: #ffffffbd;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  text-align: center;
}

.slide1-section .ornament {
  width: 120px; margin: 0 auto 1rem; display: block;
}
.slide1-section .arabic { font-weight: bold; margin-bottom: 1rem; }
.slide1-section .doa { margin-bottom: 1.5rem; }
.slide1-section .nama { font-size: 2rem; color: #0d431c; margin-bottom: 0.5rem; font-weight: bold; }
.slide1-section .lengkap { font-size: 1.8rem; margin-bottom: 1rem; }
.slide1-section .status { font-weight: bold; margin-bottom: 0rem; }
.slide1-section .ortu { margin-bottom: 1rem; }
.slide1-section .dan { font-size: 3rem; margin-bottom: 2rem;}
.slide1-section .ig {
  display: inline-flex; /* supaya icon & text sejajar */
  align-items: center;
  gap: 6px;             /* otomatis kasih jarak 6px antara icon & teks */
  padding: 0.5rem 1.2rem;
  border-radius: 25px; 
  background: #193d2f; 
  color: #fff;
  text-decoration: none; 
  transition: transform 0.3s ease; 
  margin-bottom: 2rem;
}

.slide1-section .ig:hover { 
  transform: scale(0.95); 
}

/* Reveal Animation on Scroll */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

.reveal, .fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active, .fade-in-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* ================= COUNTDOWN SECTION ================= */
.countdown-section {
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: center;
  background: #0d431c; 
  padding: 3rem 1rem;
  text-align: center;
}

.countdown-section .title {
  font-size: 2.2rem; 
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: #fefefe; 
}
/* ==== REPLACE / OVERRIDE: Countdown (paste this at the end of style.css) ==== */

/* wrapper supaya grid benar-benar bisa disejajarkan di tengah */
.countdown-wrapper {
  display: flex;
  justify-content: center; /* center horizontal */
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

/* grid yang 'shrink-to-fit' => tidak meluas penuh parent */
.simply-countdown {
  display: grid !important;                 /* kunci: shrink-to-fit */
  grid-template-columns: repeat(2, auto); /* 2 kolom, lebar kolom tetap */
  gap: 1.4rem;                          /* jarak antar kotak */
  justify-items: center;
  align-items: center;
  text-align: center;
  white-space: nowrap;                  /* hindari wrap yang tak diinginkan */
  margin: 0 auto;                      /* benar-benar center */
  overflow: visible !important;
}

/* gaya kotak countdown */
.simply-countdown > .simply-section {
  float: none !important;
  width: 140px;
  height: 140px;
  border-radius: 22px;
  background: #fff;
  color: #0d431c;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  padding: 0.25rem;
  margin: 0 auto;
}

/* angka + label */
.simply-countdown > .simply-section .simply-amount {
  font-size: 2.15rem;
  font-weight: 700;
  line-height: 1;
}
.simply-countdown > .simply-section .simply-word {
  font-size: 0.95rem;
  margin-top: 0.35rem;
}

/* small screen: tetap 2 kolom kalau muat, jika terlalu sempit jadi 1 kolom */
@media (max-width: 480px) {
  .simply-countdown {
    grid-template-columns: repeat(2, 100px);
    gap: 1rem;
  }
  .simply-countdown > .simply-section {
    width: 100px;
    height: 100px;
    border-radius: 18px;
  }
}

/* very small / portrait phones -> 1 kolom */
@media (max-width: 340px) {
  .simply-countdown {
    grid-template-columns: 1fr;
    display: inline-grid; /* masih shrink-to-fit */
  }
  .simply-countdown > .simply-section {
    width: 260px;         /* batasi agar tetap enak dibaca */
    max-width: calc(100vw - 40px);
    height: auto;
    padding: 1rem 0;
  }
}

/* (Opsional) debug visual — aktifkan sementara jika masih tampak bergeser:
.countdown-wrapper { outline: 2px dashed rgba(255,255,255,0.12); }
.simply-countdown { outline: 1px dotted rgba(0,0,0,0.1); }
*/

/* Tombol */
.save-date-btn {
  background: #fff; 
  color: #0d431c;
  margin-top: 1rem;
  padding: 0.7rem 1.7rem; 
  border-radius: 50px;
  text-decoration: none; 
  font-weight: bold;
  transition: transform 0.3s ease;
}
.save-date-btn i {
  font-size: 1.2rem;          /* ukuran ikon */
  margin-right: 6px;
}
.save-date-btn:hover { transform: scale(0.95); }

/* Responsif */
@media (max-width: 480px) {
  .simply-countdown {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .simply-countdown > .simply-section {
    width: 100px; 
    height: 100px;
  }
  .simply-countdown > .simply-section .simply-amount {
    font-size: 1.5rem;
  }
}

/* ================= SLIDE AKAD ================= */
.akad-section{
  min-height:100vh;
  display:flex;justify-content:center;align-items:center;
  padding:3rem 1rem;
}

/* Wadah kartu */
.akad-card{
  position:relative;
  width:min(92vw, 720px);   /* BESARKAN di sini jika ingin lebih lebar */
  margin:0 auto;
  text-align:center;
}

.akad-frame {
  width:100%;
  height: auto;
  transform: scaleY(1.1);
  transform-origin: top;
  z-index:0;
}

/* Konten di atas gambar */
.akad-content{
  position:absolute;
  inset:0;
  z-index:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;

  /* ruang aman di dalam bingkai
     persen mengikuti LEBAR kartu → ikut membesar/kecil otomatis */
  padding: 16% 10% 14%;    /* top | kanan/kiri | bottom → SILAKAN SESUAIKAN */
  transform: translateY(1.4rem);
}

/* Tipografi (pakai warna Anda sebelumnya bila perlu) */
.akad-content h2{
  font-size:1.8rem; margin-bottom:0rem; letter-spacing:1px; color:#fefefe; font-weight: bold;
}
.akad-content hr{
  width:60%; border:0; border-top:2px solid #fefefe; margin-bottom: 1rem; margin-top: 0rem;
}
.akad-content h3{
  font-size:1.5rem; margin-bottom:0rem; color:#fefefe;
}
.akad-date{ font-size:3rem; font-weight:bold; color:#fefefe; }
.akad-month{ font-size:1.2rem; margin-bottom:0rem; letter-spacing:1px; color:#fefefe; }
.akad-time{ font-size:1.1rem; margin-bottom:0rem; color:#fefefe; }
.akad-content h4{ margin:1rem 0 0.3rem; font-size:1.2rem; color:#fefefe; text-decoration: underline; }
.akad-place{ font-weight:bold; margin-bottom:0.5rem; color:#fefefe; }
.akad-address{ font-size:0.95rem; margin-bottom:0.2rem; line-height:1.5; color:#fefefe; }

.maps-btn{
  display:inline-block; background:#fefefe; color:#0d3c16; font-size: 0.8rem;
  padding:0.5rem 1.3rem; border-radius:50px; text-decoration:none; font-weight:bold;
  margin-top: 0.5rem;
  transition:transform .3s ease, background .3s ease;
}
.maps-btn i {
  margin-right: 6px;
}
.akad-time i {
  margin-right: 6px;      /* kasih warna senada dengan tema */
}
.maps-btn:hover{ background:#0d3c21; color:#fff; transform:scale(.95); }

/* Responsif: sedikit besar di tablet+ */
@media (min-width:768px){
  .akad-card{ width:min(86vw, 760px); }
  .akad-content{ padding: 15% 10% 13%; }
}

/* ================= SLIDE RESEPSI ================= */
.resepsi-section{
  min-height:100vh;
  display:flex;justify-content:center;align-items:center;
  padding:3rem 1rem 5rem;
}

.resepsi-card {
  position: relative;
  width: min(92vw, 720px);
  margin: 0 auto;
  text-align: center;
  z-index: 1;
  padding-bottom: 3rem; /* biar frame bawah tidak nabrak */
}

/* Spacer khusus supaya ornamen hijau tidak nempel Live */
.resepsi-section::after {
  content: "";
  display: block;
  height: 3rem; /* tinggi tambahan */
}
/* Wadah kartu */
.resepsi-card{
  position:relative;
  width:min(92vw, 720px);   /* BESARKAN di sini jika ingin lebih lebar */
  margin:0 auto;
  text-align:center;
}

/* Gambar bingkai — selalu utuh, tidak terpotong */
.resepsi-frame{
  width:100%;
  height: auto;
  transform: scaleY(1.1);
  transform-origin: top;
  z-index:0;
}

/* Konten di atas gambar */
.resepsi-content{
  position:absolute;
  inset:0;
  z-index:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;

  /* ruang aman di dalam bingkai
     persen mengikuti LEBAR kartu → ikut membesar/kecil otomatis */
  padding: 16% 10% 14%;    /* top | kanan/kiri | bottom → SILAKAN SESUAIKAN */
  transform: translateY(0rem);
}

/* Tipografi (pakai warna Anda sebelumnya bila perlu) */
.resepsi-content h2{
  font-size:1.8rem; margin-bottom:0rem; letter-spacing:1px; color:#fefefe; font-weight: bold;
}
.resepsi-content hr{
  width:40%; border:0; border-top:2px solid #fefefe; margin-bottom: 1rem; margin-top: 0rem;
}
.resepsi-content h3{
  font-size:1.5rem; margin-bottom:0rem; color:#fefefe;
}
.resepsi-date{ font-size:3rem; font-weight:bold; color:#fefefe; }
.resepsi-month{ font-size:1.2rem; margin-bottom:0rem; letter-spacing:1px; color:#fefefe; }
.resepsi-time{ font-size:1.1rem; margin-bottom:0rem; color:#fefefe; }
.resepsi-content h4{ margin:1rem 0 0.3rem; font-size:1.2rem; color:#fefefe; text-decoration: underline; }
.resepsi-place{ font-weight:bold; margin-bottom:0.5rem; color:#fefefe; }
.resepsi-address{ font-size:0.95rem; margin-bottom:0.2rem; line-height:1.5; color:#fefefe; }

.maps-btn{
  display:inline-block; background:#fefefe; color:#0d3c16; font-size: 0.8rem;
  padding:0.5rem 1.3rem; border-radius:50px; text-decoration:none; font-weight:bold;
  margin-top: 0.5rem;
  transition:transform .3s ease, background .3s ease;
}
.maps-btn i {
  margin-right: 6px;
}
.resepsi-time i {
  margin-right: 6px;      /* kasih warna senada dengan tema */
}
.maps-btn:hover{ background:#0d3c21; color:#fff; transform:scale(.95); }

/* Responsif: sedikit besar di tablet+ */
@media (min-width:768px){
  .resepsi-card{ width:min(86vw, 760px); }
  .resepsi-content{ padding: 15% 10% 13%; }
}

/* ================= LIVE STREAMING ================= */
.live-section {
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: center;
  background: #0d431c; /* hijau muda */
  padding: 3rem 1rem;
  text-align: center;
}
.live-card {
  max-width: 600px;
  padding: 2rem;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  text-align: center;
}
.live-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #0d431c;
  font-weight: bold;
}
.live-text {
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}
.live-btn {
  display: inline-block;
  background: #14532d;
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s ease, background 0.3s ease;
}
.live-btn i {
  margin-right: 8px;
}
.live-btn:hover {
  background: #0d3c21;
  transform: scale(0.95);
}

/* Fade in up animation */
.fade-in-up { opacity: 0; transform: translateY(60px); transition: all 0.8s ease; }
.fade-in-up.active { opacity: 1; transform: translateY(0); }

/* ================= RSVP SECTION ================= */
.rsvp-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 1rem;
  background: #ffffffbd;
}

.rsvp-section h2 {
  font-size: 2rem;
  color: #0d431c;
  margin-bottom: 1rem;
  font-weight: bold;
}

.rsvp-section p {
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  color: #333;
}

/* RSVP Form */
.rsvp-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.rsvp-form .form-control,
.rsvp-form .form-select {
  padding: 0.8rem 1rem;
  border: 1px solid #ccc;
  border-radius: 12px;
  font-size: 1rem;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.rsvp-form .form-control:focus,
.rsvp-form .form-select:focus {
  border-color: #14532d;
  box-shadow: 0 0 0 0.2rem rgba(20, 83, 45, 0.25);
  outline: none;
}

/* Submit Button override Bootstrap */
.rsvp-form .btn-primary {
  background: #14532d;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.rsvp-form .btn-primary:hover {
  background: #0d3c21;
  transform: scale(0.97);
}


/* ================= WISHES SECTION ================= */
.wishes-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 1rem;
  background: #0d431c;   /* hijau tua biar kontras */
}

.wishes-card {
  width: 100%;
  max-width: 600px;
  padding: 2rem 1.5rem;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  text-align: center;
}

.wishes-card h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #0d431c;
  font-weight: bold;
}

.wishes-card p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  color: #333;
}

/* Form Wishes */
.wishes-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.wishes-form .form-control,
.wishes-form textarea {
  padding: 0.9rem 1rem;
  border: 1px solid #ccc;
  border-radius: 12px;
  font-size: 1rem;
  resize: none;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.wishes-form .form-control:focus,
.wishes-form textarea:focus {
  border-color: #14532d;
  box-shadow: 0 0 0 0.2rem rgba(20, 83, 45, 0.25);
  outline: none;
}

.wishes-form button {
  align-self: center;
  background: #14532d;
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  border: none;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wishes-form button:hover {
  background: #0d3c21;
  transform: scale(0.95);
}
/* Tombol Kirim di Ucapan & Doa */
.wishes-card .btn-primary {
  background: #0d431c;   /* hijau tua */
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.wishes-card .btn-primary:hover {
  background: #fefefe;  /* lebih gelap pas hover */
  transform: scale(0.97);
}

.wishes-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}


/* Responsif */
@media (max-width: 480px) {
  .wishes-card h2 { font-size: 1.6rem; }
  .wishes-form button { width: 100%; }
}

/* ==== Wishes Styling ==== */

.wishes-container {
  max-height: 400px; /* area bisa discroll */
  overflow-y: auto;
  padding: 1rem;
  margin-bottom: 1rem;
}


/* Pagination selalu di bawah card */
.wishes-pagination {
  bottom: 0;
  background: #fff;
  padding: 0.5rem 0;
  text-align: center;
  z-index: 5;
  border-top: 1px solid #ddd;
}

/* Tombol Kirim di Ucapan & Doa */
.wishes-card .btn {
  background: #0d3c21;       /* hijau tua */
  color: #fff;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wishes-card .btn:hover {
  background: #0b2a1a;
  transform: scale(0.95);
}

/* ==== Pagination Styling ==== */
.pagination {
  display: inline-flex; /* rata tengah */
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 6px; /* jarak antar tombol */
}

.pagination .page-item {
  display: inline-block;
}

.pagination .page-link {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 10px;
  background: #14532d;   /* hijau */
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.pagination .page-link:hover {
  background: #0d3c21;   /* lebih gelap saat hover */
}

.pagination .page-item.active .page-link {
  background: #0a2a15;   /* hijau paling gelap */
  font-weight: bold;
}

.pagination .page-item.disabled .page-link {
  background: #ccc;
  color: #666;
  cursor: not-allowed;
}

/* ================= TERIMA KASIH ================= */
.thanks-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 1rem;
  background: #ffffffbd;
}

.thanks-card {
  text-align: center;
  max-width: 700px;
  padding: 2rem;
  background: rgba(255, 255, 255, 0);
  animation: fadeUpSmooth 1.5s ease forwards;
  opacity: 0;
}

.thanks-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #0d431c;
  font-weight: bold;
}

.thanks-text {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  color: #444;
}

.thanks-doa {
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: #333;
}

.thanks-subtitle {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #444;
}

.thanks-names {
  font-size: 2rem;
  font-weight: bold;
  color: #0d431c;
  margin-bottom: 2rem;
}

/* Sosial Media Icons */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}
.social-icons img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}
.social-icons img:hover {
  transform: scale(1.2);
}

.contact {
  font-size: 0.9rem;
  color: #555;
  margin-top: 1rem;
}

/* Animasi smooth fade-up */
@keyframes fadeUpSmooth {
  0% { opacity: 0; transform: translateY(50px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ================= BRILLIANA ================= */
.brilliana-section {
  display: flex;
  flex-direction: column; /* urut dari atas ke bawah */
  align-items: center;    /* semua di tengah */
  text-align: center;     /* teks rata tengah */
  padding: 2rem 1rem;
  background-color: #0d3c16;
}

.brilliana-title {
  font-size: 1.2rem;
  margin-bottom: 1rem; /* jarak ke div */
  color: #f0f9ef;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #f8f9fa; /* warna abu-abu terang */
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: #e9ecef;
  transform: scale(1.1);
}

.contact {
  font-size: 0.9rem;
  color: #e9ffe9;
}

#audio-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

.audio-icon-wrapper {
  width: 3rem;
  height: 3rem;
  font-size: 0;                /* 🔥 jangan pakai font-size di wrapper */
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  cursor: pointer;
  color: #0d431c;
  opacity: 0.7;
  mix-blend-mode: difference;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 0;
    /* frame putih */
  background: #fefefe;
  border-radius: 50%;  
}

.audio-icon-wrapper i {
  font-size: 3rem;             /* 🔥 atur ukuran ikon di sini */
  display: block;
  animation: rotating 4s linear infinite;
  transform-origin: center center;
}

.audio-icon-wrapper.paused i {
  animation: none;
}

@keyframes rotating {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* === FIX: scroll di HP & Tablet, panel di Desktop === */

/* Desktop (≥ 992px): panel kanan fix 430px, kiri ambil sisa */
@media (min-width: 992px) {
  .layout {
    display: flex;
    height: 100vh;
    overflow: hidden;
  }

  .leftside {
    flex: 1;                  /* ambil sisa ruang */
    position: sticky;
    top: 0;
    height: 100vh;
  }

  .rightside {
    flex: 0 0 auto;           /* kunci lebar 430px */
    height: 100vh; /* penuh tinggi layar */
    width: calc(100vh * (1080 / 1920)); /* lebar = tinggi layar * rasio */
    max-width: 100vw; /* jangan dibatasi */
    margin-left: auto;         /* tempel ke kanan */
    height: 100vh;
    overflow-y: auto;          /* scroll isi */
    background: url("img/background.webp") no-repeat center center;
    background-size: cover;    /* penuh panel kanan */
    box-shadow: -4px 0 12px rgba(0,0,0,0.1);
  }

  .rightside-container {
    width: 100%;
    height: 100vh; /* penuh tinggi layar */
    width: calc(100vh * (1080 / 1920)); /* lebar = tinggi layar * rasio */
    max-width: 100vw; /* jangan dibatasi */
    margin: 0 auto;           /* isi tetap center di dalam panel */
    min-height: 100vh;
  }
}

/* HP & Tablet (< 992px): leftside hilang, body yang scroll */
@media (max-width: 991.98px) {
  html, body {
    height: auto;
    overflow-y: auto;        /* aktifkan scroll halaman */
  }
  .layout {
    display: block;
    height: auto !important;     /* JANGAN 100vh */
    overflow: visible !important;/* lepas perangkap overflow */
  }
  .leftside { display: none !important; }
  /* iOS Safari suka bermasalah dengan background fixed */
  body { background-attachment: scroll; }
}

/* === Tampilkan side-image hanya di laptop/desktop === */
.side-image {
  display: none; /* default: sembunyikan */
}

@media (min-width: 992px) {
  .side-image {
    display: block; /* tampilkan lagi di laptop/desktop */
  }
}
