/*!
Theme Name: Invictus
Theme URI: https://invictus-dizajn.com/
Author: Željko Vinković - Invictus Dizajn
Author URI: https://invictus-dizajn.com/
Description: WordPress custom tema za Invictus Dizajn web stranice.
Version: 1.0.0
Tested up to: 7.0.1
Requires PHP: 8.3
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: invictus
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
Screenshot: /wp-content/themes/invictus/screenshot.png
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.
invictus is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/

/*===================== SADRŽAJ =======================

0. Reset
1. Root
2. Body
3. Fonts
4. Row & Grid
5. Headings
6. Buttons
7. Form
8. Paddings & Margins
9. Header
10. Footer
11. Animations
12. Popup
13. Content Pages

=======================================================*/

/*===================================================== 

0. Reset

=======================================================*/
*, *::after, *::before {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: inherit;
    box-sizing: inherit;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {display: block;}
a, a:active, a:hover, a:focus {
    outline: none;
    text-decoration: none;
    color: var(--color-primary);
}
abbr[title] {border-bottom: 1px dotted;}
dfn {font-style: italic;}
small {font-size: 80%;}
sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
sup {top: -0.5em;}
sub {bottom: -0.25em;}
img {
    border: 0;
    max-width: 100%;
    display: block;
}
svg:not(:root) {overflow: hidden;}
hr {
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
    margin-top: 30px;
    margin-bottom: 35px;
    border-width: 0;
    border-top: 1px solid #e1e1e1;
}
pre {overflow: auto;}
code, kbd, pre, samp {
    font-family: monospace, monospace;
    font-size: 1em;
}
strong {font-weight: 700;}
input[type="button"], input[type="submit"] {
    width: auto;
    transition: all 0.4s ease-in-out;
}
.hidden {display: none;}
ul, ol {
    margin: 2rem 0;
    padding: 0;
}
p {margin-bottom: 1rem;}
main a {
    font-weight: 700;
    transition: var(--main-transition);
}
main a:hover {opacity: var(--opacity-not-full);}
main ul {padding-left: 2rem}
@media (max-width:980px) {.hide-mobile {display: none !important;}}
@media (max-width:767px) {.hide-phone {display: none !important;}}
@media (min-width:981px) {.hide-desktop {display: none !important;}}

/*===================================================== 

1. Root

=======================================================*/
:root {
    --color-primary:#153846;
    --color-secondary:#D7DFE2;
    --color-tertiary:#7C9AA6;
    --color-four:#F3F5F6;
    --color-other: #ad0303;
    --color-white: #fff;
    --font: 'Zilla Slab', serif;
    --main-transition: all .3s ease-in-out;
    --opacity-full: 1;
    --opacity-not-full: .6;
}


/*===================================================== 

2. Body

=======================================================*/
html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    font-size: 56.25%;
    word-wrap: break-word;
    scroll-behavior: smooth;
}
@media only screen and (min-width: 981px) {
    html {
      font-size: 62.5%;
    }
}
body {
    font-family: var(--font);
    font-weight: 300;
    line-height: 1.7;
    color: var(--color-primary);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 2rem;
    position: relative;
}
section {
    position: relative;
    z-index: 0;
    width: 100%;
}
section, header, footer {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
}
main {position: relative;}
.bg {background: var(--color-four);}
.overflow {overflow: hidden !important;}


/*===================================================== 

3. Fonts

=======================================================*/
@font-face {
    font-family: 'Zilla Slab';
    src: url('fonts/ZillaSlab-BoldItalic.eot');
    src: url('fonts/ZillaSlab-BoldItalic.eot?#iefix') format('embedded-opentype'),
        url('fonts/ZillaSlab-BoldItalic.woff2') format('woff2'),
        url('fonts/ZillaSlab-BoldItalic.woff') format('woff'),
        url('fonts/ZillaSlab-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Zilla Slab';
    src: url('fonts/ZillaSlab-Bold.eot');
    src: url('fonts/ZillaSlab-Bold.eot?#iefix') format('embedded-opentype'),
        url('fonts/ZillaSlab-Bold.woff2') format('woff2'),
        url('fonts/ZillaSlab-Bold.woff') format('woff'),
        url('fonts/ZillaSlab-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Zilla Slab';
    src: url('fonts/ZillaSlab-Italic.eot');
    src: url('fonts/ZillaSlab-Italic.eot?#iefix') format('embedded-opentype'),
        url('fonts/ZillaSlab-Italic.woff2') format('woff2'),
        url('fonts/ZillaSlab-Italic.woff') format('woff'),
        url('fonts/ZillaSlab-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Zilla Slab';
    src: url('fonts/ZillaSlab-Light.eot');
    src: url('fonts/ZillaSlab-Light.eot?#iefix') format('embedded-opentype'),
        url('fonts/ZillaSlab-Light.woff2') format('woff2'),
        url('fonts/ZillaSlab-Light.woff') format('woff'),
        url('fonts/ZillaSlab-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Zilla Slab';
    src: url('fonts/ZillaSlab-LightItalic.eot');
    src: url('fonts/ZillaSlab-LightItalic.eot?#iefix') format('embedded-opentype'),
        url('fonts/ZillaSlab-LightItalic.woff2') format('woff2'),
        url('fonts/ZillaSlab-LightItalic.woff') format('woff'),
        url('fonts/ZillaSlab-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Zilla Slab';
    src: url('fonts/ZillaSlab-Medium.eot');
    src: url('fonts/ZillaSlab-Medium.eot?#iefix') format('embedded-opentype'),
        url('fonts/ZillaSlab-Medium.woff2') format('woff2'),
        url('fonts/ZillaSlab-Medium.woff') format('woff'),
        url('fonts/ZillaSlab-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Zilla Slab';
    src: url('fonts/ZillaSlab-MediumItalic.eot');
    src: url('fonts/ZillaSlab-MediumItalic.eot?#iefix') format('embedded-opentype'),
        url('fonts/ZillaSlab-MediumItalic.woff2') format('woff2'),
        url('fonts/ZillaSlab-MediumItalic.woff') format('woff'),
        url('fonts/ZillaSlab-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Zilla Slab';
    src: url('fonts/ZillaSlab-Regular.eot');
    src: url('fonts/ZillaSlab-Regular.eot?#iefix') format('embedded-opentype'),
        url('fonts/ZillaSlab-Regular.woff2') format('woff2'),
        url('fonts/ZillaSlab-Regular.woff') format('woff'),
        url('fonts/ZillaSlab-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Zilla Slab';
    src: url('fonts/ZillaSlab-SemiBold.eot');
    src: url('fonts/ZillaSlab-SemiBold.eot?#iefix') format('embedded-opentype'),
        url('fonts/ZillaSlab-SemiBold.woff2') format('woff2'),
        url('fonts/ZillaSlab-SemiBold.woff') format('woff'),
        url('fonts/ZillaSlab-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Zilla Slab';
    src: url('fonts/ZillaSlab-SemiBoldItalic.eot');
    src: url('fonts/ZillaSlab-SemiBoldItalic.eot?#iefix') format('embedded-opentype'),
        url('fonts/ZillaSlab-SemiBoldItalic.woff2') format('woff2'),
        url('fonts/ZillaSlab-SemiBoldItalic.woff') format('woff'),
        url('fonts/ZillaSlab-SemiBoldItalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}


/*===================================================== 

4. Row & Grid

=======================================================*/
.row {
    position: relative;
    width: 100%;
    max-width: 131rem;
    margin: 0 auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: flex;
    gap: 3%;
    align-items: flex-start;
}
.row-sm {max-width: 100rem;}
.row-md {max-width: 120rem;}
.row-lg {max-width: 180rem;}
.row-xl {max-width: 160rem;}
.row-2xl {max-width: 192rem;}
.row-fluid {max-width: 100%;}

.w-25 {width:25%;}
.w-50 {width:50%;}
.w-75 {width:75%;}

.col {box-sizing: border-box;}

@media (min-width:981px) {
    .dcw-50 {width: calc((100% - 3%) / 2);}
    .dcw-33 {width: calc((100% - 3% * 2) / 3);}
    .dcw-66 {width: calc((100% - 3% * 2) / 3 * 2 + 3%);}
    .dcw-25 {width: calc((100% - 3% * 3) / 4);}
    .dcw-75 {width: calc((100% - 3% * 3) / 4 * 3 + 3% * 2);}
    .dcw-40 {width: calc((100% - 3%) * 0.4);}
    .dcw-60 {width: calc((100% - 3%) * 0.6);}
}

@media (max-width:980px) {
    .row {flex-wrap: wrap;}
    .mcw-50 {width: calc((100% - 3%) / 2);}
    .mcw-33 {width: calc((100% - 3% * 2) / 3);}
    .mcw-66 {width: calc((100% - 3% * 2) / 3 * 2 + 3%);}
    .mcw-25 {width: calc((100% - 3% * 3) / 4);}
    .mcw-75 {width: calc((100% - 3% * 3) / 4 * 3 + 3% * 2);}
}

@media (max-width: 767px) {
    .row {flex-wrap: wrap;}
    .mcw-50, .mcw-33, .mcw-66, .mcw-25, .mcw-75 {width: 100%;}
}


/*===================================================== 

5. Headings

=======================================================*/
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 2rem;
    font-weight: 400;
    /*margin-top: 1rem;*/
    line-height: 1.4;
}
h1 {
    border-left: .8rem solid var(--color-secondary);
    padding-left: 4rem;
    margin-bottom: 5rem;
    font-weight: 700;
    font-size: 3.6rem;
    padding-top: .8rem;
    padding-bottom: .8rem;
}
h2 {
    border-left: .8rem solid var(--color-secondary);
    padding-left: 4rem;
    margin-bottom: 5rem;
    font-weight: 700;
    font-size: 3.6rem;
    padding-top: .8rem;
    padding-bottom: .8rem;
}
section.bg-img {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    h2 {color: var(--color-white);}
    h3 {color: var(--color-tertiary);}
}
h3 {
    font-weight: 300;
    font-size: 2rem;
    color: var(--color-primary);
    line-height: 3rem;
}
.content h3 {margin-bottom:0;}
h4 {
    font-weight: 600;
    font-size: 1.8rem;
    color: var(--color-primary);
    line-height: 2.5rem;
    margin-bottom: 0;
}
h5 {
  
}
h6 {
  
}
.title-center {text-align: center;}
@media (max-width:767px) {
    h1, h2 {
        margin-bottom: 3rem;
        line-height: 1.2;
    }
}


/*===================================================== 

6. Buttons

=======================================================*/
.btn {
    letter-spacing: .1rem;
    font-size: 1.8rem;
    transition: var(--main-transition);
    padding: 1.8rem 3rem;
    font-weight: 500;
    display: inline-block;
}
.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-left: 7px solid var(--color-tertiary);
}
.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-primary) !important;
    border-left: 7px solid var(--color-tertiary);
}
.btn-primary:hover {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    border-left: 12px solid var(--color-tertiary);
}
.btn-secondary:hover {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    border-left: 12px solid var(--color-tertiary);
}


/*===================================================== 

7. Form

=======================================================*/
form p {margin-bottom: 0;}
.popup input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), .popup textarea, .popup select {
    display: block;
    width: 100%;
    border: 0;
    border-bottom: 2px solid var(--color-primary);
    padding: 1.4rem;
    outline: none;
    background-color: var(--color-four);
    font-family: inherit;
    font-size: 1.6rem;
    line-height: 2.7rem;
    font-weight: 300;
}
.popup textarea {
    resize: none;
    height: 15rem;
}
.popup input[type="button"] {width: auto;}
.popup label {
    display: block;
    margin-bottom: 0.5rem;
}
.popup button {
    transition: all 0.4s ease-in-out;
    border: 0;
    font-family: inherit;
    font-size: 1.6rem;
    width: auto;
}
.popup fieldset {
    border: 0;
    margin-bottom: 3rem;
}
fieldset:last-of-type {
    margin-bottom: 0;
}
input:focus::placeholder,
textarea:focus::placeholder {
  opacity: 0;
  transition: opacity 0.2s ease;
}
.wpcf7-list-item {
    margin: 0;
}
.popup span.wpcf7-list-item label {
    font-size: 1.5rem;
    line-height: 2.2rem;
    font-weight: 300;
}
.popup input.submit-popup {
    width: 100%;
    font-size: 2rem;
    border: 1px solid var(--color-primary);
    padding: 2rem;
    background: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font);
    transition: var(--main-transition);
}
.popup input.submit-popup:hover {
    cursor: pointer;
    background: var(--color-four);
    color: var(--color-primary);
}
.popup .wpcf7 form .wpcf7-response-output {
    margin: 0;
    padding: 0.2em 1em;
    border: 2px solid #00a0d2;
    font-size: 1.5rem;
    line-height: 1.4;
}


/*===================================================== 

8. Paddings & Margins

=======================================================*/
.space {
    padding-top: 4rem;
    padding-bottom: 4rem;
}
.mt-5 {margin-top: 5rem;}
.mb-5 {margin-bottom: 5rem;}
.no-pt {padding-top: 0 !important;}
.no-pb {padding-bottom: 0 !important;}
@media only screen and (min-width: 981px) {
    .space {
      padding-top: 8rem;
      padding-bottom: 8rem;
    }
}


/*===================================================== 

9. Header

=======================================================*/
section.top-line {
    background: var(--color-secondary);
    padding:1rem 0;
}
section.top-line .row {align-items: center;}
.top-contacts {
    line-height: 1;
    display: flex;
    gap: 2rem;
}
a.header-tel {background: url(/wp-content/uploads/2026/07/phone.webp) no-repeat left center;}
a.header-mail {background: url(/wp-content/uploads/2026/07/mail.webp) no-repeat left center;}
a.header-tel, a.header-mail {
    background-size: 1.2rem;
    padding-left: 1.4rem;
    font-size: 1.2rem;
    color: var(--color-primary);
    font-weight: 500;
    transition: var(--main-transition);
}
a.header-tel:hover, a.header-mail:hover {opacity: var(--opacity-not-full);}
.top-socials {
    display: flex;
    justify-content: flex-end;
    gap: .8rem;
    a {
          height: 2.4rem;
          width: 2.4rem;
          background: #153846;
          padding: .5rem;
          border-radius: 50% 0px 50% 0px;
          display: flex;
          box-sizing: border-box;
          border: 1px solid var(--color-primary);
    }
    a:hover {background: var(--color-secondary);}
}
.social-icon-mask {
  display: inline-block;
  width: 100%;
  height: 100%;
  background-color: #D7DFE2;
  -webkit-mask-image: var(--icon-url);
  mask-image: var(--icon-url);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: top left;
  mask-position: top left;
  transition: background-color 0.3s ease;
}
.social-icon:hover .social-icon-mask {background-color: #14313D; }
section.header {
    background: var(--color-primary);
    box-shadow: 0px 12px 18px -6px rgba(0, 0, 0, 0.1);
    top: 0;
    z-index: 9999;
    position: sticky !important;
    display: block;
    .row {align-items: center;}
}
.logo img {
    width: 100%;
    max-width: 20rem;
    transition: var(--main-transition);
}
.logo img:hover {opacity: var(--opacity-not-full);}
.header-button {
    display: flex;
    justify-content: flex-end;
    a {
        padding: 3.4rem 2.2rem;
        color: var(--color-white);
        background: var(--color-other);
        font-size: 1.7rem;
        line-height: 1;
        font-weight: 600;
        letter-spacing: 2px;
        text-transform: uppercase;
        transition: var(--main-transition);
    }
    a:hover {
        background: var(--color-white);
        color: var(--color-other);
    }
}
section.header.sticky .header-button a {padding: 2.4rem 2.2rem;}
section.header.sticky .logo img {max-width: 17rem;transition: var(--main-transition);}
ul#primary-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin:0;
    img {
        height: 2rem;
        position: relative;
        top: -2px;
    }
    li a {
        color: var(--color-white);
        font-size: 1.6rem;
        transition: var(--main-transition);
    }
    li a:hover {opacity: var(--opacity-not-full);}
}
li.menu-item-has-children {position: relative;}
ul.sub-menu {list-style: none;}
.mobile-menu-toggle {
    display: none;
    position: relative;
    width: 2.6rem;
    height: 2.6rem;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    z-index: 10000;
}
.mobile-menu-icon {
    display: block;
    width: 100%;
    height: 100%;
    background: url(/wp-content/uploads/2026/07/mobile-menu.webp) no-repeat center center;
    background-size: contain;
    transition: opacity .3s ease-in-out;
}
.mobile-menu-toggle::before,
.mobile-menu-toggle::after {
    content: '';
    position: absolute;
    left: 20%;
    top: 50%;
    width: 60%;
    height: 2px;
    background: var(--color-white);
    opacity: 0;
    transition: var(--main-transition);
}
.mobile-menu-toggle.is-active .mobile-menu-icon {opacity: 0;}
.mobile-menu-toggle.is-active::before {
    transform: translateY(-50%) rotate(45deg);
    opacity: 1;
}
.mobile-menu-toggle.is-active::after {
    transform: translateY(-50%) rotate(-45deg);
    opacity: 1;
}
.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s ease-in-out;
}
body.mobile-menu-locked {overflow: hidden;}
@media (min-width: 981px) {
    ul.sub-menu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 24rem;
        background: var(--color-primary);
        box-shadow: 0px 12px 18px -6px rgba(0, 0, 0, 0.25);
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
        transition: max-height .4s ease-in-out, opacity .3s ease-in-out, visibility 0s linear .4s;
        z-index: 999;
        margin-top: 0;
        padding-top: 2rem;
    }
    li.menu-item-has-children:hover > ul.sub-menu,
    li.menu-item-has-children:focus-within > ul.sub-menu {
        max-height: 50rem;
        opacity: 1;
        visibility: visible;
        transition: max-height .4s ease-in-out, opacity .3s ease-in-out, visibility 0s linear 0s;
    }
    ul.sub-menu li {width: 100%;}
    ul.sub-menu li a {
        display: block;
        padding: 0 2rem 1.5rem 2rem;
        white-space: nowrap;
    }
    li.menu-item-has-children > a {
        position: relative;
        padding-right: 1.4rem;
    }
    li.menu-item-has-children > a::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        width: 6px;
        height: 6px;
        border-right: 1px solid var(--color-white);
        border-bottom: 1px solid var(--color-white);
        transform: translateY(-70%) rotate(45deg);
        transition: var(--main-transition);
    }
    li.menu-item-has-children:hover > a::after {transform: translateY(-30%) rotate(-135deg);}
    .submenu-toggle {display: none;}
}

@media (max-width: 980px) {
    section.header {
        padding: 2rem 0;
    }
    section.header.sticky {
        padding: 1rem 0;
    }
    .mobile-menu-toggle {
        display: block;
        margin-left: auto;
        align-self: center;
    }
    .mobile-menu-overlay {display: block;}
    .mobile-menu-overlay.is-active {
        opacity: 1;
        pointer-events: auto;
    }
    .main-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: min(32rem, 85vw);
        height: 100dvh;
        background: var(--color-primary);
        z-index: 9999;
        overflow-y: auto;
        padding: 4rem 3rem;
        box-sizing: border-box;
        transform: translateX(100%);
        transition: transform .4s ease-in-out;
    }
    .main-menu.is-open {
        transform: translateX(0);
        height: 100dvh;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }
    ul#primary-menu {display: block;}
    ul#primary-menu li {border-bottom: 1px solid rgba(255, 255, 255, .15);}
    ul#primary-menu li a {
        display: block;
        padding: 1.4rem 0;
    }
    ul.sub-menu {
        position: relative;
        max-height: 0;
        opacity: 1;
        visibility: visible;
        overflow: hidden;
        padding-left: 1.5rem;
        transition: max-height .35s ease-in-out;
        width: 100%;
        top: -3rem;
        margin-bottom: -3rem;
    }
    li.menu-item-has-children {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    li.menu-item-has-children.sub-open > ul.sub-menu {max-height: 100rem;}
    ul.sub-menu li {border-bottom: 1px solid rgba(255, 255, 255, .1);}
    ul.sub-menu li a {
        padding: 1rem 0;
        font-size: 1.4rem;
    }

    li.menu-item-has-children > a {
        display: inline-block;
        width: calc(100% - 4rem);
    }
    .submenu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 4rem;
        height: 4.8rem;
        float: right;
        cursor: pointer;
        position: relative;
        top: 2px;
    }
    .submenu-toggle::before {
        content: '';
        width: 8px;
        height: 8px;
        border-right: 1px solid var(--color-white);
        border-bottom: 1px solid var(--color-white);
        transform: rotate(45deg);
        transition: var(--main-transition);
    }
    li.menu-item-has-children.sub-open > .submenu-toggle::before {transform: rotate(-135deg);}
    .mobile-info.hide-desktop, .mobile-info.hide-desktop a {
        color: var(--color-secondary);
        font-size: 1.7rem;
        line-height: 1.3;
    }
    .mobile-info.hide-desktop a {font-size: 1.5rem;}
}


/*===================================================== 

10. Footer

=======================================================*/
footer {background: var(--color-secondary);}
.bottom-line {
    padding: 1.4rem 0;
    background: var(--color-primary);
    display: flex;
    color: var(--color-secondary);
    font-size: 1.4rem;
    font-weight: 500;
    a {
        color: var(--color-secondary);
        transition: var(--main-transition);
    }
    a:hover {color: var(--color-white);}
    ul {margin: 0;}
    ul li {
        display: inline;
        margin-right: .5rem;
    }
    ul li:not(:last-child):after {
        content: "|";
        margin-left: .5rem;
    }
}
footer p {
    font-size: 1.7rem;
    line-height: 2.5rem;
}
.copyright {text-align: right;}
.footer-col1 {
    margin-top: -10rem;
    margin-bottom: 10rem;
    padding: 6rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    color: var(--color-secondary);
    background: var(--color-primary);
    a {
        z-index: 2;
        align-self: flex-start;
    }
    a img {
        max-width: 24rem;
        transition: var(--main-transition);
    }
    a img:hover {opacity: var(--opacity-not-full);}
    p {
        font-size: 1.8rem;
        font-weight: 300;
        line-height: 1.5;
    }
    p a {
        font-weight: 600;
        color: var(--color-white);
        transition: var(--main-transition);
    }
    p a:hover {color: var(--color-secondary);}
}
footer {
    h3 {
        font-size: 2rem;
        font-weight: 600;
        line-height: 2.8rem;
        color: var(--color-primary);
    }
    a {
        color: var(--color-primary);
        transition: var(--main-transition);
    }
    p a:hover {opacity: var(--opacity-not-full);}
}
p.footer-projekti {
    a {
        color: var(--color-primary);
        transition: margin .5s;
        display: flex;
        align-items: center;
    }
    a img {
        width: 2rem;
        height: auto;
        margin-right: 1rem;
    }
    a:hover {
        margin-left: 1rem;
        margin-right: -1rem;
        opacity: var(--opacity-not-full);
    }
}
span.footer-adresa {background: url(/wp-content/uploads/2026/07/map-pin.webp) no-repeat left center;}
a.footer-tel {background: url(/wp-content/uploads/2026/07/phone.webp) no-repeat left center;}
a.footer-mail {background: url(/wp-content/uploads/2026/07/mail.webp) no-repeat left center;}
span.footer-adresa, a.footer-tel, a.footer-mail {
    background-size: 1.6rem;
    padding-left: 2rem;
}
footer .socials {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
footer .social-item {
    a {
        padding: 1rem;
        background: var(--color-white);
        display: block;
    }
    a img {width: 2rem;}
    a:hover {background: var(--color-secondary);}
}
.footer-cta {
    display: flex;
    gap: 3%;
    width: 100%;
    align-items: center;
    justify-content: center;
    h2 {
        font-weight: 700;
        font-size: 3.6rem;
        margin:0;
        line-height: 1.2;
        padding-left: 0;
        border: 0;
    }
} 
a.whatsapp-button {
    position: fixed;
    right: 1.4rem;
    bottom: 1.4rem;
    background: #2DB742;
    padding: 1.2rem;
    border-radius: 100%;
    img {
        height: 3.2rem;
        width: 3.2rem;
    }
}
a.back-to-top {
    position: fixed;
    right: 1.4rem;
    bottom: 8.4rem;
    background: var(--color-other);
    padding: 1.7rem;
    border-radius: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(5rem);
    transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s ease;

    &.active {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    img {
        height: 2.7rem;
        width: 2.7rem;
    }
}
@media (max-width:980px) {
    .footer-col1 {
        margin-bottom: 0;
        text-align: center;
        a {margin: auto;}
    }
    .bottom-line .col {
        width: 100%;
        text-align: center;
    }
    .footer-cta {
        flex-wrap: wrap;
        margin-bottom: 10rem;
        gap: 5rem;
        h2 {text-align: center;}
    }
    footer .socials {
        width: 100%;
        justify-content: center;
    }
}
@media (max-width:767px) {
    .footer-col1 {padding: 3rem;}
    footer h3, footer p {text-align: center;}
    p.footer-projekti a {
        justify-content: center;
        margin-bottom: .8rem;
    }
    .footer-wrapper .col:nth-child(2) {padding-bottom: 0;}
    .footer-wrapper .col:nth-child(3) {padding-top: 0;}
    span.footer-adresa, a.footer-tel, a.footer-mail {
        margin-bottom: .8rem !important;
        display: inline-block;
    }
}


/*===================================================== 

11. Animations

=======================================================*/
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}
[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}
/* Za scale-in efekat */
[data-animate="scale"] {transform: scale(0.8);}
[data-animate="scale"].visible {transform: scale(1);}
/* Za slide-left efekat */
[data-animate="slide-left"] {transform: translateX(-100px);}
[data-animate="slide-left"].visible {transform: translateX(0);}
/* Za slide-right efekat */
[data-animate="slide-right"] {transform: translateX(100px);}
[data-animate="slide-right"].visible {transform: translateX(0);}
/* Za slide-top efekat */
[data-animate="slide-top"] {transform: translateY(100px);}
[data-animate="slide-top"].visible {transform: translateY(0);}
/* Za slide-bottom efekat */
[data-animate="slide-bottom"] {transform: translateY(-100px);}
[data-animate="slide-bottom"].visible {transform: translateY(0);}


/*===================================================== 

12. Popup

=======================================================*/
.popup{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all .4s ease-in-out; 
}
.popup.open-popup{
    opacity: 1;
    visibility: visible;
}
.popup-overlay{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.8);
    cursor: pointer;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.popup-inner{
    max-width: 80rem;
    max-height: 100dvh;
    padding: 3rem;
    width: 100%;
    background-color: var(--color-white);
    color: var(--color-primary);
    overflow-y: auto;
    position: relative;
    z-index: 2;
    h2{
        text-align: center;
        border-left: 0;
        padding-left: 0;
        margin-bottom: 0;
        font-size: 3rem;
        font-weight: 700;
        padding-top: 0;
        padding-bottom: 0;
    }
}
.popup-top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--color-tertiary);
    padding-bottom: 2rem;
}
.close-popup {
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.6rem;
    background-color: var(--color-primary);
    cursor: pointer;
    color: var(--color-secondary);
}
@media only screen and (min-width: 48.0625em) {
    /*769px*/
    .popup-inner{padding: 3rem 4rem;}
}


/*===================================================== 

13. Content Pages

=======================================================*/
.dokumenti {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin: 3rem auto;
}
.dokument {
    a {
        display: flex;
        gap: 1rem;
        align-items: center;
        color: var(--color-other);
        font-size: 2rem;
        font-weight: 600;
        line-height: 1.7;
    }
    a img {
        width: 2.4rem;
        height: 2.4rem;
    }
}
.usluga {
    padding-bottom:1rem;
    border-bottom: 1px dotted var(--color-tertiary);
    width: 100%;
    display: flex;
    gap: 3%;
    align-items: center;
    margin-bottom: 2rem;
    transition: var(--main-transition);
}
.usluga:hover {transform: scaleX(1.1) scaleY(1.1) !important;}
.usluga-info {
    h3 {
        margin: 0;
        padding-bottom: 1rem;
        font-size: 2.2rem;
        line-height: 1;
        font-weight: 500;
        color: var(--color-primary);
    }
    p {
        font-size: 1.2rem;
        line-height: 1.4;
        font-style: italic;
        color: var(--color-primary);
    }
}
.usluga-cijena {
    p {
        text-align: right;
        font-size: 1.6rem;
        line-height: 1;
        color: var(--color-primary);
        font-weight: 600;
    }
}
@media (max-width:767px) {
    .usluga-cijena {
        p {
            text-align: left;
        }
    }
}
.paket {transition: var(--main-transition);}
.paket:hover {
    transform: translateX(0px) translateY(-25px)
}
.paket-title {
    background: var(--color-secondary);
    padding: 2rem;
    text-align: center;
    h3, h2 {
        color: var(--color-primary) !important;
        line-height: 1;
        padding: 0 0 1rem 0;
        text-transform: uppercase;
        border: 0;
        margin:0;
        letter-spacing: .2rem;
    }
    h3 {
        font-size: 1.9rem;
        font-weight: 500;
    }
    h2 {
        font-size: 3.6rem;
        font-weight: 700;
    }
}
.paket-znacajke {
    background: var(--color-white);
    padding: 2rem;
    p {
        color: var(--color-primary);
        font-size: 1.7rem;
        line-height: 1.7;
        margin-bottom: .5rem;
        background: left center no-repeat;
        background-size: 1.7rem;
        padding-left: 2.4rem;
    }
}
.paket-cijena {
    background: var(--color-tertiary);
    padding: 3rem 2rem;
    text-align: center;
    p {
        color: var(--color-white);
        font-size: 1.7rem;
        line-height: 1.4;
        letter-spacing: .1rem;
        text-transform: uppercase;
        font-weight: 700;
        margin-bottom: 0;
    }
    p.cijena-paketa {
        font-size: 5.6rem;
        font-weight: 600;
        line-height: 1;
    }
    a {
        background: var(--color-primary);
        padding: 1.5rem 4rem;
        margin: 3rem auto .5rem auto;
        border: .1rem solid var(--color-primary);
        font-size: 1.65rem;
        font-weight: 500;
        letter-spacing:0.1rem;
        text-transform: uppercase;
    }
    a:hover {
        background: var(--color-white) !important;
        color: var(--color-primary);
        border: .1rem solid var(--color-primary);
        padding: 1.5rem 4rem;
    }
}
.best-value {
    margin-top: -8rem;
    position: relative;
}
.best-value::before {
    content: "";
    position: absolute;
    top: -4rem;
    left: -4rem;
    width: 10rem;
    height: 10rem;
    background: url(/wp-content/uploads/2026/08/best-value-sticker.webp) top left no-repeat;
    background-size: 10rem;
    z-index: 2;
    pointer-events: none;
}
@media (max-width:767px) {
    .paket:not(:last-child) {margin-bottom: 5rem;}
    .best-value {
        margin-top: 0;
    }
}
.image-mask {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11.96 16.63'%3E%3Ctitle%3Emask_image_10%3C/title%3E%3Cg id='Layer_2' data-name='Layer 2'%3E%3Cg id='Layer_1-2' data-name='Layer 1'%3E%3Cpolygon points='4.84 10.31 3.69 8.32 4.84 6.32 7.15 6.32 8.3 8.32 7.15 10.31 4.84 10.31'/%3E%3Cpolygon points='1.15 8.21 0 6.21 1.15 4.21 3.46 4.21 4.61 6.21 3.46 8.21 1.15 8.21'/%3E%3Cpolygon points='4.81 6.1 3.66 4.1 4.81 2.11 7.12 2.11 8.27 4.1 7.12 6.1 4.81 6.1'/%3E%3Cpolygon points='8.5 8.21 7.35 6.21 8.5 4.21 10.8 4.21 11.96 6.21 10.8 8.21 8.5 8.21'/%3E%3Cpolygon points='8.47 3.99 7.32 2 8.47 0 10.78 0 11.93 2 10.78 3.99 8.47 3.99'/%3E%3Cpolygon points='1.15 12.42 0 10.42 1.15 8.43 3.46 8.43 4.61 10.42 3.46 12.42 1.15 12.42'/%3E%3Cpolygon points='8.47 12.42 7.32 10.42 8.47 8.43 10.78 8.43 11.93 10.42 10.78 12.42 8.47 12.42'/%3E%3Cpolygon points='4.78 14.53 3.63 12.53 4.78 10.53 7.09 10.53 8.24 12.53 7.09 14.53 4.78 14.53'/%3E%3Cpolygon points='1.15 16.63 0 14.64 1.15 12.64 3.46 12.64 4.61 14.64 3.46 16.63 1.15 16.63'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11.96 16.63'%3E%3Ctitle%3Emask_image_10%3C/title%3E%3Cg id='Layer_2' data-name='Layer 2'%3E%3Cg id='Layer_1-2' data-name='Layer 1'%3E%3Cpolygon points='4.84 10.31 3.69 8.32 4.84 6.32 7.15 6.32 8.3 8.32 7.15 10.31 4.84 10.31'/%3E%3Cpolygon points='1.15 8.21 0 6.21 1.15 4.21 3.46 4.21 4.61 6.21 3.46 8.21 1.15 8.21'/%3E%3Cpolygon points='4.81 6.1 3.66 4.1 4.81 2.11 7.12 2.11 8.27 4.1 7.12 6.1 4.81 6.1'/%3E%3Cpolygon points='8.5 8.21 7.35 6.21 8.5 4.21 10.8 4.21 11.96 6.21 10.8 8.21 8.5 8.21'/%3E%3Cpolygon points='8.47 3.99 7.32 2 8.47 0 10.78 0 11.93 2 10.78 3.99 8.47 3.99'/%3E%3Cpolygon points='1.15 12.42 0 10.42 1.15 8.43 3.46 8.43 4.61 10.42 3.46 12.42 1.15 12.42'/%3E%3Cpolygon points='8.47 12.42 7.32 10.42 8.47 8.43 10.78 8.43 11.93 10.42 10.78 12.42 8.47 12.42'/%3E%3Cpolygon points='4.78 14.53 3.63 12.53 4.78 10.53 7.09 10.53 8.24 12.53 7.09 14.53 4.78 14.53'/%3E%3Cpolygon points='1.15 16.63 0 14.64 1.15 12.64 3.46 12.64 4.61 14.64 3.46 16.63 1.15 16.63'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 100%;
  mask-size: 100%;
}
.col.zasto {
    display: flex;
    gap: 1.5rem;
    h2 {margin-top: 0;}
}
.zasto-image-inner {
    background: var(--color-tertiary);
    padding: 1.2rem;
    width: 5rem;
}
.zasto-objasnjenje {
    h4 {
        color: var(--color-white);
        font-size: 2.4rem;
        font-weight: 700;
        line-height: 1.8;
        margin-top: 0;
    }
    p {
        font-size: 1.7rem;
        font-weight: 500;
        color: var(--color-secondary);
        text-wrap: pretty;
        line-height: 1.5;
    }
}
@media (max-width:767px) {
    .col.zasto {
        margin-bottom: 3rem;
        align-items: center;
    }
}

.partners-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}
.partner {
  flex: 0 0 calc(50% - 2rem);
  box-sizing: border-box;
}
.partner img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--main-transition);
}
.partner:hover img {
  transform: scale(1.05);
}
@media (max-width:767px) {
    .partners-wrap {margin-top: 2rem;}
    .partner {flex: 0 0 calc(50% - 1.5rem);}
}

section.usluga-sec .row {align-items: center;}
section.space.bg-img.usluga-sec {color: var(--color-white);}
@media (max-width:767px) {
    section.usluga-sec .row .col img {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
}