header{
    background-color: rgb(156, 150, 150);
    text-align: center;
    display: flex;
    justify-content: space-around;
    min-height: 150px;
    height: auto;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px 0;
}
.head-l{
    display: flex;
    justify-content: end;
    align-items: center;
}
header span{
    font-family: "Cooper Black", "CooperBlack", "Arial Rounded MT Bold", serif;
    font-weight: bold;
    color: red;
    text-shadow: 2px 2px rgb(8, 3, 3);
    letter-spacing: 2px;
    font-size: xx-large;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.meni{
    display: flex;
    flex-wrap: wrap;
    gap: 0.2em;
    justify-content: center;
    padding: 0;
    margin: 0;
}
header li a{
    padding: 10px 14px;
}
header li a:hover{
    background-color: red;
}
header ul li a{
    text-decoration: none;
    color: white;
}
header ul li {
    list-style-type: none;
    padding: 6px 4px;
}
.gumb_o_nas{
    text-decoration: none;
    color: white;
}
button:hover{
    background-color: rgb(235, 87, 87) !important;
}

/* Dropdown meni */
.dropdown {
    position: relative;
}
.dropdown_meni {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgb(120, 115, 115);
    z-index: 1000;
    min-width: 120px;
    padding: 0;
    margin: 0;
}
.dropdown_meni li {
    padding: 0 !important;
}
.dropdown_meni li a {
    display: block;
    padding: 10px 14px !important;
    white-space: nowrap;
}
.dropdown:hover .dropdown_meni {
    display: block;
}

/* Hamburger gumb */
.hamburger {
    display: none;
    font-size: 2em;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 10px 16px;
    margin-left: auto;
}
.hamburger:hover {
    background-color: red !important;
}

/* === MOBILNI PRIKAZ === */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
        min-height: unset;
        padding: 10px;
    }

    .head-l {
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }

    .hamburger {
        display: block;
    }

    .meni {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        background-color: rgb(120, 115, 115);
    }

    .meni.odprto {
        display: flex;
    }

    header ul li {
        padding: 0;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        width: 100%;
    }

    header li a {
        display: block;
        padding: 12px 16px;
        width: 100%;
        box-sizing: border-box;
    }

    .dropdown_meni {
        position: static;
        display: none;
        background-color: rgb(100, 95, 95);
        width: 100%;
    }

    .dropdown.odprto .dropdown_meni {
        display: block;
    }

    /* Na mobilnem klikni za dropdown namesto hover */
    .dropdown:hover .dropdown_meni {
        display: none;
    }

    header span {
        font-size: large;
    }
}
