.elementor-18815 .elementor-element.elementor-element-e909606 > .elementor-widget-wrap > .elementor-widget:not(.elementor-widget__width-auto):not(.elementor-widget__width-initial):not(:last-child):not(.elementor-absolute){--kit-widget-spacing:0px;}.elementor-18815 .elementor-element.elementor-element-e909606 .elementor-widget-wrap{flex-wrap:wrap;}.elementor-18815 .elementor-element.elementor-element-e909606 > .elementor-element-populated{padding:0px 0px 0px 0px;}.elementor-18815 .elementor-element.elementor-element-099cadc{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-18815 .elementor-element.elementor-element-3024bb3{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-18815 .elementor-element.elementor-element-5e2658b{--spacer-size:27px;}.elementor-18815 .elementor-element.elementor-element-4db8dd7{--display:flex;--min-height:110px;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:30px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-18815 .elementor-element.elementor-element-4db8dd7:not(.elementor-motion-effects-element-type-background), .elementor-18815 .elementor-element.elementor-element-4db8dd7 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#8EAE7F00;}.elementor-18815 .elementor-element.elementor-element-1adbe50{text-align:start;}.elementor-18815 .elementor-element.elementor-element-1adbe50, .elementor-18815 .elementor-element.elementor-element-1adbe50 .elementor-text-editor *{font-size:30px;font-weight:200;letter-spacing:1.4px;}.elementor-18815 .elementor-element.elementor-element-1adbe50, .elementor-18815 .elementor-element.elementor-element-1adbe50 .elementor-text-editor *:not(.elementor-drop-cap-letter){color:#090303;}.elementor-18815 .elementor-element.elementor-element-282f24b{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-18815 .elementor-element.elementor-element-5c6ffd1.elementor-element{--flex-grow:0;--flex-shrink:0;}.elementor-18815 .elementor-element.elementor-element-18d2c03:not(.elementor-motion-effects-element-type-background), .elementor-18815 .elementor-element.elementor-element-18d2c03 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#8EAE7F00;}.elementor-18815 .elementor-element.elementor-element-18d2c03{transition:background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;padding:30px 0px 90px 0px;}.elementor-18815 .elementor-element.elementor-element-18d2c03 > .elementor-background-overlay{transition:background 0.3s, border-radius 0.3s, opacity 0.3s;}.elementor-18815 .elementor-element.elementor-element-5c07a88 .elementor-widget-wrap{flex-wrap:wrap;}.elementor-18815 .elementor-element.elementor-element-1a620c5{text-align:center;}.elementor-18815 .elementor-element.elementor-element-1a620c5, .elementor-18815 .elementor-element.elementor-element-1a620c5 .elementor-text-editor *{font-size:30px;font-weight:200;letter-spacing:2px;}.elementor-18815 .elementor-element.elementor-element-1a620c5, .elementor-18815 .elementor-element.elementor-element-1a620c5 .elementor-text-editor *:not(.elementor-drop-cap-letter){color:#000000;}.elementor-18815 .elementor-element.elementor-element-1f0ead2 .team-person{background-color:#FFFFFF !important;}.elementor-18815 .elementor-element.elementor-element-1f0ead2 .team-person-name, .elementor-18815 .elementor-element.elementor-element-1f0ead2 .team-person-name span{font-weight:200;}.elementor-18815 .elementor-element.elementor-element-e28d3a6{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-18815 .elementor-element.elementor-element-f264ba4{background-color:#FFFFFF;}.elementor-18815 .elementor-element.elementor-element-6fc8bb7{--display:flex;--min-height:0px;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-18815 .elementor-element.elementor-element-6fc8bb7:not(.elementor-motion-effects-element-type-background), .elementor-18815 .elementor-element.elementor-element-6fc8bb7 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#CDAE63;}.elementor-18815 .elementor-element.elementor-element-305dd39 .gem-button-container .gem-button{background-color:#CDAE63;}.elementor-18815 .elementor-element.elementor-element-305dd39{width:100%;max-width:100%;}.elementor-18815 .elementor-element.elementor-element-305dd39 > .elementor-widget-container{margin:0px 0px 0px 0px;}.elementor-18815 .elementor-element.elementor-element-3fea22e{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-18815 .elementor-element.elementor-element-caa8b95{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-18815 .elementor-element.elementor-element-b9e10bb{padding:30px 0px 0px 0px;}.elementor-18815 .elementor-element.elementor-element-55cb6cd{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}body.elementor-page-18815:not(.elementor-motion-effects-element-type-background), body.elementor-page-18815 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFFFFF;}@media(max-width:767px){.elementor-18815 .elementor-element.elementor-element-5e2658b{--spacer-size:1px;}.elementor-18815 .elementor-element.elementor-element-1adbe50{padding:20px 0px 0px 10px;}.elementor-18815 .elementor-element.elementor-element-1adbe50, .elementor-18815 .elementor-element.elementor-element-1adbe50 .elementor-text-editor *{font-size:25px;letter-spacing:2px;}.elementor-18815 .elementor-element.elementor-element-282f24b{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-18815 .elementor-element.elementor-element-5c6ffd1{width:100%;max-width:100%;margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;}.elementor-18815 .elementor-element.elementor-element-5c6ffd1.elementor-element{--align-self:stretch;}.elementor-18815 .elementor-element.elementor-element-1a620c5{padding:20px 0px 0px 0px;}.elementor-18815 .elementor-element.elementor-element-1a620c5, .elementor-18815 .elementor-element.elementor-element-1a620c5 .elementor-text-editor *{font-size:25px;letter-spacing:2px;}}@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;500;600&display=swap');

.story-slider,
.story-slider * {
  font-family: 'Montserrat', sans-serif;
  box-sizing: border-box;
}

.story-slider {
  position: relative;
  background: #111;
  overflow: visible;
}

/* STICKY SLIKE */
.story-sticky {
  position: sticky;
  top: 0;
  height: 120vh;
  overflow: hidden;
}

.story-image {
  position: absolute;
  inset: 0;
  background-size: var(--image-size, cover);
  background-position: var(--image-position, center);
  background-repeat: no-repeat;
  opacity: 0;
  transform: none;
  transition: opacity .9s ease;
}

.story-image.active {
  opacity: 1;
  transform: none;
}

/* TAMNI GRADIENT PREKO SLIKE */
.story-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,.82) 0%,
      rgba(0,0,0,.58) 27%,
      rgba(0,0,0,.20) 50%,
      rgba(0,0,0,.58) 73%,
      rgba(0,0,0,.82) 100%
    );
}

/* CONTENT */
.story-content {
  position: relative;
  z-index: 2;
  margin-top: -120vh;
}

.story-panel {
  position: relative;
  min-height: 120vh;
  display: flex;
  align-items: center;
  padding-left: clamp(40px, 7vw, 120px);
  padding-right: clamp(40px, 7vw, 120px);

  --text-width: 740px;
  --title-width: 740px;
  --title-size: clamp(42px, 5vw, 78px);
  --paragraph-width: 460px;
  --text-move-x: 0px;
  --text-move-y: 0px;
  --title-nowrap: normal;
}

.story-left {
  justify-content: flex-start;
}

.story-right {
  justify-content: flex-end;
}

/* BROJ SLIDEA */
.story-panel::before {
  content: attr(data-step);
  position: absolute;
  top: 17vh;
  left: clamp(40px, 7vw, 120px);
  color: rgba(255,255,255,.55);
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 500;
}

.story-right::before {
  left: auto;
  right: clamp(40px, 7vw, 120px);
}

/* TEKST BLOK */
.story-text {
  position: relative;
  max-width: var(--text-width);
  color: #fff;
  padding-left: 30px;
  opacity: 0;
  transform: translate(
    var(--text-move-x),
    calc(var(--text-move-y) + 28px)
  );
  transition: opacity .75s ease, transform .75s ease;
}

.story-panel.active .story-text {
  opacity: 1;
  transform: translate(
    var(--text-move-x),
    var(--text-move-y)
  );
}

/* ZLATNA LINIJA */
.story-text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 2px;
  height: 100%;
  max-height: 190px;
  background: linear-gradient(
    to bottom,
    #c7a45d,
    rgba(199,164,93,.15)
  );
}

/* DESNA STRANA */
.story-right .story-text {
  text-align: right;
  padding-left: 0;
  padding-right: 30px;
}

.story-right .story-text::before {
  left: auto;
  right: 0;
}

.story-right .story-text p {
  margin-left: auto;
}

/* MALI GORNJI TEKST */
.story-text span {
  display: block;
  color: #c7a45d;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

/* NASLOV */
.story-text h2 {
  max-width: var(--title-width);
  color: #fff !important;
  font-size: var(--title-size);
  line-height: 1.05;
  margin: 0 0 24px;
  font-weight: 300;
  letter-spacing: -1.5px;
  text-shadow: 0 8px 30px rgba(0,0,0,.35);
  white-space: var(--title-nowrap);
}

/* OPIS */
.story-text p {
  max-width: var(--paragraph-width);
  color: rgba(255,255,255,.92);
  font-size: 18px;
  line-height: 1.75;
  font-weight: 200;
  margin: 0;
}

/* MOBILE */
@media (max-width: 768px) {
  .story-sticky {
    height: 100vh;
  }

  .story-content {
    margin-top: -100vh;
  }

  .story-panel,
  .story-left,
  .story-right {
    min-height: 100vh;
    justify-content: flex-start;
    align-items: center;
    padding-left: 24px;
    padding-right: 24px;
  }

  .story-panel::before,
  .story-right::before {
    top: 18vh;
    left: 24px;
    right: auto;
    font-size: 12px;
  }

  .story-text,
  .story-right .story-text {
    max-width: 100%;
    text-align: left;
    padding-left: 22px;
    padding-right: 0;
    transform: translateY(28px);
  }

  .story-panel.active .story-text {
    transform: translateY(0);
  }

  .story-text::before,
  .story-right .story-text::before {
    left: 0;
    right: auto;
    max-height: 170px;
  }

  .story-text span {
    font-size: 12px;
    letter-spacing: 1.6px;
    margin-bottom: 18px;
  }

  .story-text h2 {
    max-width: 100%;
    font-size: 38px;
    line-height: 1.08;
    letter-spacing: -1px;
    margin-bottom: 18px;
    white-space: normal;
  }

  .story-text p,
  .story-right .story-text p {
    max-width: 100%;
    margin-left: 0;
    font-size: 16px;
    line-height: 1.65;
  }

  .story-image::after {
    background:
      linear-gradient(
        90deg,
        rgba(0,0,0,.84) 0%,
        rgba(0,0,0,.62) 58%,
        rgba(0,0,0,.30) 100%
      );
  }
}

.story-text h2 {
  width: min(var(--title-width), 100%);
  max-width: 100%;
  color: #fff !important;
  font-size: var(--title-size);
  line-height: 1.05;
  margin: 0 0 24px;
  font-weight: 300;
  letter-spacing: -1.5px;
  text-shadow: 0 8px 30px rgba(0,0,0,.35);
  white-space: var(--title-nowrap);
  overflow-wrap: normal;
  text-wrap: balance;
}

.story-right .story-text h2 {
  margin-left: auto;
}
/* ========================================
   CASA MILLE OLIVI - AUTO PHOTO GALLERY
   Gdje ide: Global Custom CSS / Additional CSS
   Svrha:
   - automatska vodoravna galerija slika kao Google recenzije
   - naslov centriran iznad galerije
   - klik na sliku otvara lightbox
======================================== */

.cmo-photo-gallery {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 34px 20px 60px;
  font-family: inherit;
  color: #000;
}

/* ========================================
   NASLOV GALERIJE
======================================== */

/* ========================================
   NASLOV GALERIJE - CENTRIRAN PREKO CIJELE GALERIJE
======================================== */

.cmo-gallery-heading {
  width: 100%;
  max-width: none;
  margin: 0 0 42px;
  padding: 0;
  text-align: center;
  display: block;
}

.cmo-gallery-heading h2 {
  width: 100%;
  margin: 0;
  padding: 0;
  display: block;
  text-align: center;
  font-family: inherit;
  font-size: clamp(20px, 1.55vw, 26px);
  line-height: 1.25;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: #000;
}

/* ========================================
   GLAVNI WRAPPER
======================================== */

.cmo-photo-gallery-inner {
  position: relative;
  width: 100%;
}

/* Track */
.cmo-gallery-track {
  display: flex;
  gap: 24px;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  padding: 8px 4px 18px;
  scrollbar-width: none;
}

.cmo-gallery-track::-webkit-scrollbar {
  display: none;
}

/* Jedna kartica */
.cmo-gallery-item {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
}

/* Klikabilna kartica */
.cmo-gallery-card {
  display: block;
  width: 100%;
  height: 245px;
  background: #f7f3eb;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.10);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cmo-gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.14);
}

/* Slika */
.cmo-gallery-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

/* ========================================
   STRELICE
   Popravljeno centriranje znaka unutar kruga
======================================== */

.cmo-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  background: #fff;
  color: #c7a45d;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;
  margin: 0;
  transform: translateY(-50%);

  font-family: Arial, Helvetica, sans-serif;
  font-size: 31px;
  font-weight: 300;
  line-height: 1;
  text-align: center;

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: all 0.25s ease;
}

.cmo-gallery-arrow:hover {
  background: #c7a45d;
  color: #fff;
}

/* Mali optički pomak jer znakovi ‹ › nisu matematički centrirani */
.cmo-gallery-arrow-prev {
  left: -21px;
}

.cmo-gallery-arrow-prev::before {
  content: "‹";
  display: block;
  transform: translate(-1px, -1px);
}

.cmo-gallery-arrow-next {
  right: -21px;
}

.cmo-gallery-arrow-next::before {
  content: "›";
  display: block;
  transform: translate(1px, -1px);
}

/* Sakrij originalni tekst gumba ako postoji */
.cmo-gallery-arrow {
  font-size: 0;
}

.cmo-gallery-arrow::before {
  font-size: 31px;
  line-height: 1;
}

/* ========================================
   LIGHTBOX
======================================== */

body.cmo-gallery-lightbox-open {
  overflow: hidden;
}

.cmo-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 44px;
  background: rgba(0, 0, 0, 0.82);
}

.cmo-gallery-lightbox.active {
  display: flex;
}

.cmo-gallery-lightbox img {
  max-width: min(1180px, 94vw);
  max-height: 88vh;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
}

.cmo-gallery-lightbox-close {
  position: fixed;
  top: 24px;
  right: 28px;
  z-index: 1000000;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #000;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========================================
   TABLET
======================================== */

@media (max-width: 1024px) {
  .cmo-photo-gallery {
    max-width: 100%;
    padding: 32px 20px 52px;
  }

  .cmo-gallery-heading {
    margin-bottom: 36px;
  }

  .cmo-gallery-heading h2 {
    font-size: 25px;
  }

  .cmo-gallery-item {
    flex: 0 0 calc((100% - 24px) / 2);
  }

  .cmo-gallery-card {
    height: 240px;
  }

  .cmo-gallery-arrow-prev {
    left: -12px;
  }

  .cmo-gallery-arrow-next {
    right: -12px;
  }
}

/* ========================================
   MOBILE
======================================== */

@media (max-width: 767px) {
  .cmo-photo-gallery {
    padding: 28px 18px 44px;
  }

  .cmo-gallery-heading {
    max-width: 100%;
    margin: 0 auto 28px;
    text-align: center;
  }

  .cmo-gallery-heading h2 {
    font-size: 21px;
    line-height: 1.25;
    font-weight: 300;
    letter-spacing: 0.03em;
    color: #000;
    text-align: center;
  }

  .cmo-gallery-track {
    gap: 16px;
    padding: 6px 2px 16px;
  }

  .cmo-gallery-item {
    flex: 0 0 86%;
  }

  .cmo-gallery-card {
    height: 230px;
    border-radius: 10px;
  }

  .cmo-gallery-arrow {
    width: 38px;
    height: 38px;
  }

  .cmo-gallery-arrow::before {
    font-size: 28px;
  }

  .cmo-gallery-arrow-prev {
    left: -8px;
  }

  .cmo-gallery-arrow-next {
    right: -8px;
  }

  .cmo-gallery-lightbox {
    padding: 22px;
  }

  .cmo-gallery-lightbox-close {
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    font-size: 28px;
  }
}