/*============================================================================================*/
/* Your custom styles below */
/*============================================================================================*/





.custom-logo{
    margin: 5px 10px;
    img{
        width: 70px;
        height: 80px;
        transform-origin: center center;
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }
}

.custom-logo-mobile{
    width: 70px;
    height: 80px;
}



.fixed_header{
    background-color:#004D40;
    /* #00796B
    #004D40
    */
    transition: padding 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}


.fixed_header.sticky{
    background-color:#004D40 !important;
    border-bottom: none !important;
    li{
        a{
            color: #fff !important;
        }
    }
}

header.fixed_header.sticky nav ul li a.animated_link::before {
    background-color: #fff !important;
}

/* Stop the instant logo_normal → logo_sticky display swap so the transform can animate */
header.fixed_header.sticky .logo_normal {
    display: block !important;
}
header.fixed_header.sticky .logo_sticky {
    display: none !important;
}

header.fixed_header.sticky {
    padding: 8px 0 !important;
}

header.fixed_header.sticky .custom-logo img {
    transform: scale(0.8);
}

.logo_panel{
    background-color: #004D40;
}

header.fixed_header.sticky .hamburger__inner::before, header.fixed_header.sticky .hamburger__inner::after{
    background-color: #fff !important;
}

header.fixed_header.sticky .hamburger__inner{
    background-color: #fff !important;
}

#carousel-home .owl-carousel .owl-slide{
    height: auto !important;       /* auto da raste sa sadržajem */
    min-height: 900px !important;
}

.custom-heading{

    letter-spacing: 1.7px;
}

.custom-news-title{
    color: #004D40 !important;
    letter-spacing: 0.8px;
}

.custom-slide-title{
    color:#FFFACD !important;
}
.custom-h2{
    color: #FFDAB9 !important;
    letter-spacing: 1.7px;
}

.custom-btn{
    border-color: #FFDAB9 !important;
    color: #FFDAB9 !important;
}

.custom-sa-btn{
    color: #004D40 !important;
    border-color: #004D40 !important;
}
.custom-sa-btn:hover{
    background-color: #004D40 !important;
    color: #fff !important;
}

.custom-btn:hover{
    background-color: #FFDAB9 !important;
    color: #000 !important;
}

.read-more{
    color: #CD7F32;
}
a.box_contents em::before{
    background-color: #CD7F32;
}

a.box_contents:hover em::before {
    background-color: #CD7F32; /* ili koja god boja hoćeš */
}

a.box_contents figure em{
    background-color: #CD7F32;
}

#dokumenta,
.sidebar-documents details {
    scroll-margin-top: 100px;
}

/* Okvir sidebar-a */
.sidebar-documents {
    background: #faf8f5;
    padding: 20px;
    border-radius: 10px;

}

/* Naslov sidebar-a */
.sidebar-documents h3 {

    margin-bottom: 20px;
}

/* Summary - naslovi kategorija */
.sidebar-documents summary {
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    margin-bottom: 16px;
    outline: none;
    list-style: none;
    position: relative;
    padding-right: 20px;
}

/* Uklanja default marker u browserima */
.sidebar-documents summary::-webkit-details-marker {
    display: none;
}

/* Strelica na desnoj strani */
.sidebar-documents summary::after {
    content: "▸"; /* strelica */
    position: absolute;
    right: 0;
    transition: transform 0.3s ease;
    font-size: 18px;
}

/* Rotacija strelice kada je otvoreno */
.sidebar-documents details.is-open summary::after {
    transform: rotate(90deg);
}

/* Lista fajlova ispod naslova */
.sidebar-documents ul {
    list-style: none;
    padding-left: 15px;
    margin: 5px 0 15px 0;
}

/* doc-category skrivena po defaultu, JS je animira */
.sidebar-documents .doc-category {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease;
}

.sidebar-documents .doc-category.open {
    max-height: 600px;
    opacity: 1;
}

/* Lista stavki */
.sidebar-documents li {
    margin-bottom: 6px;
}

/* Linkovi */
.sidebar-documents a {
    color: #333;
    text-decoration: none;
}

/* Hover efekat na link */
.sidebar-documents a:hover {
    text-decoration: underline;
}

footer .footer_links ul li a.animated_link::before {
    display: none;
}

footer{
    background-color: #004D40 !important;
}
footer .gradient_over{
    background: linear-gradient(to bottom, transparent, #004D40) !important;
}

main{
    background: #D9EBE4 !important;
}

.about-container{
    background: #D9EBE4 !important;

}


.about-desc{
    font-size: 17px;
    line-height: 23px;
}

@media (min-width: 1200px) {
    .about-container {
        max-width: 1280px;
    }
    .mission-container{
        max-width: 1280px;
    }
}

@media (min-width: 1400px) {
    .about-container {
        max-width: 1620px;
    }
    .mission-container{
        max-width: 1620px;
    }
}


.mv-sekcija {
    padding: 80px 0;
    background: #ffffff;
}

.mv-blok {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}

.mv-tekst,
.mv-slike {
    flex: 1;
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.8s ease;
}

.mv-oznaka {
    display: inline-block;
    background: #CD7F32;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 6px 16px;
    margin-bottom: 16px;
    border-radius: 10px;
}

.mv-tekst h2 {
    font-size: 2rem;
    color: #004D40;
    font-weight: 700;
    margin-bottom: 12px;
}

.mv-tekst .linija {
    width: 50px;
    height: 3px;
    background: #CD7F32;
    margin-bottom: 16px;
}

.mv-tekst p {
    color: #555;
    line-height: 23px;
    font-size: 18px;
}

/* Slike: jedna velika gore, dve male ispod */
.mv-slike .velika {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    margin-bottom: 10px;
    border-radius: 15px;
}

.mv-slike .male {
    display: flex;
    gap: 10px;
    border-radius: 15px;
}

.mv-slike .male img {
    width: 50%;
    height: 180px;
    object-fit: cover;
    border-radius: 15px;
}

/* Mobilni */
@media (max-width: 768px) {
    .mv-blok {
        flex-direction: column !important;
    }
}

@media (max-width: 992px){
    .main-menu #mainNav ul li a:hover{
        color: #004D40 !important;
    }
}