:root {
  --blue:       #0057FF;
  --blue-dark:  #0A2A66;
  --blue-light: #EAF1FF;
  --blue-glow:  #7CD4FF;
  --green:      #0B6E4F;
  --green-dark: #063D2C;
  --green-light:#E8F7EF;
  --white:      #FFFFFF;
  --bg:         #FFFFFF;
  --text:       #0B1220;
  --text-muted: #5B6472;
  --border:     #E3E8EF;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

img { display: block; max-width: 100%; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

section { padding: 5.5rem 0; scroll-margin-top: 76px; }
#kako-pomagati { background: var(--blue-light); }

/* ── IMAGE PLACEHOLDER (fallback when a src is missing) ─────────── */
.img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: repeating-linear-gradient(45deg, var(--blue-light), var(--blue-light) 10px, #ffffff 10px, #ffffff 20px);
  border: 2px dashed var(--blue);
  color: var(--blue-dark);
  text-align: center;
  padding: 0.5rem;
  overflow: hidden;
}
.ph-icon { font-size: 1.9rem; }
.ph-label { font-size: 0.72rem; font-weight: 700; line-height: 1.3; max-width: 92%; }
.insignia.img-placeholder .ph-label,
.activity-img.img-placeholder .ph-label { display: none; }
.insignia.img-placeholder .ph-icon,
.activity-img.img-placeholder .ph-icon { font-size: 1.2rem; }

/* ── NAV (desktop, top) ──────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-bar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.5rem;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--blue-dark);
  text-decoration: none;
  white-space: nowrap;
}
.logo b { color: inherit; font-weight: 800; }
.insignia {
  width: 38px; height: 38px;
  border-radius: 9px;
  object-fit: cover;
  flex-shrink: 0;
}

.top-nav ul { display: flex; gap: 0.3rem; list-style: none; flex-wrap: wrap; }

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.nav-link:hover, .nav-link.active { background: var(--blue-light); color: var(--blue-dark); }
.nav-cta { background: var(--green); color: #fff !important; }
.nav-cta:hover { background: var(--green-dark); color: #fff !important; }

/* ── NAV (mobile, bottom tab bar) ────────────────────────────────── */
.mobile-tabbar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: #ffffff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(10,42,102,0.08);
  padding: 0.4rem 0.25rem;
}
.tab-link {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.8rem 0.1rem;
  border-radius: 10px;
}
.tab-link.active { color: var(--blue); background: var(--blue-light); }

@media (max-width: 760px) {
  .top-nav { display: none; }
  .mobile-tabbar { display: flex; }
  body { padding-bottom: 64px; }
  section { scroll-margin-top: 90px; }
}

/* ── BUTTONS ─────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s, color 0.2s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #0042CC; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,87,255,0.3); }
.btn-outline { background: transparent; color: var(--blue-dark); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }

/* ── HERO / DOMOV ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #fff;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,42,102,0.6), rgba(6,61,44,0.7));
}
.hero-content { position: relative; z-index: 2; max-width: 720px; padding: 2rem 1.5rem;align-items: center; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.45);
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1.3rem;
}
.hero h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 900; line-height: 1.15; margin-bottom: 1.1rem; }
.hero h1 span { color: var(--blue-glow); }
.hero-sub { font-size: 1.05rem; opacity: 0.92; margin-bottom: 2.2rem; }

/* Naslovna slika na podstraneh (Naša odprava, Naša ekipa) — isti slog kot Domov */
.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #fff;
  padding: 0;
}
.page-hero h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 900; line-height: 1.15; color: #fff; }
.page-hero .hero-bg { object-position: 50% 35%; }

/* Pokončna fotografija: višja pasica, izrez pomaknjen navzdol na hiše in žensko */
.page-hero--full { min-height: 85vh; }
.page-hero--full .hero-bg { object-position: 50% 68%; }

/* ── SECTION HEADERS (shared) ───────────────────────────────────── */
.eyebrow {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.6rem;
}
.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  color: var(--blue-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.section-title span { color: var(--blue); }
.section-lead {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ── O ODPRAVI ───────────────────────────────────────────────────── */
#o-odpravi { background: var(--blue-light); }

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--green);
  border-radius: 10px;
  padding: 1.4rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.info-card-icon { font-size: 1.7rem; margin-bottom: 0.5rem; }
.info-card-title {
  font-size: 0.74rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1.3px; color: var(--green); margin-bottom: 0.35rem;
}
.info-card-value { font-size: 1.02rem; color: var(--blue-dark); font-weight: 700; }

.mission-block {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 5px solid var(--blue);
  border-radius: 12px;
  padding: 2rem 2.3rem;
  max-width: 760px;
  margin: 0 auto 2.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.mission-block p { color: var(--text-muted); font-size: 1.03rem; }
.mission-block p + p { margin-top: 1rem; }

/* ── SPLIT BLOCKS (text + image side by side) ───────────────────── */
.split-block {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  max-width: 900px;
  margin: 0 auto 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.split-block.reverse { flex-direction: column; }
.split-text { flex: 1; }
.split-text h3 { font-size: 1.3rem; font-weight: 900; color: var(--blue-dark); margin-bottom: 0.75rem; }
.split-text p { color: var(--text-muted); font-size: 0.98rem; }
.split-img { width: 300px; height: 210px; object-fit: cover; border-radius: 12px; flex-shrink: 0; }

@media (max-width: 700px) {
  .split-block, .split-block.reverse { flex-direction: column; }
  .split-img { width: 100%; height: 200px; }
}

.team-preview { text-align: center; margin-bottom: 3.5rem; }
.team-preview h3 { color: var(--blue-dark); font-size: 1.3rem; font-weight: 800; margin-bottom: 1.5rem; }

.team-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1.5rem;
  max-width: 640px;
  margin: 0 auto 2rem;
}
.mini-card { text-align: center; }
.avatar-img {
  width: 96px; height: 96px; border-radius: 50%;
  object-fit: cover; object-position: 50% 20%; margin: 0 auto 0.6rem;
  border: 3px solid #fff; box-shadow: 0 2px 10px rgba(10,42,102,0.15);
}
.avatar-img.img-placeholder { border-radius: 50%; }
.mini-name { font-weight: 800; font-size: 0.92rem; color: var(--blue-dark); }

/* ── NAŠE DELO — oglasna deska (bottom of O odpravi) ────────────── */
.bulletin { max-width: 900px; margin: 0 auto; }
.bulletin h3 { text-align: left; font-size: 1.5rem; font-weight: 900; color: var(--blue-dark); margin-bottom: 0.5rem; }
.bulletin > .section-lead { margin-bottom: 1.75rem; }

.bulletin-board { display: flex; flex-direction: column; gap: 1.25rem; }
.bulletin-post {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--green);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.bulletin-img { width: 90px; height: 90px; object-fit: cover ;align-items: center ; border-radius: 10px; flex-shrink: 0; }
.bulletin-date {
  font-size: 0.72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1px; color: var(--green); margin-bottom: 0.3rem;
}
.bulletin-text p:not(.bulletin-date) { color: var(--text-muted); font-size: 0.94rem; }

.bulletin-empty {
  justify-content: center;
  border-left-color: var(--blue);
  background: var(--blue-light);
}
.bulletin-empty .activity-img { width: 56px; height: 56px;  border-radius: 8px; flex-shrink: 0; }
.bulletin-empty p { font-weight: 700; color: var(--blue-dark); font-size: 0.92rem; }

/* ── EKIPA ───────────────────────────────────────────────────────── */
#ekipa { background: var(--green-light); }

.team-full-card {
  display: flex;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
  margin-bottom: 1.75rem;
}
.team-full-img { width: 260px; min-height: 260px; flex-shrink: 0; object-fit: cover; object-position: 50% 20%; }
.team-full-content { padding: 1.9rem 2.1rem; flex: 1; }
.team-full-content h3 { font-size: 1.3rem; font-weight: 900; color: var(--blue-dark); margin-bottom: 0.2rem; }
.team-role { font-size: 0.82rem; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 0.8rem; }
.team-bio { color: var(--text-muted); font-size: 0.96rem; }

@media (max-width: 700px) {
  .team-full-card { flex-direction: column; }
  .team-full-img { width: 100%; height: auto; min-height: 0; aspect-ratio: 4 / 5; object-position: 50% 20%; }
}

/* ── KAKO POMAGATI ───────────────────────────────────────────────── */
.kako-pomagati { background:#004bed }

.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}
.help-card {
  position: relative;
  width: 100%;
  font-family: inherit;
  background: #fff;
  border: 1px solid var(--border);
  border-bottom: 4px solid var(--white);
  border-radius: 14px;
  padding: 2.1rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.help-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(10,42,102,0.15);
  border-bottom-color: var(--green);
}
.help-icon { font-size: 2.4rem; margin-bottom: 0.75rem; }
.help-title { font-weight: 800; color: var(--blue-dark); margin-bottom: 0.5rem; font-size: 1.05rem; }
.help-desc { font-size: 0.86rem; color: var(--text-muted); }

.qr-hover-preview {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--blue-dark);
  color: #fff;
  padding: 0.8rem;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
  z-index: 5;
}
.help-card:hover .qr-hover-preview { opacity: 1; transform: translateX(-50%) translateY(0); }
.qr-hover-img { width: 90px; height: 90px; object-fit: contain; background: #fff; border-radius: 8px; padding: 4px; }

/* Donacije — izbira med QR kodo in bančnimi podatki (ob prehodu z miško) */
.donate-card { outline: none; }
.donate-options {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--blue-dark);
  color: #fff;
  padding: 0.75rem;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 200px;
  z-index: 5;
}
/* nevidni "most", da meni ne izgine med premikom miške navzgor */
.donate-options::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 100%;
  height: 14px;
}
.donate-card:hover .donate-options,
.donate-card:focus-within .donate-options {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.donate-options-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.75;
  text-align: center;
  margin-bottom: 0.1rem;
}
.donate-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blue-dark);
  background: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.donate-option:hover,
.donate-option:focus-visible { background: var(--green-light, #e6f6ec); transform: translateX(2px); }
.donate-option-icon { font-size: 1.1rem; width: 1.4rem; text-align: center; }

.bank-details { margin: 0 0 1.2rem; display: flex; flex-direction: column; gap: 0.55rem; }
.bank-row {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.55rem 0.8rem;
}
.bank-row dt {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}
.bank-row dd { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin: 0; }
.bank-value { font-weight: 700; color: var(--blue-dark); word-break: break-word; font-variant-numeric: tabular-nums; }
.copy-btn {
  flex-shrink: 0;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--blue-light);
  color: var(--blue-dark);
  border: none;
  border-radius: 6px;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
}
.copy-btn:hover { filter: brightness(0.95); }
.copy-btn.copied { background: var(--green); color: #fff; }
.modal-switch {
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--blue-dark);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
}

/* ── MODALS (separate "windows") ────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(6,20,40,0.6);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal-box {
  background: #fff;
  border-radius: 16px;
  max-width: 520px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2.2rem;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--border); border: none;
  width: 36px; height: 36px; border-radius: 50%;
  font-size: 1rem; cursor: pointer; color: var(--white);
  transition: background 0.2s;
}
.modal-close:hover { background: var(--white); color: #fff; }
.modal-box h3 { font-size: 1.5rem; color: var(--white); font-weight: 900; margin-bottom: 1rem; }
.modal-box p { color: var(--text-muted); margin-bottom: 1rem; }
.modal-img { width: 100%; height: 170px; object-fit: cover; border-radius: 10px; margin-bottom: 1.1rem; }
.qr-large { height: 220px; object-fit: contain; background: var(--blue-light); }

/* ── FOOTER ──────────────────────────────────────────────────────── */
footer { background: var(--blue-dark); color: #cfe0ff; padding: 3rem 1.5rem 1.5rem; }
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 2.5rem; justify-content: space-between;
}
.footer-brand .logo { color: #fff; margin-bottom: 0.6rem; }
.footer-brand .logo b { color: var(--blue-glow); }
.footer-tagline { font-size: 0.88rem; opacity: 0.75; max-width: 260px; }
.footer-links h4 {
  font-size: 0.74rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  color: var(--blue-glow); margin-bottom: 1rem;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { color: #cfe0ff; text-decoration: none; font-size: 0.9rem; opacity: 0.85; }
.footer-links a:hover { opacity: 1; text-decoration: underline; }
.footer-bottom {
  max-width: 1100px; margin: 2rem auto 0; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.8rem; opacity: 0.7;
}

/* ── MULTIPAGE DODATKI ───────────────────────────────────────────── */
/* Predogled ekipe na Domov */
.home-team { background: var(--blue-light); }
.home-team .team-preview { margin-bottom: 0; }

/* Uvod — med naslovno sliko in ekipo na Domov */
.home-intro { background: var(--blue-light); }
.intro-text { max-width: 760px; margin: 0 auto; }
.intro-text p { font-size: 1.08rem; line-height: 1.75; color: var(--text); margin-bottom: 1.2rem; }
.intro-text p:last-child { margin-bottom: 0; }




