/* Pengaturan Font & Body */
.font-display { font-family: 'Playfair Display', Georgia, serif; }
.font-body { font-family: 'DM Sans', system-ui, sans-serif; }
html, body { height: 100%; margin: 0; box-sizing: border-box; }
.nav-wave { position: sticky; isolation: isolate; }
.nav-wave-shape { position: absolute; z-index: -1; top: 0; left: 0; width: 100%; height: 100px; pointer-events: none; }

/* Animasi Keyframes */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes waPulse {
  0% { opacity: 0.4; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.5); }
}

/* Kelas Animasi */
.anim-fade-up { animation: fadeUp 0.8s ease both; }
.anim-fade-up-d1 { animation: fadeUp 0.8s 0.15s ease both; }
.anim-fade-up-d2 { animation: fadeUp 0.8s 0.3s ease both; }
.anim-fade-up-d3 { animation: fadeUp 0.8s 0.45s ease both; }
.anim-fade-up-d4 { animation: fadeUp 0.8s 0.6s ease both; }
.anim-float { animation: float 3s ease-in-out infinite; }
.hero-wave { display: block; }
.hero-mahar-scene { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.mahar-float {
  position: absolute;
  width: clamp(135px, 15vw, 210px);
  aspect-ratio: 3 / 4;
  padding: 6px;
  overflow: hidden;
  border: 1px solid rgba(196, 149, 106, 0.2);
  border-radius: 16px;
  background: rgba(255, 253, 251, 0.58);
  box-shadow: 0 14px 34px rgba(74, 58, 43, 0.12);
  opacity: 0.34;
  animation: maharFloat 12s ease-in-out infinite;
}
.mahar-float img { width: 100%; height: 100%; border-radius: 11px; object-fit: cover; }
.mahar-float-one { top: 17%; left: 3%; --float-angle: -8deg; }
.mahar-float-two { top: 10%; right: 4%; --float-angle: 7deg; animation-delay: -4s; }
.mahar-float-three { right: 15%; bottom: 10%; --float-angle: -5deg; animation-delay: -8s; }

@keyframes maharFloat {
  0%, 100% { transform: translateY(0) rotate(var(--float-angle)); }
  50% { transform: translateY(-16px) rotate(calc(var(--float-angle) + 4deg)); }
}

@media (max-width: 640px) {
  .mahar-float { width: 82px; padding: 4px; border-radius: 11px; opacity: 0.21; }
  .mahar-float img { border-radius: 8px; }
  .mahar-float-one { top: 21%; left: -18px; }
  .mahar-float-two { top: 52%; right: -18px; }
  .mahar-float-three { right: 11%; bottom: 5%; width: 66px; }
}

@media (prefers-reduced-motion: reduce) {
  .mahar-float { animation: none; }
}

/* Efek Teks & Elemen Khusus */
.shimmer-text {
  background: linear-gradient(90deg, #C4956A 0%, #E8CBA8 40%, #C4956A 80%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}

.wa-pulse::before {
  content: ''; 
  position: absolute; 
  inset: -4px; 
  border-radius: 50%; 
  background: #25D366; 
  opacity: 0; 
  animation: waPulse 2s ease-in-out infinite;
}

.card-hover { transition: transform 0.35s ease, box-shadow 0.35s ease; }
.card-hover:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(196, 149, 106, 0.15); }

.ornament {
  position: absolute; 
  width: 120px; 
  height: 120px; 
  border: 2px solid rgba(196, 149, 106, 0.15); 
  border-radius: 50%; 
  pointer-events: none;
}