/* ═══════════════════════════════════════════════════
   header-hero.css — Site Header & Hero Section
   KIBAID Direktori Sejarah Gereja
═══════════════════════════════════════════════════ */

/* ══ SITE HEADER ══ */
.site-header {
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  z-index: 200;
}
.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  height: 60px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-img-wrap {
  width: 34px;
  height: 34px;
  overflow: hidden;
  border-radius: 9px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #1b4562, #2a8a6e);
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-img-wrap img { width: 100%; height: auto; display: block; }
.logo-img-wrap svg { width: 18px; height: 18px; fill: white; }
.logo-text  { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name  { font-weight: 600; font-size: 17px; color: #1b4562; }
.logo-sub   { font-size: 9.5px; color: var(--subtle); font-weight: 500; letter-spacing: .8px; text-transform: uppercase; }
.header-nav { display: flex; align-items: center; gap: 14px; }
.nav-tagline { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--muted); }
.nav-year {
  font-size: 11.5px; font-weight: 600; color: var(--subtle);
  background: var(--bg); border: 1px solid var(--border);
  padding: 3px 10px; border-radius: 20px; letter-spacing: .4px;
}

/* ══ HERO ══ */
.hero {
  padding: 60px 28px 72px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0e2535 0%, #1b4562 40%, #1f5272 70%, #163a52 100%);
}
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, transparent 30%, rgba(10,25,38,.55) 100%);
  pointer-events: none;
}

/* Contour lines */
.hero-contour {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: repeating-linear-gradient(-30deg, transparent, transparent 38px, rgba(255,255,255,.028) 38px, rgba(255,255,255,.028) 39px);
  animation: contourDrift 22s linear infinite;
}
@keyframes contourDrift {
  0%   { background-position: 0 0; }
  100% { background-position: 160px 280px; }
}

/* Expanding rings */
.hero-ring {
  position: absolute; z-index: 0; pointer-events: none;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.07);
  top: 60%; left: 30%;
  transform: translate(-50%,-50%) scale(0);
  animation: ringExpand 7s ease-out infinite;
}
.hero-ring--1 { width: 320px; height: 320px; animation-delay: 0s; }
.hero-ring--2 { width: 560px; height: 560px; animation-delay: 2.3s; }
.hero-ring--3 { width: 800px; height: 800px; animation-delay: 4.6s; }
@keyframes ringExpand {
  0%   { transform: translate(-50%,-50%) scale(.15); opacity: .7; }
  70%  { opacity: .12; }
  100% { transform: translate(-50%,-50%) scale(1); opacity: 0; }
}

/* Light streaks */
.hero-streak {
  position: absolute; z-index: 0; pointer-events: none; width: 2px;
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,.18) 40%, rgba(255,255,255,.22) 50%, rgba(255,255,255,.18) 60%, transparent 100%);
  transform-origin: top center;
  transform: rotate(28deg);
}
.hero-streak--1 { height: 220px; top: -30px; left: 18%; animation: streakFade 6s ease-in-out infinite; }
.hero-streak--2 { height: 160px; top: 10%;  left: 58%; animation: streakFade 8s ease-in-out infinite 2.5s; }
.hero-streak--3 { height: 280px; top: -20px; left: 82%; animation: streakFade 7s ease-in-out infinite 4.8s; }
@keyframes streakFade {
  0%,100% { opacity: 0; transform: rotate(28deg) translateY(-20px); }
  30%,70% { opacity: 1; transform: rotate(28deg) translateY(0); }
}

/* Wave divider */
.hero-wave { position: absolute; bottom: 0; left: 0; right: 0; z-index: 1; }
.hero-wave svg { display: block; width: 100%; height: 40px; }

/* Two-column layout */
.hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 300px;
  align-items: center;
  gap: 40px;
}
.hero-content { display: flex; flex-direction: column; align-items: flex-start; }

/* Breadcrumb */
.hero-breadcrumb {
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 500; color: rgba(255,255,255,.35);
  margin-bottom: 14px; letter-spacing: .3px;
}
.hero-breadcrumb svg { opacity: .4; }
.hero-breadcrumb-active { color: rgba(255,255,255,.65); font-weight: 600; }

/* Badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.20);
  border-radius: 99px; padding: 6px 16px;
  font-size: 11.5px; font-weight: 600; color: rgba(255,255,255,.9);
  letter-spacing: .4px; margin-bottom: 20px;
  backdrop-filter: blur(6px);
}
.hero-badge-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #4ade80;
  animation: pulseDot 2.2s ease-in-out infinite; flex-shrink: 0;
}
@keyframes pulseDot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .55; transform: scale(.8); }
}

/* Title */
.hero-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700; color: #ffffff;
  line-height: 1.2; margin-bottom: 12px; letter-spacing: -.3px;
}
.title-shimmer {
  display: inline-block;
  background: linear-gradient(90deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.95) 35%, rgba(160,210,255,1) 50%, rgba(255,255,255,.95) 65%, rgba(255,255,255,.95) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerText 3.5s linear infinite;
}
@keyframes shimmerText {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

/* Description */
.hero-desc {
  font-size: 15px; color: rgba(255,255,255,.65);
  margin-bottom: 24px; line-height: 1.75; font-weight: 400;
}

/* Particles */
.hero-particles { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.p { position: absolute; border-radius: 50%; background: rgba(255,255,255,.55); animation: particleDrift linear infinite; }
.p1 { width:3px; height:3px; top:15%; left:8%;  animation-duration:12s; animation-delay:0s; }
.p2 { width:2px; height:2px; top:72%; left:14%; animation-duration:18s; animation-delay:2s; }
.p3 { width:4px; height:4px; top:38%; left:22%; animation-duration:15s; animation-delay:1s; }
.p4 { width:2px; height:2px; top:55%; left:40%; animation-duration:20s; animation-delay:4s; }
.p5 { width:3px; height:3px; top:20%; left:62%; animation-duration:14s; animation-delay:1.5s; }
.p6 { width:2px; height:2px; top:80%; left:73%; animation-duration:16s; animation-delay:3s; }
.p7 { width:3px; height:3px; top:42%; left:85%; animation-duration:11s; animation-delay:0.5s; }
.p8 { width:2px; height:2px; top:65%; left:93%; animation-duration:19s; animation-delay:5s; }
@keyframes particleDrift {
  0%   { transform: translateY(0) scale(1);    opacity: 0; }
  10%  { opacity: .7; }
  90%  { opacity: .4; }
  100% { transform: translateY(-80px) scale(.5); opacity: 0; }
}

/* Scan line */
.hero-scanline {
  position: absolute; left: 0; right: 0; z-index: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(100,180,255,.25) 30%, rgba(100,180,255,.5) 50%, rgba(100,180,255,.25) 70%, transparent 100%);
  animation: scanlineMove 8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes scanlineMove {
  0%   { top:10%; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { top:90%; opacity: 0; }
}

/* Corner ornaments */
.hero-corner { position: absolute; z-index: 0; pointer-events: none; width: 60px; height: 60px; }
.hero-corner--tl { top: 16px; left: 20px; border-top: 1.5px solid rgba(255,255,255,.18); border-left: 1.5px solid rgba(255,255,255,.18); border-radius: 6px 0 0 0; }
.hero-corner--br { bottom: 52px; right: 20px; border-bottom: 1.5px solid rgba(255,255,255,.18); border-right: 1.5px solid rgba(255,255,255,.18); border-radius: 0 0 6px 0; }

/* ── Feature Grid ── */
.hero-feature-grid { position: relative; z-index: 2; margin-top: 36px; padding: 0 0 8px; }
.hfg-inner {
  max-width: 1140px; margin: 0 auto;
  display: flex; align-items: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); overflow: hidden;
}
.hfg-item {
  flex: 1; display: flex; align-items: center; gap: 12px;
  padding: 18px 22px; transition: background var(--t); cursor: default;
}
.hfg-item:hover { background: rgba(255,255,255,.06); }
.hfg-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: rgba(150,210,255,.9);
}
.hfg-icon svg { width: 17px; height: 17px; }
.hfg-text  { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hfg-title { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.9); white-space: nowrap; }
.hfg-desc  { font-size: 11.5px; color: rgba(255,255,255,.45); line-height: 1.4; }
.hfg-sep   { width: 1px; height: 40px; background: rgba(255,255,255,.1); flex-shrink: 0; }
