/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
    z-index: 1001;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: var(--bg-primary);
    z-index: 1000;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
}

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

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, #004C54, #8b0000);
}

.mobile-menu-header span {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
}

.mobile-menu-search {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-search form {
    display: flex;
    gap: 0.5rem;
}

.mobile-menu-search input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.mobile-menu-search button {
    padding: 0.5rem 1rem;
    background: #004C54;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.mobile-menu-auth {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-auth a {
    flex: 1;
    text-align: center;
    padding: 0.75rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
}

.mobile-menu-auth .login-btn {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.mobile-menu-auth .signup-btn {
    background: linear-gradient(135deg, #004C54, #8b0000);
    color: #ffffff;
}

.mobile-nav-items {
    padding: 0.5rem 0;
}

.mobile-nav-item {
    display: block;
    padding: 0.875rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s;
}

.mobile-nav-item:hover {
    background: var(--bg-secondary);
}

.mobile-nav-dropdown {
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-dropdown-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 1rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: background 0.2s;
}

.mobile-nav-dropdown-trigger:hover {
    background: var(--bg-secondary);
}

.mobile-nav-dropdown-trigger .arrow {
    transition: transform 0.3s ease;
}

.mobile-nav-dropdown.open .mobile-nav-dropdown-trigger .arrow {
    transform: rotate(180deg);
}

.mobile-nav-dropdown-menu {
    display: none;
    background: var(--bg-secondary);
}

.mobile-nav-dropdown.open .mobile-nav-dropdown-menu {
    display: block;
}

.mobile-nav-dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem 0.75rem 2rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-top: 1px solid var(--border-color);
    transition: background 0.2s, color 0.2s;
}

.mobile-nav-dropdown-menu a:hover {
    background: var(--bg-primary);
    color: var(--text-primary);
}

/* Show mobile menu button on small screens */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
}
