/* Language Switcher - Desktop & Mobile */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 1px;
      padding: 0px 11px 0px 95px;
      color: #47342D;
    text-align: center;
 font-family: "Open Sans", Sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.language-switcher a {
    text-decoration: none;
      color: #47342D;
    font-weight: 400;
    transition: color 0.3s ease;
}

.language-switcher a:hover {
 color: #47342D;
}

.language-switcher a.current-lang {
    font-weight: 700;
color: #47342D;
}

.language-switcher .lang-separator {
    color: #999;
    font-weight: 300;
}

/* Desktop Menu Styles */
.desktop-menu-container {
    display: flex;
    align-items: center;
    gap: 21px;
}

.menu-item-wrapper {
    position: relative;
}

.menu-item-wrapper > a {
text-decoration: none;
    display: block;
    padding: 5px;
    color: #4D6472;
        text-transform: uppercase;
        font-family: "Open Sans", Sans-serif;
    transition: color 0.3s ease;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.menu-item-wrapper > a:hover {
    color: #B8332E;
}

.menu-item-wrapper.has-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    min-width: 200px;
    z-index: 1000;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: #f5f5f5;
}

/* Mobile Menu Styles */
.mobile-menu {
    display: none;
}

/* Mobil fejléc vezérlők konténer */
.mobile-menu-header-controls {
    display: none;
    align-items: center;
    gap: 20px;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu-content {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100%;
    background: #F2EEEB;
    z-index: 9999;
    overflow-y: auto;
    transition: right 0.3s ease;
    padding: 20px;
}

.mobile-menu-overlay.active .mobile-menu-content {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.mobile-menu-logo {
    display: flex;
    align-items: center;
}

.mobile-menu-logo .mobile-logo {
    max-height: 40px;
    width: auto;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 36px;
    cursor: pointer;
    color: #333;
    line-height: 1;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-menu-item {
    border-bottom: 1px solid #eee;
}

.mobile-menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-item-header > a {
    flex: 1;
    padding: 7px 0;
    text-decoration: none;
    color: #47342D;
    font-size: 16px;
    font-weight: 600;
    font-family: "Open Sans", Sans-serif;
}

.mobile-submenu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.mobile-menu-item.submenu-open .mobile-submenu-toggle {
    transform: rotate(180deg);
}

.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 20px;
}

.mobile-menu-item.submenu-open .mobile-submenu {
    max-height: 1000px;
}

.mobile-submenu a {
    display: block;
    padding: 12px 0;
    text-decoration: none;
    color: #666;
    font-size: 14px;
}

.mobile-submenu a:hover {
    color: #0073aa;
}

/* Mobile Language Switcher kívül a menüből */
.mobile-menu-header-controls .language-switcher {
    padding: 0;
}

/* Responsive Breakpoint */
@media (max-width: 768px) {
    .desktop-menu {
        display: none;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .mobile-menu-header-controls {
        display: flex;
    }
}
