/* ============================================
   MOBILE MENU - SIMPLE & CLEAN
   ============================================ */

/* Hamburger Button */
.hamburger-btn {
    display: none;
    position: relative;
    z-index: 1006;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.hamburger-btn .hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: #333333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1004;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.mobile-overlay.active {
    display: block !important;
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: #ffffff;
    z-index: 1005;
    display: flex;
    flex-direction: column;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    overflow-x: hidden;
}

.mobile-sidebar.active {
    left: 0 !important;
    display: flex !important;
}

/* Mobile Sidebar Header */
.mobile-sidebar-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #e5e5e5;
}

.mobile-close-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333333;
    transition: all 0.2s ease;
}

.mobile-close-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

/* Mobile Sidebar Content */
.mobile-sidebar-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

/* Mobile Search */
.mobile-search {
    padding: 16px;
    border-bottom: 1px solid #e5e5e5;
}

.mobile-search-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-search-input {
    flex: 1;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 14px;
    outline: none;
}

.mobile-search-input:focus {
    border-color: #1A73E8;
}

.mobile-search-submit {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #666666;
    transition: color 0.2s ease;
}

.mobile-search-submit:hover {
    color: #1A73E8;
}

/* Mobile Nav Menu */
.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    padding: 0;
}

.mobile-nav-link {
    display: block;
    padding: 14px 20px;
    color: #333333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
    background: transparent;
    position: relative;
}

.mobile-nav-link:hover {
    background: #f8f9fa;
    color: #1A73E8;
    padding-left: 24px;
}

.mobile-nav-link:active {
    background: #f0f7ff;
    color: #1A73E8;
}

/* Mobile Nav Dropdown */
.mobile-nav-dropdown {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-link-with-dropdown {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-dropdown-arrow {
    font-size: 10px;
    color: #999;
    transition: transform 0.3s ease;
}

.mobile-nav-link.active .mobile-dropdown-arrow {
    transform: rotate(180deg);
    color: #1A73E8;
}

.mobile-nav-dropdown-menu {
    display: none;
    flex-direction: column;
    background: #fafbfc;
    padding: 0;
    border-top: 1px solid #f0f0f0;
}

.mobile-nav-dropdown-menu.active {
    display: flex;
}

.mobile-nav-dropdown-item {
    display: block;
    padding: 12px 20px 12px 36px;
    color: #666666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f5f5f5;
    position: relative;
}

.mobile-nav-dropdown-item::before {
    content: '•';
    position: absolute;
    left: 24px;
    color: #1A73E8;
    font-size: 12px;
}

.mobile-nav-dropdown-item:hover {
    background: #f0f7ff;
    color: #1A73E8;
    padding-left: 40px;
}

.mobile-nav-dropdown-item:hover::before {
    opacity: 1;
}

.mobile-nav-dropdown-item:active {
    background: #e8f2ff;
    color: #1A73E8;
}

/* Mobile Sidebar Footer */
.mobile-sidebar-footer {
    padding: 16px;
    border-top: 1px solid #e5e5e5;
    margin-top: auto;
}

.mobile-menu-languages {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.mobile-lang-link {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    color: #666;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.mobile-lang-link.active {
    background: #1A73E8;
    color: #ffffff;
    border-color: #1A73E8;
}

.mobile-menu-actions {
    display: flex;
    gap: 8px;
}

.mobile-subscribe-btn,
.mobile-login-btn {
    flex: 1;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.mobile-subscribe-btn {
    background: #1A73E8;
    color: #ffffff;
}

.mobile-subscribe-btn:hover {
    background: #1557B0;
}

.mobile-login-btn {
    background: transparent;
    color: #1A73E8;
    border: 1px solid #1A73E8;
}

.mobile-login-btn:hover {
    background: #f0f7ff;
}

/* Mobile Only */
@media (max-width: 768px) {
    .hamburger-btn {
        display: flex !important;
    }
}

/* Desktop: Hide Mobile Menu */
@media (min-width: 769px) {
    .hamburger-btn,
    .mobile-sidebar,
    .mobile-overlay {
        display: none !important;
    }
}

