.elementor-184 .elementor-element.elementor-element-2ed52792{--display:flex;--min-height:0px;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:-110px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;--z-index:99;}.elementor-184 .elementor-element.elementor-element-6ebe9f58{--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;--gap:60px 60px;--row-gap:60px;--column-gap:60px;--padding-top:0px;--padding-bottom:0px;--padding-left:15px;--padding-right:15px;}.elementor-184 .elementor-element.elementor-element-b7903d{--display:flex;--min-height:82px;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:center;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-184 .elementor-element.elementor-element-5716fa74{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:space-between;--align-items:center;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-184 .elementor-element.elementor-element-5716fa74.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-184 .elementor-element.elementor-element-248df06d{width:var( --container-widget-width, 180px );max-width:180px;--container-widget-width:180px;--container-widget-flex-grow:0;border-radius:0px 0px 0px 0px;text-align:center;}.elementor-184 .elementor-element.elementor-element-248df06d.elementor-element{--align-self:center;}.elementor-184 .elementor-element.elementor-element-248df06d img{width:100%;max-width:100%;height:51px;border-radius:0px 0px 0px 0px;}@media(min-width:768px){.elementor-184 .elementor-element.elementor-element-6ebe9f58{--content-width:1280px;}.elementor-184 .elementor-element.elementor-element-5716fa74{--width:100%;}}@media(max-width:1024px){.elementor-184 .elementor-element.elementor-element-2ed52792{--margin-top:0px;--margin-bottom:-120px;--margin-left:0px;--margin-right:0px;}.elementor-184 .elementor-element.elementor-element-6ebe9f58{--padding-top:15px;--padding-bottom:15px;--padding-left:15px;--padding-right:15px;}.elementor-184 .elementor-element.elementor-element-b7903d{--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-184 .elementor-element.elementor-element-248df06d{--container-widget-width:475px;--container-widget-flex-grow:0;width:var( --container-widget-width, 475px );max-width:475px;}.elementor-184 .elementor-element.elementor-element-248df06d img{width:30%;}}@media(max-width:767px){.elementor-184 .elementor-element.elementor-element-2ed52792{--margin-top:0px;--margin-bottom:-120px;--margin-left:0px;--margin-right:0px;}.elementor-184 .elementor-element.elementor-element-b7903d{--min-height:0px;}.elementor-184 .elementor-element.elementor-element-248df06d{--container-widget-width:180px;--container-widget-flex-grow:0;width:var( --container-widget-width, 180px );max-width:180px;}.elementor-184 .elementor-element.elementor-element-248df06d img{width:100%;}}/* Start custom CSS for shortcode, class: .elementor-element-832c999 */a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
  --green-dark:  #1a5c1a;
  --green-mid:   #2a6e2a;
  --green-hover: #e8f2e8;
  --white:       #ffffff;
  --text:        #222222;
  --border-top:  3px solid #1a5c1a;
  --shadow:      0 6px 20px rgba(0,0,0,0.13);
  --shadow-nav:  0 2px 8px rgba(0,0,0,0.10);
  --nav-h:       64px;
}

/* =============================================
   SHORTCODE WRAPPER
   ============================================= */
/*.elementor-shortcode {*/
/*  background: #f5f5f580;*/
/*  box-shadow: var(--shadow-nav);*/
/*  position: relative;*/
/*  z-index: 1000;*/
/*  border-radius: 16px;*/
/*}*/

/* =============================================
   NAV & MENU LIST
   ============================================= */
.glavni-izbornik {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4px;
  background: #f9f9f999;
  box-shadow: var(--shadow-nav);
  position: relative;
  z-index: 1000;
  border-radius: 24px;
}

.glavni-izbornik > ul {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  gap: 0;
  padding: 0;
}

/* =============================================
   TOP-LEVEL ITEMS
   ============================================= */
.glavni-izbornik > ul > .menu-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.glavni-izbornik > ul > .menu-item > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 8px;
  height: 100%;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  transition: color 0.15s;
}

/*.glavni-izbornik > ul > .menu-item > a:hover,*/
/*.glavni-izbornik > ul > .menu-item-home > a,*/
/*.glavni-izbornik > ul > .current-menu-item > a {*/
/*  color: var(--green-dark);*/
/*}*/

.glavni-izbornik > ul > .menu-item > a:hover {
  color: var(--green-dark);
}

/* Chevron arrow for items with children */
.glavni-izbornik > ul > .menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 2px;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.glavni-izbornik > ul > .menu-item-has-children:hover > a::after {
  transform: rotate(180deg);
}

/* =============================================
   SUB-MENU — LEVEL 1
   ============================================= */
.glavni-izbornik .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 230px;
  border-top: var(--border-top);
  box-shadow: var(--shadow);
  display: none;
  z-index: 200;
  padding: 0;
}

/* Open on hover for top-level */
.glavni-izbornik > ul > .menu-item:hover > .sub-menu {
  display: block;
}

/* =============================================
   SUB-MENU ITEMS — ALL LEVELS
   ============================================= */
.glavni-izbornik .sub-menu .menu-item {
  position: relative;
}

.glavni-izbornik .sub-menu .menu-item > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  background: var(--white);
  transition: background 0.12s, color 0.12s;
  white-space: nowrap;
  gap: 10px;
}

.glavni-izbornik .sub-menu .menu-item > a:hover {
  background: var(--green-hover);
  color: var(--green-dark);
}

/* Chevron for sub-items with children (points right) */
.glavni-izbornik .sub-menu .menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid currentColor;
  flex-shrink: 0;
}

/* =============================================
   SUB-MENU — LEVEL 2 (flyout right)
   ============================================= */
.glavni-izbornik .sub-menu .menu-item > .sub-menu {
  top: 0;
  left: 100%;
  border-top: var(--border-top);
}

.glavni-izbornik .sub-menu .menu-item:hover > .sub-menu {
  display: block;
}

/* =============================================
   HAMBURGER BUTTON (hidden on desktop)
   ============================================= */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: var(--nav-h);
  height: var(--nav-h);
  font-size: 22px;
  color: var(--green-dark);
  background: transparent;
  margin-left: auto;
  transition: background 0.15s;
}

.menu-toggle:hover { background: var(--green-hover); }

/* Hamburger lines version (replaces ☰ emoji) */
.menu-toggle-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  pointer-events: none;
}

.menu-toggle-lines span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--green-dark);
  border-radius: 2px;
  transition: all 0.25s;
}

/* Animate hamburger → X when open */
.menu-toggle.is-open .menu-toggle-lines span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.menu-toggle.is-open .menu-toggle-lines span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.menu-toggle.is-open .menu-toggle-lines span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* =============================================
   OVERLAY
   ============================================= */
.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 999;
}

.menu-overlay.is-open { display: block; }

/* =============================================
   DEMO HERO
   ============================================= */
.demo-hero {
  height: 280px;
  background:
    linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.42)),
    url('https://upload.wikimedia.org/wikipedia/commons/thumb/b/b2/Zadar_-_panoramio_%285%29.jpg/1280px-Zadar_-_panoramio_%285%29.jpg')
    center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-hero h1 {
  color: #fff;
  font-size: 52px;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

/* =============================================
   MOBILE  ≤ 1248px
   ============================================= */
@media (max-width: 1248px) {

  /* Show hamburger */
  .menu-toggle {
    display: flex;
  }

  /* Nav wrapper becomes a flex row to align hamburger */
  /*.elementor-shortcode {*/
  /*  display: flex;*/
  /*  align-items: center;*/
  /*  height: var(--nav-h);*/
  /*  padding: 0 16px;*/
  /*}*/
  

  /* Drawer */
  .glavni-izbornik {
    position: fixed;
    top: 0;
    left: -310px;
    width: 290px;
    height: 100vh;
    background: var(--white);
    overflow-y: auto;
    z-index: 1100;
    padding: 0;
    transition: left 0.28s ease;
    box-shadow: 4px 0 24px rgba(0,0,0,0.16);
    max-width: none;
  }

  .glavni-izbornik.is-open {
    left: 0;
  }

  /* Drawer inner list — vertical */
  .glavni-izbornik > ul {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    padding-top: 56px; /* space for close row */
  }

  /* Close button row at top of drawer */
  .drawer-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    border-bottom: 1px solid #e5e5e5;
  }

  .drawer-header-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--green-dark);
  }

  .drawer-close {
    font-size: 18px;
    font-weight: 700;
    color: #444;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.15s;
  }

  .drawer-close:hover { background: #eee; }

  /* Top-level items */
  .glavni-izbornik > ul > .menu-item {
    height: auto;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid #eeeeee;
  }

  .glavni-izbornik > ul > .menu-item > a {
    padding: 12px 16px;
    height: auto;
    font-size: 14px;
    justify-content: space-between;
    color: var(--text);
  }

  /* Teal for active/current */
  .glavni-izbornik > ul > .current-menu-item > a,
  .glavni-izbornik > ul > .menu-item-home > a {
    color: #00bcd4;
  }

  /* Remove CSS ::after chevrons on mobile (JS handles toggle) */
  .glavni-izbornik > ul > .menu-item-has-children > a::after,
  .glavni-izbornik .sub-menu .menu-item-has-children > a::after {
    display: none;
  }

  /* Mobile toggle arrow (injected by JS) */
  .mobile-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 4px;
    border: 1px solid #ddd;
    background: transparent;
    transition: background 0.15s;
  }

  .mobile-arrow svg {
    width: 14px;
    height: 14px;
    fill: #555;
    transition: transform 0.2s;
  }

  .mobile-arrow.is-open { background: var(--green-hover); border-color: var(--green-dark); }
  .mobile-arrow.is-open svg { transform: rotate(180deg); fill: var(--green-dark); }

  /* L1 sub-menu mobile */
  .glavni-izbornik > ul > .menu-item > .sub-menu {
    position: static;
    display: none;
    box-shadow: none;
    border-top: none;
    border-left: 3px solid var(--green-dark);
    margin-left: 16px;
    background: #fafafa;
    min-width: 0;
  }

  .glavni-izbornik > ul > .menu-item > .sub-menu.is-open {
    display: block;
  }

  /* L1 sub-menu items */
  .glavni-izbornik .sub-menu .menu-item > a {
    padding: 10px 8px;
    font-size: 13.5px;
    background: transparent;
    color: var(--text);
    border-bottom: 1px solid #eeeeee;
    white-space: normal;
  }

  /* teal for open parent */
  .glavni-izbornik .sub-menu .menu-item > a.is-open {
    color: #00bcd4;
  }

  /* L2 sub-menu mobile */
  .glavni-izbornik .sub-menu .menu-item > .sub-menu {
    position: static;
    display: none;
    box-shadow: none;
    border-top: none;
    border-left: 3px solid #aaccaa;
    margin-left: 12px;
    background: #f2f7f2;
    min-width: 0;
  }

  .glavni-izbornik .sub-menu .menu-item > .sub-menu.is-open {
    display: block;
  }

  .glavni-izbornik .sub-menu .menu-item > .sub-menu .menu-item > a {
    font-size: 13px;
    font-weight: 400;
    padding: 9px 12px;
    color: #333;
  }
  
   /*keep closed dropdown on hover for mobile */
  /*.glavni-izbornik > ul > .menu-item:hover > .sub-menu {*/
  /*    display: none;*/
  /*}*/
 
}/* End custom CSS */