.app-bar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    background-color: #ec8000;
    margin: 0;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    gap: 1rem;
}

.app-bar-logo {
    height: 70px;
}

.app-bar-link {
    font-size: 1rem;
    font-weight: 700;
    color: #111;
    text-decoration: none;
    transition: color 0.2s;
}

.app-bar-link i {
    font-size: 1.25rem;
}

.app-bar-nav {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.app-bar-link:hover {
    color: #fff;
}

.search-form {
    display: none;
    background-color: white;
    border-radius: 150px;
    overflow: hidden;
    flex: 1;
    min-width: 280px;
    max-width: 600px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.search-input {
    flex: 1;
    padding: 0.25rem 1rem;
    border: none;
    font-size: 1rem;
    outline: none;
}

.search-button {
    background-color: white;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.search-button:hover {
    background-color: #f5f5f5;
}

.search-button i {
    font-size: 1.2rem;
    color: #000;
}



@media (max-width: 720px) {
    .app-bar-nav {
        display: grid;
        gap: 5px 1rem;
        margin: 1rem auto;
        justify-items: center;
        grid-template-columns: repeat(3, 1fr);
        flex: 1;
    }

    .app-bar {
        justify-content: start;
    }
}

@media (max-width: 490px) {
    .app-bar-nav {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
}

@media (max-width: 365px) {
    .app-bar {
        flex-direction: column;
        gap: 0;
    }
}

.app-bar-nav .lang-select {
    background-color: transparent;
    color: #111;
    border: 1px solid #111;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    outline: none;
    min-width: max-content;
}

.app-bar-nav .lang-select option {
    background-color: #fff;
    color: #111;
}

/* Button styling */
.dropbtn {
    border: none;
    background: none;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 5px;
}

.dropdown-content a:hover {
    color: #b9b9b9;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    flex-direction: column;
    display: flex;
    gap: 1rem;
    padding: 1rem
}

@media (max-width: 768px) {
    .app-bar {
        position: static; 
    }
}