/* ===========================================================
   RESPECT BIH — custom styles
   Palette: navy #12202C, deep red #C8302C, cream #F6F4EF,
            warm white #FFFFFF, muted ink #5B6672
   Type: Fraunces (display) / Manrope (body)
=========================================================== */

:root{
  --navy: #12202C;
  --navy-2: #1A2E3D;
  --red: #C8302C;
  --red-dark: #A62620;
  --cream: #F6F4EF;
  --ink: #1D2530;
  --muted: #6C7885;
  --border: #E4E0D6;
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand-title{
  font-family: 'Fraunces', Georgia, serif;
}

a{ text-decoration: none; }

.text-accent{ color: var(--red); }

/* ---------- Buttons ---------- */
.btn-donate{
  background: var(--red);
  border: 1px solid var(--red);
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  padding-inline: 1.25rem;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn-donate:hover{
  background: var(--red-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(200,48,44,.28);
}
.btn-outline-light{
  border-radius: 8px;
  font-weight: 600;
}
.btn-outline-dark{
  border-radius: 8px;
  font-weight: 600;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline-dark:hover{
  background: var(--ink);
  border-color: var(--ink);
}

/* ---------- Header / Navbar ---------- */
.site-header{
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.brand-mark{
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.brand-text{ display: flex; flex-direction: column; line-height: 1; }
.brand-eyebrow{
  font-size: .62rem;
  letter-spacing: .12em;
  color: #9FADB9;
  font-weight: 600;
}
.brand-title{
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .01em;
}
.brand-title sup{
  font-size: .55rem;
  color: var(--red);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  top: -.6em;
}

.navbar-nav .nav-link{
  color: #C9D2DA;
  font-weight: 600;
  font-size: .88rem;
  letter-spacing: .03em;
  padding: .5rem 1rem !important;
  position: relative;
}
.navbar-nav .nav-link:hover{ color: #fff; }
.navbar-nav .nav-link.active{ color: var(--red); }
.navbar-nav .nav-link.active::after{
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: -2px;
  height: 2px;
  background: var(--red);
}

/* ---------- Hero ---------- */
.hero{
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 5rem 0 8rem;
}
.hero-bg{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.9);
}
.hero-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(18,32,44,.94) 20%, rgba(18,32,44,.72) 55%, rgba(18,32,44,.35) 100%);
}
.hero-title{
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}
.hero-text{
  color: #D4DAE0;
  font-size: 1.08rem;
  max-width: 540px;
  line-height: 1.6;
}

.donation-card{
  position: absolute;
  right: 16%;
  top: 50%;
  transform: translateY(-50%);
  
  border-radius: 16px;
  padding: 2rem;
  width: 320px;
  z-index: 3;
}
.donation-kicker{
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}
.donation-title{
  font-family: 'Fraunces', serif;
  color: var(--red);
  font-size: 1.4rem;
  font-weight: 600;
}
.donation-amount{
  font-family: 'Fraunces', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--ink);
}
.donation-amount span{ font-size: 1.1rem; font-weight: 600; color: var(--muted); }

.progress{
  height: 20px;
  background: #EFEBE3;
  border-radius: 20px;
  overflow: hidden;
}
.progress-bar{
  background: var(--red);
  font-size: .68rem;
  font-weight: 700;
}

@media (max-width: 991.98px){
  .hero{ padding-bottom: 22rem; text-align: left; }
  .donation-card{
    position: absolute;
    right: 50%;
    transform: translateX(50%);
    top: auto;
    bottom: -6.5rem;
    width: 88%;
    max-width: 380px;
  }
}

/* ---------- Features strip ---------- */
.features-strip{
  background: var(--cream);
}
.feature-item{
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.feature-icon{
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}
.feature-title{
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: .2rem;
  font-family: 'Manrope', sans-serif;
}
.feature-text{
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 0;
}

/* ---------- Nav cards grid ---------- */
.nav-cards{ padding-top: 0 !important; padding-bottom: 0 !important; }
.card-col{ min-height: 420px; }
.nav-card{
  display: block;
  position: relative;
  height: 420px;
  background: var(--navy);
  overflow: hidden;
}
.nav-card-img{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .5s ease;
}
.nav-card::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,32,44,0) 30%, rgba(18,32,44,.96) 78%);
}
.nav-card:hover .nav-card-img{ transform: scale(1.08); }
.nav-card-body{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.75rem 1.5rem;
  z-index: 2;
}
.nav-card-body h3{
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  font-family: 'Manrope', sans-serif;
  margin-bottom: .5rem;
}
.nav-card-body p{
  color: #C9D2DA;
  font-size: .82rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  min-height: 40px;
}

/* ---------- Sections ---------- */
.section-light{ background: var(--cream); }
.py-lg-6{ padding-top: 5rem; padding-bottom: 5rem; }

.section-eyebrow{
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--red);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}
.section-eyebrow::before{
  content:"";
  width: 22px;
  height: 2px;
  background: var(--red);
  display: inline-block;
}
.section-eyebrow.justify-content-center::before{ order: -1; }

.section-title{
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--ink);
}
.section-text{
  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
}

.about-img-wrap img{
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.stat-number{
  font-family: 'Fraunces', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 0;
}
.stat-label{
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: 0;
}

.gallery-img{
  height: 220px;
  width: 100%;
  object-fit: cover;
  transition: transform .35s ease;
  cursor: zoom-in;
}
.gallery-img:hover{ transform: scale(1.03); }
.gallery-img:focus-visible{
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

/* ---------- Lightbox (fullscreen prikaz slike u originalnoj veličini) ---------- */
.lightbox-overlay{
  position: fixed;
  inset: 0;
  background: rgba(8, 14, 20, .95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.lightbox-overlay.active{
  opacity: 1;
  visibility: visible;
}
.lightbox-figure{
  margin: 0;
  max-width: 92vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}
.lightbox-img{
  max-width: 92vw;
  max-height: 84vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 25px 70px rgba(0,0,0,.55);
  background: #0b1218;
}
.lightbox-counter{
  color: #C9D2DA;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .03em;
}
.lightbox-close{
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}
.lightbox-close:hover{ background: var(--red); border-color: var(--red); }
.lightbox-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}
.lightbox-nav:hover{ background: var(--red); border-color: var(--red); }
.lightbox-prev{ left: 1.5rem; }
.lightbox-next{ right: 1.5rem; }

@media (max-width: 575.98px){
  .lightbox-nav{ width: 42px; height: 42px; font-size: 1.1rem; }
  .lightbox-prev{ left: .5rem; }
  .lightbox-next{ right: .5rem; }
  .lightbox-close{ top: .75rem; right: .75rem; width: 40px; height: 40px; }
}

/* Action cards */
.action-card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
}
.action-card h3{
  font-size: 1.05rem;
  font-weight: 700;
  font-family: 'Manrope', sans-serif;
  margin: .75rem 0 .5rem;
}
.action-card p{ color: var(--muted); font-size: .9rem; }
.badge-status{
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .3rem .7rem;
  border-radius: 20px;
}
.badge-active{ background: #FDE9E8; color: var(--red-dark); }
.badge-done{ background: #E4F4E9; color: #226B3B; }

/* ---------- Partneri i sponzori ---------- */
.partner-logo{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  height: 270px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.partner-logo:hover{
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(18,32,44,.08);
  border-color: #D6CFC0;
}
.partner-logo img{
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(1) opacity(.75);
  transition: filter .2s ease;
}
.partner-logo:hover img{
  filter: grayscale(0) opacity(1);
}

/* ---------- Donate section ---------- */
.donate-section{
  background: var(--navy);
}
.donate-form .form-control{
  background: #1E3140;
  border: 1px solid #2C4356;
  color: #fff;
  border-radius: 8px;
  padding: .65rem .9rem;
}
.donate-form .form-control::placeholder{ color: #7E8D9B; }
.donate-form .form-control:focus{
  background: #1E3140;
  color: #fff;
  border-color: var(--red);
  box-shadow: 0 0 0 .2rem rgba(200,48,44,.25);
}
.amount-btn{
  background: #1E3140;
  border: 1px solid #2C4356;
  color: #C9D2DA;
  font-weight: 600;
  border-radius: 8px;
  padding: .55rem 1.3rem;
}
.btn-check:checked + .amount-btn{
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* ---------- Bankovni podaci za donacije ---------- */
.bank-details-card{
  background: #fff;
  border-radius: 16px;
  padding: 2rem 2.25rem;
  height: 100%;
}
.bank-details-title{
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.5rem;
}
.bank-details-title i{ color: var(--red); }

.bank-block-label{
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .75rem;
}
.bank-dl{
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1rem;
  row-gap: .4rem;
  margin-bottom: 0;
}
.bank-dl dt{
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.bank-dl dd{
  font-size: .95rem;
  font-weight: 700;
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  letter-spacing: .01em;
  margin-bottom: 0;
  word-break: break-word;
}
.bank-divider{
  border-color: var(--border);
  margin: 1.25rem 0;
}
.bank-contact p{
  font-size: .92rem;
  color: var(--ink);
  font-weight: 600;
}
.bank-contact i{
  color: var(--red);
  margin-right: .4rem;
}
.bank-contact a{
  color: var(--ink);
  border-bottom: 1px solid transparent;
}
.bank-contact a:hover{
  color: var(--red);
  border-bottom-color: var(--red);
}

@media (max-width: 991.98px){
  .bank-details-card{ padding: 1.75rem; }
}

/* Overlay "Donacije online uskoro..." preko forme za donacije */
.donate-form-wrap{
  position: relative;
}
.coming-soon-overlay{
  position: absolute;
  inset: 0;
  background: rgba(18, 32, 44, .55);
  backdrop-filter: blur(2px);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  z-index: 5;
  cursor: not-allowed;
}
.coming-soon-overlay span{
  font-family: 'Fraunces', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: #fff;
  letter-spacing: .01em;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.coming-soon-overlay--card{
  border-radius: 16px;
  padding: 1.25rem;
}
.coming-soon-overlay--card span{
  font-size: 1.05rem;
  line-height: 1.35;
}

/* ---------- Contact ---------- */
.contact-list li{
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--ink);
}
.contact-list i{ color: var(--red); }
#kontakt .form-control{
  border-radius: 8px;
  border-color: var(--border);
  padding: .65rem .9rem;
}
#kontakt .form-control:focus{
  border-color: var(--red);
  box-shadow: 0 0 0 .2rem rgba(200,48,44,.15);
}

/* ---------- Footer ---------- */
.site-footer{
  background: var(--navy);
  color: #C9D2DA;
}
.footer-link{
  color: #C9D2DA;
  font-size: .88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.footer-link i{ color: var(--red); }
.footer-link:hover{ color: #fff; }
.footer-tagline{
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: #D4DAE0;
  font-size: 1rem;
}
.social-links a{
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #2C4356;
  color: #C9D2DA;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, color .2s ease;
}
.social-links a:hover{
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.footer-divider{ border-color: #263B4B; margin: 2rem 0 1.25rem; }
.footer-copy{ color: #7E8D9B; }
