/* HoZWU site chrome — shared across public pages (page CSS lives in css/pages/). */
:root {
  --hozwu-green: #1a5c3a;
  --hozwu-gold: #c9a84c;
  --hozwu-dark: #0d2e1c;
}

body { font-family: 'Segoe UI', system-ui, sans-serif; color: #333; }

.navbar-brand img { height: 48px; }
.navbar { background: #fff !important; box-shadow: 0 2px 12px rgba(0, 0, 0, .08); }
.nav-link { font-weight: 500; color: #333 !important; }
.nav-link:hover, .nav-link.active { color: var(--hozwu-green) !important; }

.btn-primary { background: var(--hozwu-green); border-color: var(--hozwu-green); }
.btn-primary:hover { background: var(--hozwu-dark); border-color: var(--hozwu-dark); }
.btn-warning { background: var(--hozwu-gold); border-color: var(--hozwu-gold); color: #0d2e1c; font-weight: 600; }
.btn-warning:hover { background: #b8963e; border-color: #b8963e; color: #0d2e1c; }

.hero-section { background: linear-gradient(135deg, var(--hozwu-dark) 0%, var(--hozwu-green) 60%, #2d8653 100%); color: #fff !important; padding: 5rem 0 4rem; }
.hero-section h1, .hero-section h2, .hero-section h3, .hero-section p, .hero-section span { color: #fff !important; }
.hero-section .opacity-75 { color: rgba(255, 255, 255, .75) !important; }
.hero-section h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }

.section-title { font-size: 1.75rem; font-weight: 700; color: var(--hozwu-dark); margin-bottom: .5rem; }

.card { border: none; border-radius: 12px; box-shadow: 0 2px 16px rgba(0, 0, 0, .07); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0, 0, 0, .12); }

.stat-card { border-radius: 16px; padding: 2rem; text-align: center; }
.stat-card h2 { font-size: 2.5rem; font-weight: 800; }

footer { background: var(--hozwu-dark); color: #ccc; }
footer a { color: #cfdccf; text-decoration: none; }
footer a:hover { color: #fff; }

.alert-flash { border-radius: 8px; margin-bottom: 1rem; }

/* Accessibility (WCAG 2.1 AA) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: var(--hozwu-dark);
  color: #fff;
  padding: .6rem 1.1rem;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

:focus-visible {
  outline: 3px solid #1553b6;
  outline-offset: 2px;
}

.hz-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.hz-reveal.hz-in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .hz-reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 768px) {
  .hero-section { padding: 3rem 0 2rem; }
}
