:root {
  --sage: #5c6f5b;
  --bs-body-font-family: 'Work Sans', sans-serif;
}

/* Lapisan paling belakang: Warna Background */
html {
  background-color: #ffffff; /* Warna sage lembut (bisa diganti sesuai selera) */
}

body {
  font-family: 'Work Sans', sans-serif !important;
  color: #333;
  background-color: transparent !important; /* Wajib transparan agar warna html & foto di belakangnya tembus */
  position: relative;
}

/* Lapisan tengah: Foto dengan opacity kecil di atas warna BG */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url('img/2.jpg') center/cover no-repeat;
  opacity: 0.18; /* Sesuaikan kejelasan foto (0.08 - 0.18) */
  z-index: -1;
  pointer-events: none;
}

body {
  font-family: 'Work Sans', sans-serif !important;
  color: #333;
}

body.locked {
  overflow: hidden;
  height: 100vh;
}

.font-script {
  font-family: 'Sacramento', cursive !important;
}

.text-sage {
  color: var(--sage);
}

.bg-sage {
  background-color: var(--sage);
}

.btn-sage {
  background-color: var(--sage);
  color: #fff;
  border: none;
}

.btn-sage:hover {
  background-color: #485847;
  color: #fff;
}

/* Cover */
.cover {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.7)),
              url('img/2.jpg') center/cover;
  transition: transform 0.7s ease, opacity 0.7s ease;
}

.cover.hide {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.guest-box {
  background: rgba(255, 255, 255, 0.15);
  max-width: 320px;
}

/* Countdown */
.box-time {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 12px 4px;
}

.box-time span {
  display: block;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--sage);
}

/* Foto Mempelai */
.couple-photo {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #e9efe8;
}

/* Love Story Timeline */
.timeline {
  border-left: 2px solid var(--sage);
  padding-left: 18px;
  margin-left: 8px;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 14px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--sage);
}

.story-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

/* Galeri */
.gallery-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* Music Button */
.music-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 45px;
  height: 45px;
  z-index: 900;
}