/* ============================================
   BROKERNAV - NAVBAR CSS
   VERSIUNE 3.0 - Butoane mutate în pagini
   Data: 11.12.2025
   
   Include în toate paginile: <link rel="stylesheet" href="navbar.css">
   ============================================ */

/* NAVBAR PRINCIPAL */
#navbar-custom {
    background-color: #4CAF50;
    margin: 0;
    padding: 0;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    height: 51px;
    min-width: 1400px;
    overflow: visible;
}

#navbar-custom ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    padding-right: 200px;
    text-align: center;
    white-space: nowrap;
    font-size: 0;
    position: relative;
    height: 51px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#navbar-custom li {
    display: inline-block;
    margin: 0;
    padding: 0;
    font-size: 18px;
    height: 51px;
}

#navbar-custom li a {
    display: flex;
    align-items: center;
    color: #FFFFFF;
    font-size: 18px;
    font-family: "Calibri", Arial, sans-serif;
    font-weight: bold;
    padding: 0 16px;
    text-decoration: none;
    height: 51px;
    border: none;
    margin: 0;
    box-sizing: border-box;
}

#navbar-custom li a:hover,
#navbar-custom li.active a {
    background-color: #F2EBEB;
    color: #000000;
}

/* ============================================
   LANGUAGE SELECTOR - POZIȚIE FIXĂ DREAPTA
   ============================================ */
#navbar-custom li:last-child {
    position: absolute;
    right: 50px;
    top: 0;
    height: 51px;
    display: flex;
    align-items: center;
}

/* LANGUAGE DROPDOWN */
.lang-dropdown {
    position: relative;
    height: 51px;
    display: flex;
    align-items: center;
}

.lang-dropdown .lang-current {
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 22px;
    cursor: pointer;
    padding: 0 16px;
    height: 51px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-dropdown .lang-current:hover {
    background-color: #F2EBEB;
}

.lang-dropdown .lang-options {
    display: none;
    position: absolute;
    top: 51px;
    right: 0;
    background: #FFFFFF;
    border: 1px solid #ddd;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 10000;
    min-width: 160px;
}

.lang-dropdown:hover .lang-options,
.lang-dropdown.open .lang-options {
    display: block;
}

.lang-dropdown .lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: background 0.2s;
}

.lang-dropdown .lang-option:hover {
    background: #e8f5e9;
}

.lang-dropdown .lang-option.active {
    background: #e8f5e9;
    color: #006400;
    font-weight: bold;
}

/* ============================================
   RESPONSIVE - pentru ecrane mai mici
   ============================================ */
@media (max-width: 1400px) {
    #navbar-custom {
        min-width: 100%;
    }
    
    #navbar-custom ul {
        padding-right: 180px;
    }
    
    #navbar-custom li a {
        padding: 0 12px;
        font-size: 16px;
    }
    
    #navbar-custom li:last-child {
        right: 20px;
    }
}

@media (max-width: 992px) {
    #navbar-custom li a {
        padding: 0 10px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    #navbar-custom {
        height: auto;
        min-height: 51px;
    }
    
    #navbar-custom ul {
        flex-wrap: wrap;
        padding-right: 80px;
        height: auto;
    }
    
    #navbar-custom li {
        height: auto;
    }
    
    #navbar-custom li a {
        padding: 10px 12px;
        height: auto;
    }
}
