:root {
 --black: #1a1a1a;
 --dark-gray: #333;
 --medium-gray: #666;
 --light-gray: #e5e5e5;
 --lighter-gray: #f5f5f5;
 --white: #fff;
}
        
 * {
 margin: 0;
 padding: 0;
  box-sizing: border-box;
}

.poiret-one-regular {
    font-family: "Poiret One", serif;
    font-weight: 400;
    font-style: normal;
  }


.montserrat-uniquifier {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  
}
html,
body {
    height: 100%;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

h2{
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    text-wrap: balance;
    
}

h1,h3,h4,h5, .display-1, .display-2, .display-3 {
    text-wrap: balance;
}
.display-1 {
    font-size: 2.5rem;
}
.display-5 {
    font-size: 1.8rem;
    text-wrap: balance;
}
.display-3 {
    font-size: 2rem;
}
.logoNaslovna {
    width: 400px;
}
#prvabg {
height: 80vh;
}
.navbar-brand-img{
height: 120px;

}


.zastavice{
    width: 30px;
    height: 20px;
}

.container{
    max-width: 1320px;
}

.logo {
    width: 130px ;
    
}
.logoM {
    width: 40px;
}
.logoFooter{
    width: 100px;
}

.footer-bg{
    background: #d13e27;
    color: white;
}
.footer-bg:hover{
    background: #d27955;
    color: white;
}
.border-card-black{
    border: 1.8px solid black !important;
}
.btn-outline-dark {
    --bs-btn-color:  black;
    --bs-btn-border-color:  black;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg:  black;
    --bs-btn-hover-border-color:  black;
    --bs-btn-focus-shadow-rgb: 27, 42, 78;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg:  black;
    --bs-btn-active-border-color:  black;
    --bs-btn-active-shadow: 0 0;
    --bs-btn-disabled-color:  black;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color:  black;
    --bs-gradient: none;
}
.btn-sm {
    --bs-btn-padding-y: 0.5625rem;
    --bs-btn-padding-x: 1rem;
    --bs-btn-font-size: 0.7rem;
    --bs-btn-border-radius: 0.375rem;
}

.title-underline {
    display: flex; /* use flexbox for alignment */
    justify-content: space-between; /* space between title and line */
    align-items: center; /* center vertically */
    position: relative;
    padding-bottom: .2rem; /* space for the line */
}
.title-underline::after {
    content: "";
    flex-grow: 1; /* take remaining space */
    height: 1px;
    background: #000; /* line color */
    margin-left: 1rem; /* space between title and line */
}

        .mega-menu {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            z-index: 1000;
            background-color: white;
        }
        .mega-menu.show { display: block; }
        
        .menu-trigger { cursor: pointer; }
        .menu-trigger.open .bi-chevron-down { transform: rotate(180deg); }
        .menu-trigger .bi-chevron-down { transition: transform 0.3s ease; }
        
        .mega-menu-overlay {
            display: none;
            position: fixed;
            top: 97.36px;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 998;
            backdrop-filter: blur(2px);
        }
        .mega-menu-overlay.show { display: block; }
        
        .menu-item {
            cursor: pointer;
            transition: all 0.15s ease;
            background-color: white !important;
        }
        .menu-item:hover {
            padding-left: 1.25rem !important;
        }
        .menu-item.active {
            font-weight: 600;
        }
        
        /* Chevron rotacija */
        .menu-item .chevron { transition: transform 0.2s ease; }
        .menu-item.open .chevron { transform: rotate(90deg); }
       /* ========== DESKTOP ========== */
        @media (min-width: 992px) {
            .mega-menu {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            z-index: 1000;
        }
            .mega-menu-content { min-height: 420px; }
            .menu-col { display: none; }
            .menu-col.active { display: block; }
            .menu-item.active { border-left: 3px solid var(--bs-dark) !important; }

            /* Sakrij mobile submenu */
            .mobile-submenu { display: none !important; }

            /* Vertikalni layout za wide kolone (col-lg-9) bez 3. kolone */
            .menu-col.col-lg-9.active:not(:has(~ .menu-col.active)) .row,
            .menu-col.col-lg-9.desktop-col .row {
                flex-direction: column;
            }

            .menu-col.col-lg-9.active:not(:has(~ .menu-col.active)) .row > [class*="col-"],
            .menu-col.col-lg-9.desktop-col .row > [class*="col-"] {
                width: 100% !important;
                max-width: 100% !important;
                flex: 0 0 100% !important;
            }
        }
        
        /* ========== MOBILE ========== */
        @media (max-width: 991.98px) {
 .display-3 {
        font-size: 1.25rem;
    }

          .mega-menu {
            display: none;
            position: absolute;
            top: 130%;
            left: 0;
            right: 0;
            z-index: 1000;
        }

            .mega-menu-content {
                max-height: 75vh;
                overflow-y: auto;
            }
            
            /* Sakrij desktop kolone */
            .desktop-col { display: none !important; }
            
            /* Mobile submenu - default hidden */
            .mobile-submenu {
                display: none;
                background: var(--bs-light);
            }
            .mobile-submenu.open { display: block; }
            
            /* Indentacija nivoa */
            .mobile-submenu > .menu-item,
            .mobile-submenu > .menu-group > .menu-item {
                padding-left: 2rem !important;
            }
            .mobile-submenu .mobile-submenu > .menu-item,
            .mobile-submenu .mobile-submenu > .menu-group > .menu-item {
                padding-left: 3rem !important;
            }
            .mobile-submenu .mobile-submenu .mobile-submenu > .menu-item {
                padding-left: 4rem !important;
            }
 
        }

@media (min-width: 768px)  {

.logoM{
    width: 40px;
}

 .btn-sm {
    --bs-btn-padding-y: 0.5625rem;
    --bs-btn-padding-x: 1rem;
    --bs-btn-font-size: 1.0625rem;
    --bs-btn-border-radius: 0.375rem;
}

}

