/* === Balagtas Modern Theme === */

:root {
  --balagtas-950: #0b2a6b;
  --balagtas-700: #1d4ed8;
  --gold-400: #f5b417;
}

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--balagtas-950); }
.dark ::-webkit-scrollbar-track { background: #0f172a; }
.dark ::-webkit-scrollbar-thumb { background: #334155; }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Hero Ken Burns */
.kenburns { animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns {
  0%   { transform: scale(1.0) translate(0,0); }
  100% { transform: scale(1.12) translate(-2%, -2%); }
}

/* Card hover lift */
.lift { transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.lift:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(11,61,46,0.25); }

/* Image placeholder shimmer */
.img-skel {
  background: linear-gradient(90deg, #e2e8f0 0%, #f1f5f9 40%, #e2e8f0 80%);
  background-size: 1000px 100%;
  animation: shimmer 2.5s linear infinite;
}
.dark .img-skel { background: linear-gradient(90deg, #1e293b 0%, #334155 40%, #1e293b 80%); background-size: 1000px 100%; }

/* Decorative section divider */
.divider-leaves {
  height: 24px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 24' preserveAspectRatio='none'><path d='M0,12 C240,24 480,0 720,12 C960,24 1200,0 1440,12 L1440,24 L0,24 Z' fill='%230b2a6b' fill-opacity='.06'/></svg>") repeat-x;
}

/* Prose tweaks for content pages */
.prose-balagtas { color: #1e293b; }
.prose-balagtas h1, .prose-balagtas h2, .prose-balagtas h3 { font-family: 'Plus Jakarta Sans', sans-serif; color: #0b2a6b; }
.prose-balagtas a { color: #1d4ed8; text-decoration: underline; text-underline-offset: 3px; }
.dark .prose-balagtas { color: #e2e8f0; }
.dark .prose-balagtas h1, .dark .prose-balagtas h2, .dark .prose-balagtas h3 { color: #fbcd44; }
.dark .prose-balagtas a { color: #fde588; }

/* Glass card */
.glass {
  background: rgba(255,255,255,.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.dark .glass { background: rgba(15,23,42,.6); }

/* Radial badge ring */
.ring-glow { box-shadow: 0 0 0 3px rgba(245,180,23,.25), 0 8px 30px -8px rgba(245,180,23,.35); }

/* Number focus animation */
.count-up { font-variant-numeric: tabular-nums; }

/* Hide scrollbar in horizontal scrollers */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { scrollbar-width: none; }

/* Print */
@media print {
  header, footer, .no-print { display: none !important; }
  body { background: white !important; color: black !important; }
}
