/* Wood Zen - thin overlay on top of the template's style.css.
 * Only nudges palette to brand, sizes the SVG wordmark, styles the
 * Formspree status, the custom Cijene CTA card and the Detaljne usluge
 * grid. Everything else inherits from the template.
 */

:root {
  /* Wood Zen brand palette */
  --wz-wood:  #B06C49;
  --wz-sand:  #D9CAB3;
  --wz-olive: #556B2F;
  --wz-leaf:  #A3C586;
  --wz-mist:  #8FA9A3;

  /* Nudge template primary into the Wood Zen wood-brown so existing
   * buttons / links / accents inherit the brand color without rewriting
   * the template stylesheet. */
  --theme-color1: #B06C49;
  --theme-color1-rgb: 176, 108, 73;
  --link-color: #B06C49;
  --link-hover-color: #556B2F;
}

::-moz-selection { background: var(--wz-olive); color: #fff; }
::selection      { background: var(--wz-olive); color: #fff; }

/* ---------- Logo sizing for the SVG wordmark ---------- */
.main-header .logo a img,
.main-header .nav-logo img,
.sticky-header .logo a img {
  height: 38px;
  width: auto;
  max-width: none;
}
.main-footer .bottom-box .logo img {
  height: 42px;
  width: auto;
}
.mobile-menu .nav-logo img {
  height: 36px;
  width: auto;
}

/* ---------- Header upper bar: phone link styling ---------- */
.main-header .upper-box .info a {
  color: inherit;
}
.main-header .upper-box .info a:hover {
  color: var(--wz-leaf);
}
/* Template applies text-transform: capitalize on .info span which mangles
 * email/phone strings. Force normal casing for those values. */
.main-header .upper-box .info span,
.main-header .upper-box .info span a {
  text-transform: none;
}

/* ---------- Banner third funfact uses BiH text instead of number ---------- */
.banner-section .funfact-block .count-box span:not(.count-text) {
  font-family: var(--heading-font-family, "Bebas Neue", sans-serif);
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: 2px;
}

/* Flip hero background horizontally so the bright light fixture sits on the
 * opposite side of the header logo, keeping the white wordmark legible. */
.banner-section .bg.bg-image img {
  transform: scaleX(-1);
}

/* ---------- Service detail subpages ---------- */
.wz-service-block {
  margin-top: 36px;
}
.wz-service-block + .wz-service-block {
  margin-top: 28px;
}
.wz-service-block .h4 {
  margin: 0 0 14px;
  color: var(--wz-olive);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
.wz-service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 28px;
}
@media (max-width: 600px) {
  .wz-service-list { grid-template-columns: 1fr; }
}
.wz-service-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-color, #2C231D99);
  border-bottom: 1px dashed rgba(44, 35, 29, 0.12);
}
.wz-service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(85, 107, 47, 0.15);
  box-shadow: inset 0 0 0 3px var(--wz-olive);
}

.wz-service-cta {
  margin-top: 48px;
  padding: 36px 40px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--wz-olive), #3F5224);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.wz-service-cta .wz-service-cta__text {
  flex: 1 1 320px;
}
.wz-service-cta .h3 {
  color: #fff;
  margin: 0 0 8px;
}
.wz-service-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}

/* Page title (sub-page hero) - olive overlay so it matches brand */
.page-title {
  position: relative;
}
.page-title::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(44, 35, 29, 0.78), rgba(85, 107, 47, 0.55));
  pointer-events: none;
}
.page-title .auto-container { position: relative; z-index: 1; }

/* ---------- Cijene CTA card (replaces template's pricing tables) ---------- */
.wz-cijene-card {
  max-width: 880px;
  margin: 40px auto 0;
  padding: 48px clamp(24px, 4vw, 56px);
  background: linear-gradient(135deg, var(--wz-olive), #3F5224);
  color: #FFFFFF;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 18px 50px rgba(44, 35, 29, 0.15);
  position: relative;
  overflow: hidden;
}
.wz-cijene-card::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(163, 197, 134, 0.18);
  filter: blur(12px);
  pointer-events: none;
}
.wz-cijene-card p {
  position: relative;
  margin: 0 auto 28px;
  max-width: 64ch;
  color: rgba(255, 255, 255, 0.92);
  font-size: 17px;
  line-height: 1.6;
}
.wz-cijene-card__actions {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.wz-cijene-card__actions .btn-style-two {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.wz-cijene-card__actions .btn-style-two:hover {
  background: #fff;
  color: var(--wz-olive);
}

/* ---------- Contact form: select + Formspree status + honeypot ---------- */
.contact-section .form-clt select {
  width: 100%;
  padding: 18px 20px;
  border: 1px solid rgba(44, 35, 29, 0.12);
  border-radius: 12px;
  background-color: #fff;
  font-size: 15px;
  color: var(--headings-color, #2C231D);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23556B2F' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}

.wz-honey {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.wz-form-status {
  margin: 14px 0 0;
  font-size: 14px;
  min-height: 1.2em;
}
.wz-form-status[data-status="loading"] { color: #5C5046; }
.wz-form-status[data-status="success"] { color: #2F7A3D; }
.wz-form-status[data-status="error"]   { color: #B23A3A; }

/* ---------- Preloader: Wood Zen logo + BCS label ----------
 * Template uses images/logo2.png with "Loading" label. Swap for the
 * Wood Zen wordmark SVG and localize the label.
 */
.preloader:after {
  background-image: url(../images/logo/woodzen.svg) !important;
  background-size: contain !important;
  width: 220px !important;
  margin-left: -110px !important;
}
.preloader:before {
  content: "Učitavanje" !important;
  color: var(--wz-olive) !important;
}

/* ---------- Footer schedule: align values into a column ----------
 * Template hard-codes per-row margin-right on the label span (49/40/50px)
 * tuned for English labels. With BCS labels this misaligns. Use flex with
 * a min-width on the label so values line up regardless of label length.
 */
.main-footer .shedule-list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.main-footer .shedule-list li span {
  margin-right: 0 !important;
  min-width: 90px;
  flex-shrink: 0;
}

/* ---------- Misc: footer bottom-box right column alignment ---------- */
.main-footer .bottom-box .right-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.main-footer .bottom-box .right-box .h4.title { margin: 0; }
