/* ==========================================================================
   PORTAL RESMI PEMERINTAH DESA NUMANA - KABUPATEN WAKATOBI
   File: assets/css/style.css
   Deskripsi: Custom Stylesheet, Variabel Tema Maritim, Animasi & Print Styles
   ========================================================================== */

:root {
  --wakatobi-navy: #0a192f;
  --wakatobi-deep: #0f2942;
  --wakatobi-blue: #0284c7;
  --wakatobi-cyan: #06b6d4;
  --wakatobi-teal: #0d9488;
  --wakatobi-gold: #f59e0b;
  --slate-bg: #f8fafc;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--slate-bg);
  color: #1e293b;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Outfit', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #0284c7;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0369a1;
}

/* Glassmorphism & Backgrounds */
.glass-nav {
  background: rgba(10, 25, 47, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero-gradient {
  background:
    radial-gradient(circle at 18% 22%, rgba(6, 182, 212, 0.25) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(2, 132, 199, 0.3) 0%, transparent 50%),
    linear-gradient(135deg, #071324 0%, #0c2540 55%, #0f3759 100%);
}

/* Interactive Cards */
.card-hover {
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 30px -10px rgba(2, 132, 199, 0.14), 0 8px 14px -6px rgba(15, 23, 42, 0.06);
}

/* Progress Bar Animation */
.bar-fill {
  transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Print Layout (Untuk Cetak Bukti Resi Surat Daring) */
@media print {
  body * {
    visibility: hidden;
  }
  #receiptModalContent,
  #receiptModalContent * {
    visibility: visible;
  }
  #receiptModalContent {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    box-shadow: none !important;
    border: 1px solid #cbd5e1 !important;
  }
  .no-print {
    display: none !important;
  }
}
