/* ==============================
   Header – premium banking style
   ============================== */

.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* Old rule was .site-header .container {...}
   Now we use .header-inner in header.php */
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* ---------- Brand ---------- */

.brand{
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand__logo{
  height: 36px;
  width: auto;
  display: block;
}

.brand__text{
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name{
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: var(--text);
}

.brand__tag{
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.3px;
  color: var(--muted);
  margin-top: 2px;
}

/* ---------- Navigation ---------- */

.nav{
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav__link{
  position: relative;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.3px;
  color: var(--muted);
  padding: 6px 2px;
  transition: color 0.35s ease;
}

/* Slow underline animation */
.nav__link::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(.4,0,.2,1);
}

/* Hover / active */
.nav__link:hover,
.nav__link.is-active{
  color: var(--accent);
}

.nav__link:hover::after,
.nav__link.is-active::after{
  transform: scaleX(1);
}

/* Site main baseline (important so footer doesn't jump up visually) */
.site-main{
  min-height: 70vh;
}

/* ==============================
   Cards / layout blocks
   ============================== */

.cards{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.card{
  grid-column: span 4;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.card h3{
  margin: 0 0 8px;
  font-size: 16px;
}

.card p{
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* ==============================
   Buttons
   ============================== */

.btn{
  display: inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid var(--btn);
  background: var(--btn);
  color: var(--btnText);
  transition: transform 0.12s ease, filter 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover{
  text-decoration: none;
  filter: brightness(0.98);
}

.btn:active{
  transform: translateY(1px);
}

.btn--ghost{
  background: transparent;
  color: var(--btn);
  border-color: rgba(82,81,154,0.35);
}

.btn--ghost:hover{
  border-color: var(--btn);
}

/* CTA row helper */
.cta-row{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* ==============================
   Footer
   ============================== */

.site-footer{
  border-top: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  padding: 30px 0;
}

.footer-grid{
  display: grid;
  grid-template-columns: 1.2fr 1fr .7fr;
  gap: 18px;
}

.footer-title{
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-muted{
  color: var(--muted);
  line-height: 1.6;
}

.footer-links{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-bottom{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,0.08);
  color: var(--muted);
  font-size: 13px;
}

.footer-placeholder{
  opacity: 0.7;
}

/* ==============================
   Responsive
   ============================== */

@media (max-width: 960px){
  .nav{
    gap: 14px;
  }

  .brand__tag{
    display: none;
  }
}

@media (max-width: 920px){
  .card{
    grid-column: span 12;
  }

  .footer-grid{
    grid-template-columns: 1fr;
  }
}
/* ==============================
   Footer – premium dark (row layout)
   ============================== */

.site-footer--dark{
  position: relative;
  background: #111318;
  color: rgba(255,255,255,0.90);
  padding: 48px 0 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}

.site-footer--dark .footer-bg{
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 80% at 12% 20%, rgba(253,99,2,0.18), rgba(253,99,2,0) 62%),
    radial-gradient(70% 90% at 85% 28%, rgba(82,81,154,0.22), rgba(82,81,154,0) 64%),
    radial-gradient(80% 110% at 50% 120%, rgba(0,0,101,0.18), rgba(0,0,101,0) 68%),
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.12));
}

/* --- Top row --- */
.footer-row{
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
}

/* Left info */
.footer-info{
  max-width: 420px;
}

.footer-name{
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.2px;
  color: #fff;
}

.footer-tag{
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.25px;
  color: rgba(255,255,255,0.70);
  margin-top: 2px;
}

.footer-desc{
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
}

/* Right columns */
.footer-cols{
  display: flex;
  gap: 36px;
}

.footer-col{
  min-width: 140px;
}

.footer-title{
  font-weight: 650;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.92);
  font-size: 13px;
  letter-spacing: 0.2px;
}

.site-footer--dark a{
  display: block;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 8px;
  transition: color 0.25s ease;
}

.site-footer--dark a:hover{
  color: var(--accent);
}

.footer-muted{
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  font-size: 13px;
}

.footer-placeholder{
  opacity: 0.75;
}

/* Bottom */
.footer-bottom{
  position: relative;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.10);
  display: grid;
  gap: 10px;
}

.footer-copy{
  color: rgba(255,255,255,0.70);
  font-size: 13px;
  letter-spacing: 0.15px;
}

.footer-disclaimer{
  color: rgba(255,255,255,0.62);
  font-size: 12.5px;
  line-height: 1.7;
  max-width: 110ch;
}

/* Responsive */
@media (max-width: 920px){
  .footer-row{
    flex-direction: column;
  }
  .footer-cols{
    gap: 22px;
  }
}
/* Footer logo */
.footer-logo{
  display: block;
  height: 34px;
  width: auto;
  margin-bottom: 6px;
  filter: brightness(0) invert(1); /* logo postaje beo za dark footer */
}
