/**
 * Dropdown styles for language selector and other dropdown menus
 * Controls the appearance and behavior of dropdown elements
 */

/* Dropdown styles (shared between language and solutions) */
.language-dropdown,
.solutions-dropdown {
    position: relative;
    cursor: pointer;
}

.language-menu,
.solutions-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: rgba(0, 21, 36, 0.9);
    min-width: 180px;
    border-radius: 5px;
    padding: 8px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 100;
}

.language-dropdown:hover .language-menu,
.language-menu.active,
.solutions-dropdown:hover .solutions-menu,
.solutions-menu.active {
    display: block;
}

.language-menu li,
.solutions-menu li {
    margin: 0 !important;
    padding: 0;
}

.language-menu li a,
.solutions-menu li a {
    display: block;
    padding: 8px 15px;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.language-menu li a:hover,
.solutions-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Add arrow indicator for dropdown */
.lang-selector:after,
.solutions-selector:after {
    content: "▼";
    display: inline-block;
    font-size: 0.7em;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.language-dropdown:hover .lang-selector:after,
.solutions-dropdown:hover .solutions-selector:after {
    transform: rotate(180deg);
}
