/* ==================================================
   1. SETUP, VARIABEL & BASE STYLE
   ================================================== */

:root {

  --bg: #C8F28A;        /* hijau langit */
  --accent: #D3A24B;    /* emas ornamen */
  --roof: #C46928;      /* atap jingga */
  --wood: #4B2B1A;      /* coklat kayu */
  --path: #E2D4B5;      /* jalan */

  --shadow: 0 2px 2px rgba(0,0,0,0.5);
}

html, body {
    overflow-x: hidden; /* Mencegah layar geser ke samping di HP */
    width: 100%;
    position: relative;
}

/* Supaya perpindahan layar terasa halus/bergeser, bukan melompat kaget */
html {
    scroll-behavior: smooth !important;
}

section {
    scroll-margin-top: 70px; /* Angka ini menyesuaikan tinggi navbar kamu */
}

/* ==============================
   ANIMASI SLIDE HALUS PER SECTION
   ============================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 2s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}


body {
    font-size: 1.2rem;
    font-family: "Work Sans", sans-serif;
    min-height: 100vh;
}

/* ==================================================
   2. HERO SECTION (Halaman Depan)
   ================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    cursor: pointer;
}

.hero-icon {
  width: 250px;
  height: 250px;
  margin: 0 auto 1rem auto;

  background-image: url("img/java/icon-cover.PNG");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent !important; /* Menghilangkan warna putih */
    border: none !important;                 /* Menghilangkan garis pinggir */
    padding: 0 !important;                    /* Menghilangkan spasi antara gambar dan bingkai */


}

.hero main {
    padding-top: 100px; /* Ubah angka ini untuk mengatur seberapa jauh turun ke bawah */
}

/* Pastikan teks di dalam container tetap di atas video */

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(img/java/cover.jpg);
    background-size: cover;
    background-position: center;
    z-index: -1;
    filter: brightness(1.1);
    /* filter: blur(1px); */
}

.lottie-bg {
  position: absolute;
  inset: 0;
  z-index: -1;              /* Lebih rendah dari video & background */
  pointer-events: none;    /* Tidak ganggu klik */
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-container {
  position: absolute;
  inset: 0;
  z-index: -1;              /* Lebih rendah dari video & background */
  pointer-events: none;    /* Tidak ganggu klik */
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero h1, .hero h4, .hero p {
    /* text-shadow: var(--shadow); */
}

.hero h1 {
    font-family: 'Tangerine';
    font-size: 4rem;
    color: #8d4d1f;
}

.hero h4 {
    font-size: 1rem;
    margin-top: 0;
    margin-bottom: 0;
    color: #8d4d1f;
}

.hero p {
    font-size: 1rem;
    color: #8d4d1f;
}

.hero a {
    color: #E2D4B5;
    background-color: #8d4d1f;
}

.hero a:hover {
    background-color: #562f13;
    color: white;
}

/* ==================================================
   3. NAVBAR & MENU
   ================================================== */

.navbar {
    transition: all 0.5s ease; /* Transisi halus untuk warna & posisi */
    opacity: 0;
    top: -100px;
    position: fixed;
    width: 100%;
    z-index: 999; /* Z-index dasar */
    padding: 1rem 0; /* Padding awal agak renggang */
    color: #C46928;
}

.navbar a{
    color: #8d4d1f;
}

.navbar.show {
    opacity: 1;
    top: 0;
}

.navbar-scrolled {
    background-color: #8d4d1f !important; /* Lebih solid biar tulisan kebaca */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.5rem 0; /* Memadat saat scroll */
    box-shadow: 0 2px 10px #2b2b2b;
}

.mynavbar {
    background-color: rgba(255,255,255,0.5) !important;
    backdrop-filter: blur(4px);
    z-index: 1030;
    overflow: visible !important;
}

.mynavbar .navbar-brand, 
.mynavbar .offcanvas-title {
    font-family: 'Tangerine';
    font-size: 3.2rem;
    font-weight: bold;
}

.mynavbar .nav-link {
    text-transform: uppercase;
}

.mynavbar, .sticky-top { overflow: visible !important; }



/* Offcanvas (Menu Burger di HP) */
.offcanvas {
    background-color: #8d4d1f !important;
    color: #2b2b2b !important;
    height: 100vh;
    width: 400px;
    z-index: 1050 !important; /* Angka keramat biar selalu paling depan */
    visibility: visible !important;
}

.offcanvas .nav-link {
    color: #efefb6 !important;
    font-size: 1.2rem;
    padding: 10px 0;
}

.offcanvas .btn-close {
    background-color: transparent;
    color: #efefb6;
    opacity: 1;
}

.offcanvas .offcanvas-title {
    color: #efefb6;
}

/* ==================================================
   4. SECTION AYAT (QUOTE) → #home
   ================================================== */

#home {
    position: relative;
    min-height: 100vh; /* Standar */
    min-height: 100svh; /* Solusi untuk Mobile Chrome/Safari agar tidak melompat */
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 1; /* Memberi konteks tumpukan */
    padding-top: 10rem;
    padding-bottom: 8rem;
    
}

#home::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-image: url("img/java/A.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    /* PENTING: Jangan gunakan background-attachment: fixed di mobile */
    z-index: -1;
    filter: brightness(1.1);
}

#home .quote-card {
  /* border-radius: 50px; */
  padding: 3rem 2rem;
  /* border: 2px solid #F1DED7;
  background-color: rgba(51, 91, 101, 5); */
  background-color: #efefb6;  /* warna hijau seperti kaca */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid #C46928;
  border-radius: 12px;
  padding: 20px;
  box-shadow: #4B2B1A;
  opacity: 0.9;
}

#home .quote-card .basmalah {
  font-size: 1.5rem;
  color: #C46928;
  margin-bottom: 1rem;
  font-weight: normal;
}

#home .quote-card .arabic {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: #C46928;
  line-height: 3rem;
  direction: rtl;
}

#home .quote-card .translation {
  font-family: 'Work Sans';
  font-size: 1.1rem;
  color: #C46928;
  line-height: 1.8;
  margin-bottom: 1rem;
}

#home .quote-card .surah {
  font-weight: bold;
  font-size: 0.9rem;
  color: #C46928;
}

.lottie-bg-1 {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: start;
  
  /* GANTI margin-top dengan ini */
  transform: translateY(70px); /* Ubah angka ini untuk turun (positif) atau naik (negatif) */
}

/* ==================================================
   5. HOME (MEMPELAI) → SECTION .home-2
   ================================================== */

.home-2 {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    width: 100%;
    overflow: hidden;
    z-index: 1;
    padding-top: 10rem;
    padding-bottom: 8rem;
}

.home-2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-image: url("img/java/A.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -1;
    filter: brightness(1.1);
}

.home-2 h2 {
  font-family: 'Tangerine';
  font-size: 4rem;
  font-weight: bold;
  color: #8d4d1f;

}

.home-2 h3 {
  color: #8d4d1f;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-family: 'Work Sans';
margin-right: 12px;
  margin-left: 12px;
}

.home-2 p {
  font-size: 1.1rem;
  color: #8d4d1f;
  font-family: 'Work Sans';
    margin-right: 12px;
  margin-left: 12px;
}

.home-2 .couple {
  margin-top: 2rem;
}

.video-1 {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: start;
  
  /* GANTI margin-top dengan ini */
  transform: translateY(70px); /* Ubah angka ini untuk turun (positif) atau naik (negatif) */
}

/* ==================================================
   FOTO MEMPELAI
   ================================================== */

.couple-img {
  width: 150px;
  height: 200px;
  object-fit: cover;
  border-radius: 20%;
  border: 2px solid #C46928;
}

.couple h3 {
  font-family: 'Tangerine';
  font-size: 4rem;
  color: #C46928;
}

.heart {
  width: 70px;
  height: 70px;
  background: #C46928;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.heart i {
  font-size: 2rem;
  color: #F1DED7;
}

.and-symbol {
  font-family: 'Tangerine';
  font-size: 3rem;
  color: #C46928;
  display: inline-block;
  margin: 2rem 0;
}

/* ==================================================
   6. INFO SECTION (PETA & JADWAL)
   ================================================== */
.info {
    color: #C46928;
    padding-top: 10rem;
    padding-bottom: 8rem;
}

#info::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url("img/java/A.jpg");
  background-size: cover;
  background-position: center;
  z-index: -1;
  filter: brightness(1.1);
}

.alamat {
    color: #C46928;
}
.info a {
    background-color: #C46928;
    color: #EEEDED;
}

.info a:hover {
    background-color: #1C3E4C;
    color: white;
}

.info h2 {
    color: #C46928;
    font-family: 'Tangerine';
    font-size: 4rem;
    font-weight: bold;
}

.info .alamat, 
.info .description {
    font-size: 1rem;
}

.info .description {
    font-weight: 300;
}

/* Card Jadwal */
.info .card {

    border: 1px solid #C46928;
    border-color: #C46928;
    background: #efefb6 !important;  /* warna hijau seperti kaca */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #C46928 !important;
  opacity: 0.9;
}

.info .card-header {
    border-bottom: 1px solid #C46928;
    border-top: 1px solid #C46928;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    background: #C46928;  /* warna hijau seperti kaca */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: #2b2b2b;
  color: #efefb6;
}

.info .card-body,
.info .card-footer {
    font-size: 1rem;
}

.info .card-footer {
    border-top: 1px solid #C46928;
    text-align: center;
    font-weight: 300;
    background: #C46928;  /* warna hijau seperti kaca */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #efefb6;
}

/* Map Wrapper */
.map-wrapper {
    border: 3px solid #C46928;
    border-radius: 15px;
    overflow: hidden;
    max-width: 600px;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.map-wrapper iframe {
    width: 100%;
    height: 350px;
    border: none;
}

.video-2 {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: start;
  
  /* GANTI margin-top dengan ini */
  transform: translateY(300px); /* Ubah angka ini untuk turun (positif) atau naik (negatif) */
}

/* ==================================================
   7. STORY (TIMELINE)
   ================================================== */

/* FIX VISUAL SPACING STORY */

#story::before {
  content: "";
  position: absolute;
  inset: 0;
    width: 100%;
  height: 100%;
  background-image: url("img/java/A.jpg");
  background-size: cover;
  background-position: center;
  z-index: -1;
  filter: brightness(1.1);
}

.story > .container {
    padding-top: 8rem;
    padding-bottom: 5rem;
    color: #C46928;
}

/* Clearfix: pastikan timeline menghitung tinggi anaknya (boleh dibiarkan jika sudah ada) */
.timeline::after {
    content: "";
    display: block;
    clear: both;
}

.story .video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0; /* Di belakang teks */
  pointer-events: none; /* Biar video tidak bisa diklik */
}

.story .bird-video {
  margin-top: 600px;
  width: 20%;
  height: 20%;
  object-fit: cover;
}

.story h2 {
    color: #C46928;
    font-family: 'Tangerine';
    font-size: 4rem;
    font-weight: bold;
}

.story span, .gift span {
    text-transform: uppercase;
    color: #C46928;
    font-size: 0.9rem;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 1rem;
}

.story p {
    color:  #C46928!important;
}

.story .timeline-body p {
    color: #C46928 !important;
}

.story p, .gift p {
    font-size: 1rem;
    font-weight: 300;
    color: #C46928;
}

/* Timeline Logic */

/* FIX PADDING STORY (CLEAR FLOAT TIMELINE) */
.timeline::after {
    content: "";
    display: block;
    clear: both;
}

.story .timeline {
    margin-top: 5rem;
    margin-bottom: 5rem;
}


.timeline {
    list-style: none;
    padding: 1.4rem 0;
    margin-top: 1rem;
    position: relative;
}

.timeline::before {
    content: '';
    top: 0;
    bottom: 0;
    position: absolute;
    width: 1px;
    background-color: #C46928;
    left: 50%;
}

.timeline li {
    margin-bottom: 1.5rem;
    position: relative;
}

.timeline li::before,
.timeline li::after {
    content: '';
    display: table;
}

.timeline li::after {
    clear: both;
}

.timeline li .timeline-image {
    width: 70px;
    height: 70px;
    background-color: #C46928;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid #C46928;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.timeline li .timeline-panel {
    width: 40%;
    float: left;
    border: 1px solid #C46928 !important;
    background-color: #efefb6;
    padding: 2rem;
    position: relative;
    border-radius: 8px;
    opacity: 0.9;
}

/* Panah Timeline Kiri */
.timeline li .timeline-panel::before {
    content: '';
    display: inline-block;
    position: absolute;
    border-top: 14px solid transparent;
    border-left: 14px solid #C46928;
    border-right: 0 solid #C46928;
    border-bottom: 14px solid transparent;
    top: 20px;
    right: -14px;
}

.timeline li .timeline-panel::after {
    content: '';
    position: absolute;
    display: inline-block;
    border-top: 14px solid transparent;
    border-left: 14px solid #C46928;
    border-right: 0 solid #C46928;
    border-bottom: 14px solid transparent;
    top: 20px;
    right: -14px;
}

/* Panah Timeline Kanan (Inverted) */
.timeline li.timeline-inverted .timeline-panel {
    float: right;
}

.timeline li.timeline-inverted .timeline-panel::before {
    border-left-width: 0;
    border-right-width: 14px;
    left: -14px;
    right: auto;
}

.timeline li.timeline-inverted .timeline-panel::after {
    border-left-width: 0;
    border-right-width: 14px;
    left: -14px;
    right: auto;
}

.video-3 {
position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: start;
  
  /* GANTI margin-top dengan ini */
  transform: translateY(70px); /* Ubah angka ini untuk turun (positif) atau naik (negatif) */
}

/* ==================================================
   8. RSVP, GIFT & KOMENTAR
   ================================================== */

#rsvp::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url("img/java/A.jpg");
  background-size: cover;
  background-position: center;
  z-index: -1;
  filter: brightness(1.1);
}


.rsvp h2 {
    color: #C46928;
    font-family: 'Tangerine';
    font-size: 4rem;
    font-weight: bold;
}

.rsvp p,
.rsvp small,
.rsvp h5,
.rsvp form label {
    color: #C46928;
}

/* Form RSVP */

.rsvp {
    padding-top: 8rem !important;
    padding-bottom: 5rem !important;
}

.rsvp .rsvp form {
    width: 100%;
    max-width: 100px;
    margin: 0 auto;
    border-radius: 8px;
    border: 1px solid #C46928;
}

.rsvp rsvp small {
    color: #C46928; !important
}
.rsvp .rsvp-form textarea {
    min-height: 120px;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid ;
    resize: vertical;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #efefb6;
    color: #C46928;
    opacity: 0.9;
}

.rsvp .rsvp-form textarea::placeholder {
    color: ;
    opacity: 1;
    border-color: #eb8136 !important;
}

.rsvp .rsvp-form select {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #C46928;
    background-color: #C46928;
    max-width: 500px;
    color: #efefb6;
}

.rsvp .rsvp-form select:focus {
    color: #EEEDED;
    border-color: #C46928;
    box-shadow: 0 0 0 0.25rem rgba(241, 78, 149, 0.25); /* Efek cahaya pink di sekitar box */
}

/* Styling untuk pilihan di dalamnya (Option) */
.rsvp .rsvp-form select option {
    background-color: #EEEED2
    color: var(--baju-wanita-coklat);
    padding: 10px;
}

.rsvp button {
    background-color: #C46928;
    color: #efefb6;
    border: 1px solid var(--baju-wanita-coklat);
}

.rsvp button:hover {
    background-color: #C46928;
    color: #FFFF;
    border: 1px solid #C46928;
}

/* Item Komentar Individual */
.komentar-item {
    width: auto;
    min-width: 300px;
    max-width: 50%;
    background-color: #efefb6;
    border: 1px solid #efefb6;
    border-radius: 15px;
    padding: 15px;
    color: #2b2b2b;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: 0.3s;
    opacity: 0.8;
}

.komentar-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px #7a421a;
}

.komentar-header {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1px;
}

.komentar-nama {
    color: #4B2B1A;
    font-size: 0.8rem;
}

.komentar-header .status {
    font-size: 0.7rem;
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 1px;
}

.komentar-status {
    background: #D9B354;
    color: #fff;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 1px;
    vertical-align: middle;
}

.komentar-waktu {
    font-size: 0.6rem;
    color: #4B2B1A;
    margin-top: 1px;
    text-align: left;
    margin-bottom: 4px;
}

.komentar-isi {
    margin-top: 5px;
    line-height: 1.5;
}

/* Layout Box Komentar */
#komentarPublik {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    width: 90%;
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 15px;
    background-color: var(--bg-krem-lembut);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0 auto;  /* <--- TAMBAHKAN INI agar kotak tetap di tengah */
}

/* Custom Scrollbar */
#komentarPublik::-webkit-scrollbar { width: 8px; }
#komentarPublik::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.1); border-radius: 10px; }
#komentarPublik::-webkit-scrollbar-thumb { 
    background-color: #C46928; 
    border-radius: 10px; 
    border: 2px solid transparent; 
    background-clip: content-box; 
}
#komentarPublik::-webkit-scrollbar-thumb:hover { background-color: #834417; }

.video-4 {
position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: start;
  
  /* GANTI margin-top dengan ini */
  transform: translateY(50px); /* Ubah angka ini untuk turun (positif) atau naik (negatif) */
}

/* Gift Section Buttons */

/* ==================================================
   7. GIFT SECTION (FINAL CLEAN UP)
   ================================================== */

.gift {
    padding-top: 8rem !important;
    padding-bottom: 5rem !important;
    position: relative;
    z-index: 1;
}

#gift::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: url("img/java/A.jpg");
    background-size: cover;
    background-position: center;
    z-index: -1;
    filter: brightness(1.1);
}

.gift h2 {
    color: #C46928;
    font-family: 'Tangerine', cursive;
    font-size: 4rem;
    font-weight: bold;
}

.gift span, .gift p {
    color: #C46928;
}

.gift .list-group-item span {
    color: #C46928 !important;
}
/* Card Style */
.gift .list-group-item {
    position: relative !important; /* Wajib: Agar tombol punya patokan pojok */
    background-color: #efefb6 !important;
    color: #C46928;
    border: 1px solid #C46928 !important;
    border-radius: 12px !important;
    margin-bottom: 15px;
    padding: 2rem 1rem !important;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    opacity: 0.9;
}

/* TOMBOL POJOK KANAN ATAS */
.btn-salin-pojok {
    position: absolute !important;
    top: 15px !important;    /* Jarak dari atas kotak */
    right: 15px !important;  /* Jarak dari kanan kotak */
    background: transparent !important;
    border: none !important;
    padding: 5px !important;
    z-index: 10;
    cursor: pointer;
}

.btn-salin-pojok i {
    color: #efefb6 !important;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.btn-salin-pojok:hover i {
    color: #f1914c !important;
    transform: scale(1.2);
}

.btn-salin-pojok:active {
    transform: scale(0.9);
}

.gift .img-thumbnail {
    background-color: transparent !important; /* Menghilangkan warna putih */
    border: none !important;                 /* Menghilangkan garis pinggir */
    padding: 0 !important;                    /* Menghilangkan spasi antara gambar dan bingkai */
}

/* Memastikan teks di tengah tanpa gangguan */
.gift .list-group-item .fw-bold {
    color: #C46928;
}

#rekeningBCA {
    color: #C46928 !important;
}

.video-5 {
position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: start;
  
  /* GANTI margin-top dengan ini */
  transform: translateY(50px); /* Ubah angka ini untuk turun (positif) atau naik (negatif) */
}

/* ==================================================
   9. DOA, FOOTER & AUDIO
   ================================================== */

#doa {
    padding-top: 8rem !important;
    padding-bottom: 5rem !important;
}   

#doa h2 {
    color: #C46928;
    font-size: 4rem;
}

#doa .quote-card {
    border-radius: 12px;
    padding: 3rem 2rem;
    border: 1px solid #C46928;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background-color: #efefb6;
    opacity: 0.9;
}

#doa::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url("img/java/A.jpg");
  background-size: cover;
  background-position: center;
  z-index: -1;
  filter: brightness(1.1);
}

.section-title {
    font-family: 'Tangerine';
    font-size: 4rem;
    color: #C46928;
    margin-bottom: 2rem;
}

.closing-statement {
    color: #C46928;
    font-family: 'Tangerine';
    line-height: 2;
}

.closing-statement p {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.closing-statement .regards {
    margin-top: 2rem;
    font-weight: 500;
}

#doa .closing-statement .couple-names {
    margin-top: 2rem;
    font-size: 2rem;
    color: #C46928;
}

#doa .closing-statement {
    border-radius: 12px;
    padding: 3rem 2rem;
    border: 1px solid #C46928;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background-color: #efefb6;
    opacity: 0.9;
}

#doa .quote-card .arabic {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #C46928;
    line-height: 3rem;
    direction: rtl;
}

#doa .quote-card .translation {
    font-family: 'Work Sans';
    font-size: 1.1rem;
    color: #C46928;
    line-height: 1.8;
    margin-bottom: 1rem;
}

#doa .quote-card .surah {
    font-weight: bold;
    font-size: 0.9rem;
    color: #C46928;
}

.video-6 {
position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: start;
  
  /* GANTI margin-top dengan ini */
  transform: translateY(-10px); /* Ubah angka ini untuk turun (positif) atau naik (negatif) */
}

footer {
    padding: 3rem;
    background-color: #C46928;
    color: #efefb6;
}

footer a {
    color: #EEEED2;
    font-weight: bold;
    text-decoration: none;
}

footer a:hover { color: #ffff; }
footer li { list-style: none; display: inline; }




/* Tombol Audio Melayang */
.audio-icon-wrapper {
    width: 4rem;
    height: 4rem;
    font-size: 4rem;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    cursor: pointer;
    color: #efefb6;
    opacity: 0.5;
    mix-blend-mode: difference;
    animation: rotating 4s linear infinite;
    transform-origin: center;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 0;
}

@keyframes rotating {
    from { transform: rotate(0); }
    to { transform: rotate(360deg); }
}

/* ==================================================
   10. MEDIA QUERIES (RESPONSIF HP/TABLET)
   ================================================== */

/* Laptop (Max 1200px) */
@media (max-width: 1200px) { 
    .home .heart { 
        transform: translateX(-50%) translateY(45px); 
    } 
} 

/* Laptop Kecil (Max 992px) */
@media (max-width: 992px) { 
    html { 
        font-size: 75%; } 
    .simply-countdown-circle { 
        padding: 0.5px; 
        margin: 0; } 
    .home .heart { 
        display: none; } 
    .timeline::before { 
        left: 60px; } 
    .timeline li .timeline-image { 
        left:15px; 
        margin-left: 45px; 
        top: 16px; } 
    .timeline li .timeline-panel {
        width: calc((100% - 200px));
        float: right; } 
    .timeline li .timeline-panel::before {
        border-left-width: 0; 
        border-right-width: 14px; 
        left: -14px;
        right: auto; } 
    .timeline li .timeline-panel::after {
        border-left-width: 0; 
        border-right-width: 14px; 
        left: -14px; 
        right: auto; } 
} 

/* Tablet (Max 768px) */
@media (max-width: 768px) { 
    html { font-size: 62.5%; } 
    .simply-countdown-circle { 
        padding: 0.5px; 
        margin: 0; } 
    .mynavbar .nav-link { 
        font-size: 2rem; 
        text-align: center; } 
    .sticky-top { 
        overflow: hidden; } 
    .timeline li .timeline-image { 
        width: 50px; 
        height: 40px; } 

    /* Fix Font Doa & Quote di HP */
    .quote-card .basmalah { 
        font-size: 2rem; }
    .quote-card .arabic { 
        font-size: 1.4rem; 
        line-height: 2.5rem; }
    .quote-card, .closing-statement, .list-group-item {
        border-radius: 30px; 
        padding: 2rem 1.5rem; 
        margin: 0 10px; }
    
    .section-title { 
        font-size: 2.5rem; }
    .closing-statement .couple-names { 
        font-size: 2rem; }
    .doa { 
        padding-bottom: 5rem; }
} 

/* HP / Mobile (Max 576px) */
@media (max-width: 576px) { 
    html { font-size: 60%; }

  .hero-icon {
    width: 200px;
    height: 200px;
    margin-top: 120px; 
  }

  .couple-img {
    width: 100px;
    height: 130px;
  }

  .hero main {
    padding-top: 110px;
  }

    .simply-countdown-circle {
        padding: 0.5px; 
        margin: 0; 
    } 
    .simply-countdown-circle > .simply-section {
        position: relative; 
        width: 60px; 
        height: 60px; 
    }
    .timeline li .timeline-image { 
        width: 50px; 
        height: 50px; } 

    /* kotak */
    .timeline li .timeline-panel { 
        width: 60%; 
        transform: translateX(-20px); } 
    .timeline li .timeline-panel::before { 
        top: 30px; } 
    .timeline li .timeline-panel::after { 
        top: 30px; } 
    
    
    .mynavbar, .sticky-top { 
        overflow: hidden; }
    
    .heart {
    display: none;
  }

  .and-symbol {
    display: inline-block;
    margin: 2rem 0;
    margin-bottom: 0.5px;
    margin-top: 0.5px;
  }

    }

    .home .couple img { 
        max-width: 100px; 
        height: auto; 
        display: block; 
        margin: 0 auto; }
    
    .map-wrapper { 
        border-width: 2px; 
        border-radius: 10px; 
        max-width: 70%; 
        margin: auto; 
        margin-top: 1rem; }

    .map-wrapper iframe { 
        height: 150px; }
    
    .btn.btn-light.btn-sm.my-4 { 
        font-size: 0.8rem; 
        width: auto; 
        padding: 6px 14px; 
        border-radius: 6px; }

    /* Perbaikan Khusus Form di HP */
    .rsvp-form textarea, 
    .rsvp-form select {
        width: 90%;
    }
    .rsvp-form { 
        padding: 0 15px; }

    .rsvp .container {
        padding: 0 30px !important; /* Memberi ruang di pinggir layar */
    }
    
    .rsvp form {
        margin-top: 2rem;
    }

    .rsvp label {
        display: block;
        text-align: left;
        margin-bottom: 5px;
    }