:root {
  --footer-gold: #cf8b27;
  --footer-gold-light: #e5ac53;
  --footer-dark: #202326;
  --footer-dark-secondary: #25292c;
  --footer-white: #ffffff;
  --footer-muted: rgba(255, 255, 255, 0.64);
  --footer-border: rgba(255, 255, 255, 0.09);
  --footer-font: "DM Sans", Arial, sans-serif;
}

.site-footer {
  position: relative;
  overflow: hidden;
  color: var(--footer-muted);
  background:
    radial-gradient(
      circle at 10% 10%,
      rgba(207, 139, 39, 0.08),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      var(--footer-dark-secondary) 0%,
      var(--footer-dark) 65%,
      #1b1e20 100%
    );
  font-family: var(--footer-font);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -160px;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(207, 139, 39, 0.07);
  border-radius: 50%;
  pointer-events: none;
}

.footer-container {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), 1440px);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.85fr 0.9fr 1.15fr 1fr;
  gap: clamp(35px, 5vw, 75px);
  padding-top: 75px;
  padding-bottom: 65px;
}


/* LOGO */

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--footer-white);
  text-decoration: none;
}

.footer-logo-mark {
  display: flex;
  align-items: stretch;
  gap: 3px;
  width: 31px;
  height: 42px;
  padding: 4px;
  border: 1px solid rgba(207, 139, 39, 0.5);
}

.footer-logo-mark span {
  flex: 1;
  background:
    linear-gradient(
      180deg,
      #efc06f 0%,
      #a86714 100%
    );
}

.footer-logo-copy {
  display: flex;
  flex-direction: column;
}

.footer-logo-copy strong {
  color: var(--footer-white);
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.09em;
}

.footer-logo-copy em {
  color: var(--footer-gold-light);
  font-style: normal;
}

.footer-logo-copy small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.21em;
  text-transform: uppercase;
}

.footer-brand > p {
  max-width: 340px;
  margin: 24px 0 22px;
  color: var(--footer-muted);
  font-size: 13px;
  line-height: 1.75;
}


/* DRUŠTVENE MREŽE */

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 39px;
  color: var(--footer-white);
  font-size: 13px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  transition:
    color 0.3s ease,
    border-color 0.3s ease,
    background-color 0.3s ease,
    transform 0.3s ease;
}

.footer-social a:hover {
  color: var(--footer-dark);
  border-color: var(--footer-gold-light);
  background: var(--footer-gold-light);
  transform: translateY(-4px);
}


/* KOLONE */

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer-column h3 {
  position: relative;
  margin: 0 0 17px;
  padding-bottom: 12px;
  color: var(--footer-white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 27px;
  height: 1px;
  background: var(--footer-gold);
}

.footer-column > a {
  position: relative;
  color: var(--footer-muted);
  font-size: 12px;
  line-height: 1.55;
  text-decoration: none;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.footer-column > a:not(.footer-text-link):hover {
  color: var(--footer-gold-light);
  transform: translateX(4px);
}


/* KONTAKT */

.footer-contact > a,
.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact i,
.footer-contact-row i {
  flex: 0 0 auto;
  width: 18px;
  margin-top: 3px;
  color: var(--footer-gold-light);
  font-size: 12px;
  text-align: center;
}

.footer-contact-row {
  color: var(--footer-muted);
  font-size: 12px;
  line-height: 1.55;
}


/* PORUKA */

.footer-message p {
  max-width: 250px;
  margin: 0 0 12px;
  color: var(--footer-muted);
  font-size: 12px;
  line-height: 1.7;
}

.footer-text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  color: var(--footer-gold-light) !important;
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-text-link i {
  transition: transform 0.3s ease;
}

.footer-text-link:hover i {
  transform: translateX(5px);
}


/* DONJI DIO */

.footer-bottom {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--footer-border);
  background: rgba(0, 0, 0, 0.07);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 65px;
  padding-top: 15px;
  padding-bottom: 15px;
  color: rgba(255, 255, 255, 0.47);
  font-size: 11px;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.47);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: var(--footer-gold-light);
}


/* TABLET */

@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 1.4fr repeat(2, 1fr);
  }

  .footer-message {
    grid-column: 2 / 3;
  }
}


/* MANJI TABLET */

@media (max-width: 850px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 45px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand > p {
    max-width: 500px;
  }

  .footer-message {
    grid-column: auto;
  }
}


/* MOBITEL */

@media (max-width: 580px) {
  .footer-container {
    width: min(calc(100% - 32px), 1440px);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-top: 58px;
    padding-bottom: 50px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-logo-copy strong {
    font-size: 22px;
  }

  .footer-column h3 {
    margin-bottom: 11px;
  }

  .footer-message {
    grid-column: auto;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    min-height: 88px;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    gap: 15px;
  }
}