/* =========================================================
   FOOTER
========================================================= */

.site-footer {
  margin-top: 60px;
  padding: 32px 22px 22px;
  background: radial-gradient(
      circle at 0 0,
      rgba(71, 127, 139, 0.25),
      transparent 55%
    ),
    rgba(2, 6, 23, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 2;
  color: var(--text-muted);
}

/* tanki grid overlay da se nastavlja na global background */
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      transparent 0 92%,
      rgba(255, 255, 255, 0.02) 92% 100%
    ),
    linear-gradient(
      90deg,
      transparent 0 92%,
      rgba(255, 255, 255, 0.02) 92% 100%
    );
  background-size: 80px 80px;
  opacity: 0.4;
  pointer-events: none;
  mix-blend-mode: soft-light;
}

/* glavni container */
.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

/* pojedini blok */
.footer-inner > div h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-main);
  margin-bottom: 10px;
}

.footer-inner > div p {
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 4px;
}

/* linkovi u footeru */
.site-footer a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.site-footer a:hover {
  color: #7fd0c3;
  opacity: 0.9;
}

/* donja linija */
.footer-bottom {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  color: rgba(173, 184, 216, 0.8);
  text-align: center;
}

/* mali “glow” iznad footer-bottom */
.footer-bottom::before {
  content: "";
  position: absolute;
  inset-inline: 25%;
  top: -1px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(127, 208, 195, 0.7),
    transparent
  );
  opacity: 0.8;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .site-footer {
    padding-inline: 18px;
  }

  .footer-bottom {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .site-footer {
    padding: 26px 16px 18px;
  }

  .footer-inner > div h4 {
    font-size: 0.9rem;
  }

  .footer-inner > div p {
    font-size: 0.82rem;
  }
}
