/* FIZIOPRO — light brand overlay on ClinicMaster theme (skin-6 base) */
html[data-theme-color="skin-6"] {
  --primary: #80B020;
  --primarydark: #6a9618;
  --primary-rgb: 128, 176, 32;
  --primarylight: #e8f4d0;
  --heading-color: #1e2a22;
  --secondary: #0d4a5c;
  --secondarydark: #083848;
  --secondary-rgb: 13, 74, 92;
  --light: #eef6e0;
  --body-bg: #f3f7ec;
  /* Theme defaulted to Montserrat (not loaded) — use Poppins everywhere */
  --font-base: "Poppins", system-ui, sans-serif;
  --font-title: "Poppins", system-ui, sans-serif;
  --font-sub-title: "Poppins", system-ui, sans-serif;
  --font-Tenor-Sans: "Poppins", system-ui, sans-serif;
  --default-font-family: "Poppins", system-ui, sans-serif;
}

html[data-theme-color="skin-6"] body,
html[data-theme-color="skin-6"] button,
html[data-theme-color="skin-6"] input,
html[data-theme-color="skin-6"] select,
html[data-theme-color="skin-6"] textarea {
  font-family: "Poppins", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html[data-theme-color="skin-6"] h1,
html[data-theme-color="skin-6"] h2,
html[data-theme-color="skin-6"] h3,
html[data-theme-color="skin-6"] h4,
html[data-theme-color="skin-6"] h5,
html[data-theme-color="skin-6"] h6,
html[data-theme-color="skin-6"] .h1,
html[data-theme-color="skin-6"] .h2,
html[data-theme-color="skin-6"] .h3,
html[data-theme-color="skin-6"] .headline,
html[data-theme-color="skin-6"] .font-title,
html[data-theme-color="skin-6"] .font-Tenor-Sans {
  font-family: "Poppins", system-ui, sans-serif !important;
  letter-spacing: -0.02em;
}

html[data-theme-color="skin-6"] .font-Tenor-Sans {
  font-weight: 600;
  letter-spacing: -0.01em;
}

.fizipro-logo {
  max-height: 58px;
  width: auto;
  height: auto;
}

/* Top of page (over hero): white logo, no plate */
.fizipro-logo--top {
  background: transparent;
  border-radius: 0;
  padding: 0;
  filter: none;
}

/* Sticky / scrolled: original logo on white plate */
.fizipro-logo--sticky,
.sticky-header-wrapper.is-fixed .fizipro-logo--sticky {
  background: #fff;
  border-radius: 10px;
  padding: 5px 8px;
}

.sticky-header-wrapper.is-fixed .fizipro-logo {
  max-height: 48px;
}

/* Mobile drawer logo keeps original colored mark */
.header-nav .fizipro-logo {
  background: #fff;
  border-radius: 10px;
  padding: 5px 8px;
}

/* ——— Navbar (prompt style × FIZIOPRO green) ——— */
/* Align with hero: same max-w-390 + lg:px-10 / 3xl:px-0 */
.fp-nav {
  --fp-nav-text: #ffffff;
  --fp-nav-muted: rgba(255, 255, 255, 0.65);
  width: 100%;
  max-width: calc(var(--spacing, 0.25rem) * 390);
  margin-left: auto;
  margin-right: auto;
  padding: 16px 1.25rem; /* px-5 */
  position: relative;
  gap: 12px;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  .fp-nav {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 22px 2.5rem; /* lg:px-10 — match hero */
  }

  .fp-nav__logo {
    grid-column: 1;
    justify-self: start;
  }

  .fp-nav__menu {
    grid-column: 2;
    justify-self: center;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .fp-nav__extra {
    grid-column: 3;
    justify-self: end;
    margin-left: 0 !important;
  }
}

@media (min-width: 1681px) {
  .fp-nav {
    padding-left: 0;
    padding-right: 0; /* 3xl:px-0 — match hero */
  }
}

.sticky-header-wrapper.is-fixed .fp-nav {
  --fp-nav-text: #1a1a1a;
  --fp-nav-muted: rgba(26, 26, 26, 0.55);
}

.sticky-header-wrapper.is-fixed .main-bar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.fp-nav__logo {
  width: auto;
  height: auto;
  margin-right: 0;
  flex-shrink: 0;
}

.fp-nav__menu.header-nav {
  background: transparent;
  border-radius: 0;
  padding: 0;
}

@media (min-width: 992px) {
  .fp-nav__menu.header-nav {
    background: transparent !important;
    box-shadow: none;
    position: relative;
    left: auto;
    top: auto;
  }
}

@media (max-width: 991px) {
  .fp-nav__menu.header-nav {
    background: #ffffff;
    padding: 0 20px 24px;
  }
}

.fp-nav__links {
  gap: 0;
  align-items: center;
}

@media (min-width: 992px) {
  .fp-nav__links {
    gap: 36px;
  }
}

.fp-nav__link {
  display: inline-block;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.1px;
  color: var(--fp-nav-text);
  opacity: 0.65;
  padding: 0;
  border-radius: 0;
  background: transparent !important;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.fp-nav__link:hover,
.fp-nav__link.active {
  opacity: 1;
  color: var(--fp-nav-text);
  background: transparent !important;
}

@media (max-width: 991px) {
  .fp-nav__links > li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .fp-nav__link {
    display: block;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1.2px;
    line-height: 1.2;
    color: #1a1a1a !important;
    opacity: 1;
    padding: 20px 0;
  }

  .fp-nav__link.active,
  .fp-nav__link:hover {
    color: var(--primary, #80B020) !important;
  }
}

.fp-nav__extra {
  height: auto;
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .fp-nav__extra {
    display: none;
  }
}

.fp-nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 22px 10px 10px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: #fff !important;
  text-decoration: none;
  background: var(--primary, #80B020);
  box-shadow: none;
  border: none;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.fp-nav__cta:hover {
  background: var(--primarydark, #6a9618);
  color: #fff !important;
  transform: none;
  filter: none;
  box-shadow: none;
}

.fp-nav__cta-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  color: var(--primary, #80B020);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fp-nav__cta--mobile {
  width: 100%;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px 14px 14px;
  margin-top: 12px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: none;
}

.fp-nav__cta--mobile .fp-nav__cta-icon {
  width: 40px;
  height: 40px;
}

.fp-nav__cta--mobile .fp-nav__cta-icon svg {
  width: 16px;
  height: 16px;
}

.fp-preloader-logo {
  display: block;
  width: min(72vw, 280px);
  height: auto;
  max-height: 96px;
  object-fit: contain;
}

.fp-nav__burger {
  order: 1;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  border-radius: 10px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 2;
}

@media (max-width: 991px) {
  .fp-nav__burger {
    display: flex;
  }
}

.fp-nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.2s ease, background 0.2s ease;
}

.sticky-header-wrapper.is-fixed .fp-nav__burger span {
  background: #1a1a1a;
}

.fp-nav__burger.open span:nth-child(1),
.xmenu-toggler.open.fp-nav__burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.fp-nav__burger.open span:nth-child(2),
.xmenu-toggler.open.fp-nav__burger span:nth-child(2) {
  opacity: 0;
}

.fp-nav__burger.open span:nth-child(3),
.xmenu-toggler.open.fp-nav__burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Neutralize theme X animation offsets for our 3-line burger */
.fp-nav__burger.open span,
.xmenu-toggler.open.fp-nav__burger span {
  left: auto;
  top: auto;
  width: 24px;
  position: relative;
}

/* Override theme pill “active” look inside this nav */
@media (min-width: 992px) {
  .fp-nav .navbar-nav > li > a.active,
  .fp-nav .navbar-nav > li > a:hover {
    background: transparent !important;
    color: var(--fp-nav-text) !important;
  }
}

html[data-theme-color="skin-6"] .preloader .site-name,
html[data-theme-color="skin-6"] .preloader-overlay {
  background-color: #80B020 !important;
}

.fizipro-tagline {
  font-family: "Caveat", cursive;
  color: #80B020;
  font-size: 1.6rem;
  line-height: 1.2;
}

html {
  scroll-behavior: smooth;
}

section[id],
div[id="domov"],
div[id="o-meni"],
div[id="storitve"],
div[id="kontakt"],
section[id="termin"],
div[id="termin"] {
  scroll-margin-top: 100px;
}

/* Hero: use theme structure + reliable photo background */
html[data-theme-color="skin-6"] {
  --banner-4-gradient: 105deg, rgba(13, 40, 28, 0.78) 0%, rgba(13, 40, 28, 0.55) 45%, rgba(13, 40, 28, 0.4) 100%;
}

#domov {
  background-color: #1a2e22;
  background-image:
    linear-gradient(105deg, rgba(13, 40, 28, 0.72) 0%, rgba(13, 40, 28, 0.35) 50%, rgba(13, 40, 28, 0.12) 100%),
    url("../images/hero-banner/banner-1.jpg");
  background-size: cover;
  background-position: center 30%;
}

/* Soft white/green atmosphere on content sections */
html[data-theme-color="skin-6"] body {
  background-color: #f7faf2;
}

html[data-theme-color="skin-6"] #o-meni,
html[data-theme-color="skin-6"] section.bg-white {
  background-color: #ffffff;
}

/* Keep theme markup, but use CSS photo (WebGL often washes these clinic shots) */
#domov .hero-effect-container {
  display: none !important;
}

/* Service cards: darken bright photos so white text stays readable */
#storitve .dz-hover-img::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(13, 40, 28, 0.35) 0%,
    rgba(13, 40, 28, 0.45) 40%,
    rgba(13, 40, 28, 0.78) 100%
  );
}

#storitve .dz-hover-img .font-Tenor-Sans {
  z-index: 3;
}

#storitve .dz-hover-item > .absolute {
  z-index: 3;
}

/* Storitve: full-bleed carousel on desktop (template container-left was capped) */
#storitve .container-left {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 15px;
  padding-right: 0;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  #storitve .container-left {
    padding-left: max(1.25rem, calc((100vw - min(100vw, 1330px)) / 2));
  }
}

@media (min-width: 1400px) {
  #storitve .container-left {
    padding-left: calc((100% - 1330px) / 2);
    margin-left: 0;
  }
}

#storitve .service-swiper-4 {
  width: 100%;
  overflow: visible;
}

/* Desktop: continuous slow linear scroll of service cards */
.service-swiper-4.fp-swiper-marquee .swiper-wrapper {
  transition-timing-function: linear !important;
}

.service-swiper-4.fp-swiper-marquee:hover .swiper-wrapper {
  transition-timing-function: linear !important;
}

/* Footer — full-bleed white, flush with section above */
.fp-footer {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #fff;
  position: relative;
  z-index: 1;
  border-radius: 0;
}

.fp-footer__inner {
  width: 100%;
  max-width: none;
  margin: 0;
  background: #fff;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

.fp-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 3rem 1.25rem 2rem;
  max-width: 1330px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .fp-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2.5rem;
    padding: 3.5rem 2rem 2.25rem;
  }
}

@media (min-width: 1024px) {
  .fp-footer__grid {
    grid-template-columns: 2fr 1fr 1.2fr 1.2fr;
    gap: 3rem;
    padding: 4rem 1.25rem 2.5rem;
  }
}

.fp-footer__logo-row {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  margin-bottom: 1.25rem;
}

.fp-footer__mark {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: var(--primary, #80B020);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fp-footer__logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0f172a;
  line-height: 1;
}

.fp-footer__desc {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  max-width: 20rem;
  margin: 0 0 1.75rem;
}

.fp-footer__socials {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.fp-footer__social {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid #f1f5f9;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  color: #1e293b;
  font-size: 1.05rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.fp-footer__social:hover {
  background: var(--primarylight, #e8f4d0);
  border-color: rgba(128, 176, 32, 0.35);
  color: var(--primarydark, #6a9618);
}

.fp-footer__social:active {
  transform: scale(0.95);
}

.fp-footer__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #94a3b8;
  margin: 0 0 1.25rem;
}

.fp-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fp-footer__links a,
.fp-footer__links span {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #1e293b;
  text-decoration: none;
  transition: color 0.2s ease;
  line-height: 1.4;
}

.fp-footer__links a:hover {
  color: var(--primary, #80B020);
}

.fp-footer__cta-link {
  color: var(--primary, #80B020) !important;
  font-weight: 600 !important;
}

.fp-footer__legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1330px;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #64748b;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0;
  background: #fff;
}

@media (min-width: 768px) {
  .fp-footer__legal {
    flex-direction: row;
    padding: 1.25rem 2rem 1.75rem;
  }
}

@media (min-width: 1024px) {
  .fp-footer__legal {
    padding: 1.25rem 1.25rem 2rem;
  }
}

.fp-footer__legal p {
  margin: 0;
}

.fp-footer__legal-right {
  display: flex;
  align-items: center;
  gap: 2rem;
  color: #64748b;
}

.fp-footer__legal-right a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.fp-footer__legal-right a:hover {
  color: #1e293b;
}

.fp-footer__sep {
  width: 1px;
  height: 1rem;
  background: #cbd5e1;
}


