* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f9f9f9;
      width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.top-bar {
    background: linear-gradient(90deg, #ffffff, #f3f3f3);
    border-bottom: 2px solid #f58220;
    padding: 12px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
}

.logo {
    height: 65px;
    margin-right: 12px;
}

.title h1 {
    font-size: 20px;
    color: #222;
    font-weight: 600;
}

.title p {
    font-size: 13px;
    color: #f58220;
    letter-spacing: 1px;
}

.right-section {
    display: flex;
    align-items: center;
}

.search {
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
    transition: 0.3s;
}

.search:focus {
    border-color: #f58220;
    box-shadow: 0 0 5px rgba(245,130,32,0.4);
}

.lang-switch {
    margin: 0 12px;
    font-size: 14px;
}

.lang-switch a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.lang-switch a:hover {
    color: #f58220;
}

.social a {
    margin-left: 8px;
    text-decoration: none;
    background: #f58220;
    color: white;
    padding: 7px 10px;
    border-radius: 50%;
    transition: 0.3s;
}

.social a:hover {
    background: #d96d10;
}

.navbar {
    background: #1e1e2f;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.submenu {
    z-index: 2000;
}
.menu {
    list-style: none;
    display: flex;
    justify-content: center;
}

.menu li {
    position: relative;
}

.menu li a {
    display: block;
    padding: 16px 22px;
    color: white;
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s;
}

.menu li a:hover {
    background: #f58220;
}

.submenu {
    list-style: none;
    display: none;
    position: absolute;
    background: white;
    min-width: 220px;
    top: 100%;
    left: 0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.submenu li a {
    color: #333;
    padding: 12px 15px;
}

.submenu li a:hover {
    background: #f58220;
    color: white;
}

.dropdown:hover .submenu {
    display: block;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    color: white;
    padding: 15px;
    cursor: pointer;
}

@media (max-width: 768px) {
/* TOP BAR RASPored */
    .top-bar .container {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 10px 14px;
    }

    /* LOGO LIJEVO */
    .logo-section {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .logo {
        width: 42px;
        height: 42px;
        object-fit: contain;
    }

    .top-bar .container {
        flex-direction: column;
        align-items: flex-start;
    }

     .right-section {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        width: auto;
        margin-top: 0;
        gap: 8px;
    }

    .menu-toggle {
        display: block;
    }

    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #1e1e2f;
    }

    .menu.active {
        display: flex;
    }

    .menu li {
        width: 100%;
    }

    .menu li a {
        padding: 14px;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .submenu {
        position: static;
        display: none;
        background: #2a2a40;
    }

    .submenu li a {
        color: white;
        padding-left: 30px;
    }

    .submenu.active {
        display: block;
    }

    .dropdown:hover .submenu {
        display: none;
    }

    .dropdown.active .submenu {
        display: block;
    }
     .lang-switch {
        display: flex !important;
        gap: 5px;
        font-size: 12px;
        font-weight: 900;
        background: #fff7ed;
        padding: 6px 10px;
        border-radius: 999px;
        border: 1px solid #fed7aa;
    }
    .lang-switch a {
        text-decoration: none;
        color: #c2410c;
    }
     .navbar {
        width: 100%;
        background: #1e1e2f;
    }
     .menu-toggle {
        display: block;
        padding: 12px 16px;
        font-size: 26px;
        color: white;
        cursor: pointer;
    }

}

@media (max-width: 768px) {

    
   
    .search,
    .social,
    .login-btn {
        display: none !important;
    }

   
    .title {
            display: none; 
        }

    
   
}