/* Mobile Overlay */
.bpt-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.bpt-mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Container */
.bpt-mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: #090F1B;
    z-index: 1000;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
}

.bpt-mobile-menu.active {
    left: 0;
}

/* Mobile Menu Header */
.bpt-mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #d6b24e;
}

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

.bpt-mobile-menu-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

/* Mobile Menu Content */
.bpt-mobile-menu-content {
    padding: 20px 0;
}

.bpt-mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bpt-mobile-nav-menu>li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bpt-mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    text-decoration: none;
    padding: 18px 20px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.bpt-mobile-nav-link:hover {
    background: rgba(214, 178, 78, 0.1);
    color: #d6b24e;
    padding-left: 30px;
}

/* Mobile Mega Menu */
.bpt-mobile-mega-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.bpt-mobile-mega-menu.active {
    max-height: 500px;
    overflow-y: auto;
}

/* Mobile Mega Menu Items */
.bpt-mobile-mega-menu-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.bpt-mobile-mega-menu-item.has-children .bpt-mobile-mega-menu-link-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 40px;
}

.bpt-mobile-mega-menu-item:not(.has-children) {
    padding: 12px 40px;
}

.bpt-mobile-mega-menu-link {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    display: block;
    flex: 1;
}

.bpt-mobile-mega-menu-link:hover {
    color: #d6b24e;
}

/* Submenu Toggle Button */
.bpt-mobile-submenu-toggle {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    padding: 8px;
    margin-left: 10px;
    transition: all 0.3s ease;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
}

.bpt-mobile-submenu-toggle:hover {
    background: rgba(214, 178, 78, 0.2);
    color: #d6b24e;
}

.bpt-mobile-submenu-toggle i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.bpt-mobile-submenu-toggle.active i {
    transform: rotate(180deg);
}

/* Submenu Items Container */
.bpt-mobile-mega-menu-subitems {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.bpt-mobile-mega-menu-subitems.active {
    max-height: 300px;
    padding: 8px 0;
    overflow-y: auto;
}

.bpt-mobile-mega-menu-subitem {
    padding: 8px 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.bpt-mobile-mega-menu-subitem:last-child {
    border-bottom: none;
}

.bpt-mobile-mega-menu-sublink {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    display: block;
    padding: 4px 0;
}

.bpt-mobile-mega-menu-sublink:hover {
    color: #d6b24e;
}

/* Toggle Icon */
.bpt-mobile-menu-toggle-icon {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.bpt-mobile-menu-toggle-icon.rotated {
    transform: rotate(180deg);
}

/* Mobile Actions */
.bpt-mobile-actions {
    padding: 20px;
    border-top: 1px solid #d6b24e;
    margin-top: 20px;
}

.bpt-mobile-lang-switcher {
    margin-bottom: 20px;
}

.bpt-mobile-lang-button {
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: 1px solid #d6b24e;
    color: white;
    padding: 12px 16px;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bpt-mobile-cta {
    display: block;
    text-align: center;
    background: transparent;
    border: 2px solid #d6b24e;
    color: #d6b24e;
    padding: 12px 20px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.bpt-mobile-cta:hover {
    background: #d6b24e;
    color: white;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .bpt-hamburger-menu {
        display: block;
    }

    .bpt-main-nav {
        display: none;
    }

    .bpt-lang.bpt-cta {
        display: none;
    }
}

@media (min-width: 769px) {

    .bpt-mobile-menu,
    .bpt-mobile-overlay {
        display: none !important;
    }
}