.footer-custom {
    background-color: #184E51;
    color: #ffffff;
    padding: 12px 0 6px 0;
    font-size: 14px;
}

/* LOGO */
.footer-logo {
    margin-bottom: 6px;
}

.footer-logo img {
    max-width: 80px;
    height: auto;
}

/* TEKST */
.footer-custom p {
    margin-bottom: 3px;
    line-height: 1.2;
}

/* LINKI */
.footer-custom a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 2px;
    line-height: 1.2;
}

.footer-custom a:hover {
    text-decoration: underline;
}

/* NASLOVI */
.footer-title {
    font-size: 15px;
    margin-bottom: 6px;
}

/* LOČILNA ČRTA */
.footer-line {
    margin: 8px 0;
    opacity: 0.25;
}
.footer-col {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

.footer-logo {
    margin-top: auto;   /* 🔥 POTISNE VSE DOL */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 10px;
}

/* glavni logo */
.footer-main-logo {
    height: 80px; /* prilagodi kot imaš zdaj */
    width: auto;
}

/* social ikone */
.social-icon {
    margin-top: auto;
    width: 35px;
    height: 35px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    border-radius: 50%;
    background: #D2D2D2;
    color: #184E51;
    text-decoration: none;
    font-size: 16px;
    -webkit-transition: 0.2s;
    transition: 0.2s;
}
.social-icon i {
    color: #184E51;
}

/* hover efekt */
.social-icon:hover {
    background: #ddd;
    -webkit-transform: scale(1.05);
            transform: scale(1.05);
}


/* Mobilna prilagoditev noge */
.footer-custom .footer-title {
  color: var(--bs-success-bg-subtle);
}

.footer-custom .footer-contact-btn {
  padding: 0.5rem 1.125rem;
  border: 1px solid var(--bs-body-bg);
  border-radius: var(--bs-border-radius-pill);
  background-color: var(--bs-body-bg);
  color: var(--bs-success-text-emphasis);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.footer-custom .footer-contact-btn:hover,
.footer-custom .footer-contact-btn:focus-visible {
  border-color: var(--bs-success-bg-subtle);
  background-color: transparent;
  color: var(--bs-success-bg-subtle);
  text-decoration: none;
}

.footer-custom .footer-contact-btn:focus-visible,
.footer-custom .social-icon:focus-visible {
  outline: 0.2rem solid var(--bs-success-bg-subtle);
  outline-offset: 0.2rem;
}

.cookie-consent {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1080;
  background-color: var(--bs-dark);
  color: var(--bs-success-bg-subtle);
  -webkit-box-shadow: var(--bs-box-shadow);
          box-shadow: var(--bs-box-shadow);
  font-size: 0.9375rem;
}

.cookie-consent .cookie-more-link {
  color: var(--bs-success-border-subtle);
  font-weight: 600;
  text-decoration: underline;
}

@media (max-width: 767.98px) {
  .footer-custom {
    padding-bottom: 1rem;
  }

  .footer-custom .container {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .footer-custom .footer-logo {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    margin-bottom: 0.5rem;
  }

  .footer-custom .footer-logo img {
    width: 100%;
    max-width: 96px;
    margin: 0 25% 0.5rem;
  }

  .footer-custom .social-icon {
    width: 44px;
    height: 44px;
    margin-top: 0;
    font-size: 1.125rem;
  }

  .footer-custom .footer-title {
    margin-bottom: 0.25rem;
  }

  .footer-custom a:not(.social-icon):not(.footer-contact-btn) {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    line-height: 1.4;
  }

  .footer-custom .footer-line {
    margin-top: 1.5rem;
  }

  .cookie-consent {
    max-height: 70vh;
    overflow-y: auto;
    font-size: 0.875rem;
  }

  .cookie-consent .btn {
    width: 100%;
    min-height: 44px;
  }
}