/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  background: #0d2d1c;
  color: #faf8f2;
  overflow: hidden; /* Biar ngga bisa di-scroll */
  -webkit-font-smoothing: antialiased;
}

/* ===== VARIABLES ===== */
:root {
  --green-dark: #0d2d1c;
  --green-medium: #2e8b57;
  --green-light: #3da36e;
  --cream: #faf8f2;
  --cream-dark: #f0ede4;
  --gold: #d4933a;
  --gold-light: #e8b76a;
  --whatsapp: #25d366;
  --muted: rgba(250, 248, 242, 0.7);
}

.serif {
  font-family: "Cormorant Garamond", Georgia, serif;
}

/* ===== BACKGROUND IMAGE (FOTO UTAMA) ===== */
.bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--green-dark);
  /* ======= GANTI LINK FOTO UNTUK MOBILE DI SINI ======= */
  background-image: url("/images/program-jumat-berkah.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Efek slow zoom pelan biar elegan */
  animation: slowZoom 20s linear infinite alternate;
}

/* ======= GANTI LINK FOTO UNTUK DESKTOP DI SINI ======= */
@media (min-width: 768px) {
  .bg-image {
    background-image: url("/images/program-jumat-berkah.jpg");
  }
}

/* Lapisan gelap biar teks selalu kebaca jelas */
.bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(13, 45, 28, 0.6) 0%,
    rgba(13, 45, 28, 0.95) 100%
  );
}

/* ===== ISLAMIC PATTERN ===== */
.islamic-pattern {
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4933a' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.15;
  z-index: 2;
}

/* ===== ANIMATIONS ===== */
@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
}
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}
@keyframes swing {
  0%,
  100% {
    transform: rotate(-5deg);
  }
  50% {
    transform: rotate(5deg);
  }
}
@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slowZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

.animate-shimmer {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.15) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
}

/* ===== LAYOUT & COMPONENTS ===== */
.maintenance-wrapper {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 10;
}

.content-box {
  position: relative;
  z-index: 20;
  max-width: 650px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  animation: slideUpFade 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.nav-logo-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(212, 147, 58, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border: 1px solid rgba(212, 147, 58, 0.3);
  box-shadow: 0 0 30px rgba(212, 147, 58, 0.2);
  backdrop-filter: blur(4px);
}

.nav-logo-icon span {
  font-family: "Cormorant Garamond", serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
}

.label-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  background: rgba(13, 45, 28, 0.6);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(212, 147, 58, 0.3);
}

.label-gold .line-half {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: rgba(212, 147, 58, 0.5);
}

h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.1;
  font-weight: 700;
  color: var(--cream);
  text-wrap: balance;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5); /* Bayangan biar teks makin nendang dari foto */
}

h1 .gold {
  color: var(--gold);
  position: relative;
  display: inline-block;
}

p.desc {
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.7;
  color: rgba(250, 248, 242, 0.9);
  max-width: 550px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* ===== BUTTON WA ===== */
.btn-wa-large {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 20px 40px;
  border-radius: 999px;
  background: var(--whatsapp);
  font-size: 18px;
  font-weight: 700;
  color: var(--green-dark);
  box-shadow: 0 0 40px rgba(37, 211, 102, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  margin-top: 16px;
  animation: pulse-glow 2s ease-in-out infinite;
}

.btn-wa-large:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 0 60px rgba(37, 211, 102, 0.4);
}

.btn-wa-large:active {
  transform: scale(0.95);
}

.btn-wa-large svg {
  transition: transform 0.3s;
}

.btn-wa-large:hover svg {
  transform: rotate(12deg);
}

/* ===== TRUST INDICATORS ===== */
.trust-indicators {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.trust-indicators span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(250, 248, 242, 0.6);
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.trust-indicators .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* ===== ISLAMIC ORNAMENTS ===== */
.ornament {
  position: absolute;
  color: var(--gold);
  z-index: 5;
  pointer-events: none;
}

/* Lentera Bergoyang dari atas */
.ornament-lantern {
  top: -2%;
  right: 8%;
  width: 100px;
  opacity: 0.35;
  transform-origin: top center;
  animation: swing 6s ease-in-out infinite;
}
@media (min-width: 768px) {
  .ornament-lantern {
    width: 160px;
    right: 15%;
    top: -2%;
  }
}

/* Bulan Sabit Melayang */
.ornament-moon {
  top: 8%;
  left: 5%;
  width: 120px;
  opacity: 0.25;
  animation: float 7s ease-in-out infinite;
}
@media (min-width: 768px) {
  .ornament-moon {
    width: 220px;
    left: 10%;
    top: 12%;
  }
}

/* Bintang-bintang tersebar */
.ornament-star-1 {
  bottom: 20%;
  left: 10%;
  width: 50px;
  opacity: 0.3;
  animation: float 5s ease-in-out infinite 1s;
}
@media (min-width: 768px) {
  .ornament-star-1 {
    width: 80px;
    left: 15%;
    bottom: 25%;
  }
}

.ornament-star-2 {
  top: 30%;
  right: 5%;
  width: 60px;
  opacity: 0.2;
  animation: float 8s ease-in-out infinite 2s;
}
@media (min-width: 768px) {
  .ornament-star-2 {
    width: 100px;
    right: 8%;
    top: 35%;
  }
}

.ornament-star-3 {
  bottom: 12%;
  right: 15%;
  width: 45px;
  opacity: 0.25;
  animation: float 6s ease-in-out infinite 3s;
}
@media (min-width: 768px) {
  .ornament-star-3 {
    width: 75px;
    right: 22%;
    bottom: 15%;
  }
}

/* Footer Mini */
.mini-footer {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 13px;
  color: rgba(250, 248, 242, 0.5);
  z-index: 10;
}
