:root{
  --lula-footer-text: rgba(245, 240, 230, 0.88);
  --lula-footer-muted: rgba(245, 240, 230, 0.62);
  --lula-footer-faint: rgba(245, 240, 230, 0.45);
}

.lula-footer-separator{
  position: relative;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 7px;
  z-index: 101; /* Ensure separator is above background */
}
.lula-footer-separator::after{
  content: "•  •  •";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(200, 154, 75, 0.9);
  font-size: 8px;
  line-height: 1;
  text-shadow: 0 0 5px rgba(200, 154, 75, 0.6);
  background: 
    linear-gradient(
      90deg,
      transparent 0%,
      transparent 15%,
      rgba(200, 154, 75, 0.3) 20%,
      rgba(200, 154, 75, 0.5) 30%,
      rgba(200, 154, 75, 0.5) 45%,
      transparent 48%,
      transparent 52%,
      rgba(200, 154, 75, 0.5) 55%,
      rgba(200, 154, 75, 0.5) 70%,
      rgba(200, 154, 75, 0.3) 80%,
      transparent 85%,
      transparent 100%
    );
  background-position: center center;
  background-size: 100% 2px;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 10;
}
.lula-footer-separator__orb{
  display: none;
}

.lula-footer{
  background: #0a0b0d;
  color: var(--lula-footer-text);
  padding: 44px 0 56px;
  position: relative;
  z-index: 100; /* Ensure footer is above background images */
}

.lula-footer .lula-container{
  font-family: "Playfair Display", ui-serif, Georgia, "Times New Roman", serif;
}

.lula-footer__quote{
  margin: 0 0 36px;
  text-align: center;
  font-family: "Playfair Display", ui-serif, Georgia, "Times New Roman", serif;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--lula-footer-muted);
}

.lula-footer__mid{
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 90px;
  align-items: center;
}

.lula-footer__nav{
  display: flex;
  justify-content: flex-end;
}

.lula-footer__nav-list{
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 26px 38px;
  padding: 0;
  margin: 0;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.lula-footer__nav-list a{
  color: var(--lula-footer-text) !important;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.lula-footer__nav-icon{
  width: 16px;
  height: 16px;
  display: block;
}

.lula-footer__nav-list a:hover{
  color: var(--accent) !important;
}

.lula-footer__nav-list a:focus{
  outline: 1px dashed rgba(176, 141, 87, 0.6);
  outline-offset: 4px;
}

.lula-footer__contact{
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-start;
  position: relative;
  margin-left: 52px;
}

.lula-footer__contact::before{
  content: "";
  position: absolute;
  left: -45px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(176, 141, 87, 0.6) 20%,
    rgba(176, 141, 87, 0.7) 50%,
    rgba(176, 141, 87, 0.6) 80%,
    transparent 100%
  );
  max-height: 100%;
}

.lula-footer__avatar{
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(176, 141, 87, 0.35);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.35);
  position: absolute;
  left: 0;
}

.lula-footer__contact-text{
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--lula-footer-muted);
  margin-left: 68px; /* 52px (slika) + 16px (gap) */
}

.lula-footer__contact-text p{
  margin: 0;
}

.lula-footer__contact-line{
  display: flex;
  align-items: center;
  gap: 6px;
}

.lula-footer__icon{
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.lula-footer__icon-compass{
  color: var(--lula-footer-muted);
}

.lula-footer__icon-phone{
  color: #4ade80; /* zelena boja za slušalicu */
}

.lula-footer__cta{
  display: inline-flex;
  align-self: flex-start;
  color: var(--lula-footer-text) !important;
  font-size: 14px;
  border-bottom: 1px solid rgba(176, 141, 87, 0.6);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.lula-footer__cta:hover{
  color: var(--accent) !important;
  border-color: rgba(176, 141, 87, 0.9);
}

.lula-footer__cta:focus{
  outline: 1px dashed rgba(176, 141, 87, 0.6);
  outline-offset: 4px;
}

.lula-footer__trust{
  margin: 40px 0 24px;
  text-align: center;
  color: var(--lula-footer-faint);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 18px;
}

.lula-footer__trust::before,
.lula-footer__trust::after{
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(176, 141, 87, 0.5), transparent);
}

.lula-footer__trust span{
  white-space: nowrap;
}

.lula-footer__copyright{
  margin: 0;
  text-align: center;
  font-size: 12px;
  color: rgba(245, 240, 230, 0.42);
}

@media (max-width: 980px){
  .lula-footer{
    padding: 40px 0 52px;
  }

  .lula-footer__mid{
    grid-template-columns: 1fr;
    text-align: center;
  }

  .lula-footer__nav{
    justify-content: center;
  }

  .lula-footer__nav-list{
    justify-content: center;
  }

  .lula-footer__contact{
    justify-content: center;
    margin-left: 0;
  }

  .lula-footer__contact::before{
    left: 0;
    right: 0;
    top: -20px;
    bottom: auto;
    width: auto;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(176, 141, 87, 0.6) 20%,
      rgba(176, 141, 87, 0.7) 50%,
      rgba(176, 141, 87, 0.6) 80%,
      transparent 100%
    );
  }

  .lula-footer__cta{
    align-self: center;
  }

  .lula-footer__trust{
    flex-direction: column;
    gap: 12px;
  }

  .lula-footer__trust::before,
  .lula-footer__trust::after{
    width: min(280px, 100%);
  }

  .lula-footer__trust span{
    white-space: normal;
    line-height: 1.4;
  }
}

@media (max-width: 640px){
  .lula-footer__quote{
    font-size: 15px;
  }

  .lula-footer__nav-list{
    flex-direction: column;
    gap: 12px;
  }

  .lula-footer__contact{
    flex-direction: column; /* avatar iznad teksta */
    align-items: center; /* centrirano horizontalno */
    gap: 12px;
  }

  .lula-footer__avatar{
    position: static; /* avatar sada u normalnom toku, ne apsolutno */
    left: auto;
  }

  .lula-footer__contact-text{
    margin-left: 0; /* ukloni margin jer avatar nije više apsolutno pozicioniran */
    text-align: center; /* centriraj tekst */
  }
}

/* Hide Astra default footer copyright section */
#colophon .site-below-footer-wrap {
  display: none !important;
}

/* Ensure visibility of key footer elements on all pages */
.lula-footer__quote,
.lula-footer__mid,
.lula-footer__trust,
.lula-footer__copyright {
  position: relative;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 102;
}